Documentation
¶
Overview ¶
Package mock_cmd_agent is a generated GoMock package.
Package mock_cmd_agent contains mocks for interfaces in internal/cmd/agent.
Index ¶
- type MockConfigurationWatcher
- type MockConfigurationWatcherMockRecorder
- type MockConfigurationWatcherWatchCall
- func (c *MockConfigurationWatcherWatchCall[CD]) Do(f func(context.Context, func(context.Context, CD))) *MockConfigurationWatcherWatchCall[CD]
- func (c *MockConfigurationWatcherWatchCall[CD]) DoAndReturn(f func(context.Context, func(context.Context, CD))) *MockConfigurationWatcherWatchCall[CD]
- func (c *MockConfigurationWatcherWatchCall[CD]) Return() *MockConfigurationWatcherWatchCall[CD]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockConfigurationWatcher ¶
type MockConfigurationWatcher[CD any] struct { // contains filtered or unexported fields }
MockConfigurationWatcher is a mock of ConfigurationWatcher interface.
func NewMockConfigurationWatcher ¶
func NewMockConfigurationWatcher[CD any](ctrl *gomock.Controller) *MockConfigurationWatcher[CD]
NewMockConfigurationWatcher creates a new mock instance.
func (*MockConfigurationWatcher[CD]) EXPECT ¶
func (m *MockConfigurationWatcher[CD]) EXPECT() *MockConfigurationWatcherMockRecorder[CD]
EXPECT returns an object that allows the caller to indicate expected use.
type MockConfigurationWatcherMockRecorder ¶
type MockConfigurationWatcherMockRecorder[CD any] struct { // contains filtered or unexported fields }
MockConfigurationWatcherMockRecorder is the mock recorder for MockConfigurationWatcher.
func (*MockConfigurationWatcherMockRecorder[CD]) Watch ¶
func (mr *MockConfigurationWatcherMockRecorder[CD]) Watch(arg0, arg1 any) *MockConfigurationWatcherWatchCall[CD]
Watch indicates an expected call of Watch.
type MockConfigurationWatcherWatchCall ¶
MockConfigurationWatcherWatchCall wrap *gomock.Call
func (*MockConfigurationWatcherWatchCall[CD]) Do ¶
func (c *MockConfigurationWatcherWatchCall[CD]) Do(f func(context.Context, func(context.Context, CD))) *MockConfigurationWatcherWatchCall[CD]
Do rewrite *gomock.Call.Do
func (*MockConfigurationWatcherWatchCall[CD]) DoAndReturn ¶
func (c *MockConfigurationWatcherWatchCall[CD]) DoAndReturn(f func(context.Context, func(context.Context, CD))) *MockConfigurationWatcherWatchCall[CD]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConfigurationWatcherWatchCall[CD]) Return ¶
func (c *MockConfigurationWatcherWatchCall[CD]) Return() *MockConfigurationWatcherWatchCall[CD]
Return rewrite *gomock.Call.Return
Click to show internal directories.
Click to hide internal directories.