mocks

package
v0.1.0-M4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2023 License: Apache-2.0, EPL-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBaseClient

type MockBaseClient struct {
	// contains filtered or unexported fields
}

MockBaseClient is a mock of BaseClient interface.

func NewMockBaseClient

func NewMockBaseClient(ctrl *gomock.Controller) *MockBaseClient

NewMockBaseClient creates a new mock instance.

func (*MockBaseClient) Domain

func (m *MockBaseClient) Domain() string

Domain mocks base method.

func (*MockBaseClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockBaseClient) Stop

func (m *MockBaseClient) Stop() error

Stop mocks base method.

type MockBaseClientMockRecorder

type MockBaseClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockBaseClientMockRecorder is the mock recorder for MockBaseClient.

func (*MockBaseClientMockRecorder) Domain

func (mr *MockBaseClientMockRecorder) Domain() *gomock.Call

Domain indicates an expected call of Domain.

func (*MockBaseClientMockRecorder) Stop

Stop indicates an expected call of Stop.

type MockClient

type MockClient struct {
	// contains filtered or unexported fields
}

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) Connect

func (m *MockClient) Connect() error

Connect mocks base method.

func (*MockClient) Disconnect

func (m *MockClient) Disconnect()

Disconnect mocks base method.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockClient) Reply

func (m *MockClient) Reply(requestID string, message *protocol.Envelope) error

Reply mocks base method.

func (*MockClient) Send

func (m *MockClient) Send(message *protocol.Envelope) error

Send mocks base method.

func (*MockClient) Subscribe

func (m *MockClient) Subscribe(handlers ...ditto.Handler)

Subscribe mocks base method.

func (*MockClient) Unsubscribe

func (m *MockClient) Unsubscribe(handlers ...ditto.Handler)

Unsubscribe mocks base method.

type MockClientMockRecorder

type MockClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) Connect

func (mr *MockClientMockRecorder) Connect() *gomock.Call

Connect indicates an expected call of Connect.

func (*MockClientMockRecorder) Disconnect

func (mr *MockClientMockRecorder) Disconnect() *gomock.Call

Disconnect indicates an expected call of Disconnect.

func (*MockClientMockRecorder) Reply

func (mr *MockClientMockRecorder) Reply(requestID, message interface{}) *gomock.Call

Reply indicates an expected call of Reply.

func (*MockClientMockRecorder) Send

func (mr *MockClientMockRecorder) Send(message interface{}) *gomock.Call

Send indicates an expected call of Send.

func (*MockClientMockRecorder) Subscribe

func (mr *MockClientMockRecorder) Subscribe(handlers ...interface{}) *gomock.Call

Subscribe indicates an expected call of Subscribe.

func (*MockClientMockRecorder) Unsubscribe

func (mr *MockClientMockRecorder) Unsubscribe(handlers ...interface{}) *gomock.Call

Unsubscribe indicates an expected call of Unsubscribe.

type MockCurrentStateHandler

type MockCurrentStateHandler struct {
	// contains filtered or unexported fields
}

MockCurrentStateHandler is a mock of CurrentStateHandler interface.

func NewMockCurrentStateHandler

func NewMockCurrentStateHandler(ctrl *gomock.Controller) *MockCurrentStateHandler

NewMockCurrentStateHandler creates a new mock instance.

func (*MockCurrentStateHandler) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockCurrentStateHandler) HandleCurrentStateEvent

func (m *MockCurrentStateHandler) HandleCurrentStateEvent(domain, activityID string, currentState *types.Inventory)

HandleCurrentStateEvent mocks base method.

type MockCurrentStateHandlerMockRecorder

type MockCurrentStateHandlerMockRecorder struct {
	// contains filtered or unexported fields
}

MockCurrentStateHandlerMockRecorder is the mock recorder for MockCurrentStateHandler.

func (*MockCurrentStateHandlerMockRecorder) HandleCurrentStateEvent

func (mr *MockCurrentStateHandlerMockRecorder) HandleCurrentStateEvent(domain, activityID, currentState interface{}) *gomock.Call

HandleCurrentStateEvent indicates an expected call of HandleCurrentStateEvent.

type MockDesiredStateClient

type MockDesiredStateClient struct {
	// contains filtered or unexported fields
}

MockDesiredStateClient is a mock of DesiredStateClient interface.

func NewMockDesiredStateClient

func NewMockDesiredStateClient(ctrl *gomock.Controller) *MockDesiredStateClient

NewMockDesiredStateClient creates a new mock instance.

func (*MockDesiredStateClient) Domain

func (m *MockDesiredStateClient) Domain() string

Domain mocks base method.

func (*MockDesiredStateClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockDesiredStateClient) SendCurrentStateGet

func (m *MockDesiredStateClient) SendCurrentStateGet(arg0 string) error

SendCurrentStateGet mocks base method.

func (*MockDesiredStateClient) SendDesiredState

func (m *MockDesiredStateClient) SendDesiredState(arg0 string, arg1 *types.DesiredState) error

SendDesiredState mocks base method.

func (*MockDesiredStateClient) SendDesiredStateCommand

func (m *MockDesiredStateClient) SendDesiredStateCommand(arg0 string, arg1 *types.DesiredStateCommand) error

SendDesiredStateCommand mocks base method.

func (*MockDesiredStateClient) Start

Start mocks base method.

func (*MockDesiredStateClient) Stop

func (m *MockDesiredStateClient) Stop() error

Stop mocks base method.

type MockDesiredStateClientMockRecorder

type MockDesiredStateClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockDesiredStateClientMockRecorder is the mock recorder for MockDesiredStateClient.

func (*MockDesiredStateClientMockRecorder) Domain

Domain indicates an expected call of Domain.

func (*MockDesiredStateClientMockRecorder) SendCurrentStateGet

func (mr *MockDesiredStateClientMockRecorder) SendCurrentStateGet(arg0 interface{}) *gomock.Call

SendCurrentStateGet indicates an expected call of SendCurrentStateGet.

func (*MockDesiredStateClientMockRecorder) SendDesiredState

func (mr *MockDesiredStateClientMockRecorder) SendDesiredState(arg0, arg1 interface{}) *gomock.Call

SendDesiredState indicates an expected call of SendDesiredState.

func (*MockDesiredStateClientMockRecorder) SendDesiredStateCommand

func (mr *MockDesiredStateClientMockRecorder) SendDesiredStateCommand(arg0, arg1 interface{}) *gomock.Call

SendDesiredStateCommand indicates an expected call of SendDesiredStateCommand.

func (*MockDesiredStateClientMockRecorder) Start

func (mr *MockDesiredStateClientMockRecorder) Start(arg0 interface{}) *gomock.Call

Start indicates an expected call of Start.

func (*MockDesiredStateClientMockRecorder) Stop

Stop indicates an expected call of Stop.

type MockDesiredStateFeedbackHandler

type MockDesiredStateFeedbackHandler struct {
	// contains filtered or unexported fields
}

MockDesiredStateFeedbackHandler is a mock of DesiredStateFeedbackHandler interface.

func NewMockDesiredStateFeedbackHandler

func NewMockDesiredStateFeedbackHandler(ctrl *gomock.Controller) *MockDesiredStateFeedbackHandler

NewMockDesiredStateFeedbackHandler creates a new mock instance.

func (*MockDesiredStateFeedbackHandler) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockDesiredStateFeedbackHandler) HandleDesiredStateFeedbackEvent

func (m *MockDesiredStateFeedbackHandler) HandleDesiredStateFeedbackEvent(domain, activityID, baseline string, status types.StatusType, message string, actions []*types.Action)

HandleDesiredStateFeedbackEvent mocks base method.

type MockDesiredStateFeedbackHandlerMockRecorder

type MockDesiredStateFeedbackHandlerMockRecorder struct {
	// contains filtered or unexported fields
}

MockDesiredStateFeedbackHandlerMockRecorder is the mock recorder for MockDesiredStateFeedbackHandler.

func (*MockDesiredStateFeedbackHandlerMockRecorder) HandleDesiredStateFeedbackEvent

func (mr *MockDesiredStateFeedbackHandlerMockRecorder) HandleDesiredStateFeedbackEvent(domain, activityID, baseline, status, message, actions interface{}) *gomock.Call

HandleDesiredStateFeedbackEvent indicates an expected call of HandleDesiredStateFeedbackEvent.

type MockRebootManager

type MockRebootManager struct {
	// contains filtered or unexported fields
}

MockRebootManager is a mock of RebootManager interface.

func NewMockRebootManager

func NewMockRebootManager(ctrl *gomock.Controller) *MockRebootManager

NewMockRebootManager creates a new mock instance.

func (*MockRebootManager) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRebootManager) Reboot

func (m *MockRebootManager) Reboot(arg0 time.Duration) error

Reboot mocks base method.

type MockRebootManagerMockRecorder

type MockRebootManagerMockRecorder struct {
	// contains filtered or unexported fields
}

MockRebootManagerMockRecorder is the mock recorder for MockRebootManager.

func (*MockRebootManagerMockRecorder) Reboot

func (mr *MockRebootManagerMockRecorder) Reboot(arg0 interface{}) *gomock.Call

Reboot indicates an expected call of Reboot.

type MockStateHandler

type MockStateHandler struct {
	// contains filtered or unexported fields
}

MockStateHandler is a mock of StateHandler interface.

func NewMockStateHandler

func NewMockStateHandler(ctrl *gomock.Controller) *MockStateHandler

NewMockStateHandler creates a new mock instance.

func (*MockStateHandler) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockStateHandler) HandleCurrentState

func (m *MockStateHandler) HandleCurrentState(arg0 string, arg1 int64, arg2 *types.Inventory) error

HandleCurrentState mocks base method.

func (*MockStateHandler) HandleDesiredStateFeedback

func (m *MockStateHandler) HandleDesiredStateFeedback(arg0 string, arg1 int64, arg2 *types.DesiredStateFeedback) error

HandleDesiredStateFeedback mocks base method.

type MockStateHandlerMockRecorder

type MockStateHandlerMockRecorder struct {
	// contains filtered or unexported fields
}

MockStateHandlerMockRecorder is the mock recorder for MockStateHandler.

func (*MockStateHandlerMockRecorder) HandleCurrentState

func (mr *MockStateHandlerMockRecorder) HandleCurrentState(arg0, arg1, arg2 interface{}) *gomock.Call

HandleCurrentState indicates an expected call of HandleCurrentState.

func (*MockStateHandlerMockRecorder) HandleDesiredStateFeedback

func (mr *MockStateHandlerMockRecorder) HandleDesiredStateFeedback(arg0, arg1, arg2 interface{}) *gomock.Call

HandleDesiredStateFeedback indicates an expected call of HandleDesiredStateFeedback.

type MockUpdateAgent

type MockUpdateAgent struct {
	// contains filtered or unexported fields
}

MockUpdateAgent is a mock of UpdateAgent interface.

func NewMockUpdateAgent

func NewMockUpdateAgent(ctrl *gomock.Controller) *MockUpdateAgent

NewMockUpdateAgent creates a new mock instance.

func (*MockUpdateAgent) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockUpdateAgent) Start

func (m *MockUpdateAgent) Start(arg0 context.Context) error

Start mocks base method.

func (*MockUpdateAgent) Stop

func (m *MockUpdateAgent) Stop() error

Stop mocks base method.

type MockUpdateAgentClient

type MockUpdateAgentClient struct {
	// contains filtered or unexported fields
}

MockUpdateAgentClient is a mock of UpdateAgentClient interface.

func NewMockUpdateAgentClient

func NewMockUpdateAgentClient(ctrl *gomock.Controller) *MockUpdateAgentClient

NewMockUpdateAgentClient creates a new mock instance.

func (*MockUpdateAgentClient) Domain

func (m *MockUpdateAgentClient) Domain() string

Domain mocks base method.

func (*MockUpdateAgentClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockUpdateAgentClient) SendCurrentState

func (m *MockUpdateAgentClient) SendCurrentState(arg0 string, arg1 *types.Inventory) error

SendCurrentState mocks base method.

func (*MockUpdateAgentClient) SendDesiredStateFeedback

func (m *MockUpdateAgentClient) SendDesiredStateFeedback(arg0 string, arg1 *types.DesiredStateFeedback) error

SendDesiredStateFeedback mocks base method.

func (*MockUpdateAgentClient) Start

Start mocks base method.

func (*MockUpdateAgentClient) Stop

func (m *MockUpdateAgentClient) Stop() error

Stop mocks base method.

type MockUpdateAgentClientMockRecorder

type MockUpdateAgentClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockUpdateAgentClientMockRecorder is the mock recorder for MockUpdateAgentClient.

func (*MockUpdateAgentClientMockRecorder) Domain

Domain indicates an expected call of Domain.

func (*MockUpdateAgentClientMockRecorder) SendCurrentState

func (mr *MockUpdateAgentClientMockRecorder) SendCurrentState(arg0, arg1 interface{}) *gomock.Call

SendCurrentState indicates an expected call of SendCurrentState.

func (*MockUpdateAgentClientMockRecorder) SendDesiredStateFeedback

func (mr *MockUpdateAgentClientMockRecorder) SendDesiredStateFeedback(arg0, arg1 interface{}) *gomock.Call

SendDesiredStateFeedback indicates an expected call of SendDesiredStateFeedback.

func (*MockUpdateAgentClientMockRecorder) Start

func (mr *MockUpdateAgentClientMockRecorder) Start(arg0 interface{}) *gomock.Call

Start indicates an expected call of Start.

func (*MockUpdateAgentClientMockRecorder) Stop

Stop indicates an expected call of Stop.

type MockUpdateAgentHandler

type MockUpdateAgentHandler struct {
	// contains filtered or unexported fields
}

MockUpdateAgentHandler is a mock of UpdateAgentHandler interface.

func NewMockUpdateAgentHandler

func NewMockUpdateAgentHandler(ctrl *gomock.Controller) *MockUpdateAgentHandler

NewMockUpdateAgentHandler creates a new mock instance.

func (*MockUpdateAgentHandler) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockUpdateAgentHandler) HandleCurrentStateGet

func (m *MockUpdateAgentHandler) HandleCurrentStateGet(arg0 string, arg1 int64) error

HandleCurrentStateGet mocks base method.

func (*MockUpdateAgentHandler) HandleDesiredState

func (m *MockUpdateAgentHandler) HandleDesiredState(arg0 string, arg1 int64, arg2 *types.DesiredState) error

HandleDesiredState mocks base method.

func (*MockUpdateAgentHandler) HandleDesiredStateCommand

func (m *MockUpdateAgentHandler) HandleDesiredStateCommand(arg0 string, arg1 int64, arg2 *types.DesiredStateCommand) error

HandleDesiredStateCommand mocks base method.

type MockUpdateAgentHandlerMockRecorder

type MockUpdateAgentHandlerMockRecorder struct {
	// contains filtered or unexported fields
}

MockUpdateAgentHandlerMockRecorder is the mock recorder for MockUpdateAgentHandler.

func (*MockUpdateAgentHandlerMockRecorder) HandleCurrentStateGet

func (mr *MockUpdateAgentHandlerMockRecorder) HandleCurrentStateGet(arg0, arg1 interface{}) *gomock.Call

HandleCurrentStateGet indicates an expected call of HandleCurrentStateGet.

func (*MockUpdateAgentHandlerMockRecorder) HandleDesiredState

func (mr *MockUpdateAgentHandlerMockRecorder) HandleDesiredState(arg0, arg1, arg2 interface{}) *gomock.Call

HandleDesiredState indicates an expected call of HandleDesiredState.

func (*MockUpdateAgentHandlerMockRecorder) HandleDesiredStateCommand

func (mr *MockUpdateAgentHandlerMockRecorder) HandleDesiredStateCommand(arg0, arg1, arg2 interface{}) *gomock.Call

HandleDesiredStateCommand indicates an expected call of HandleDesiredStateCommand.

type MockUpdateAgentMockRecorder

type MockUpdateAgentMockRecorder struct {
	// contains filtered or unexported fields
}

MockUpdateAgentMockRecorder is the mock recorder for MockUpdateAgent.

func (*MockUpdateAgentMockRecorder) Start

func (mr *MockUpdateAgentMockRecorder) Start(arg0 interface{}) *gomock.Call

Start indicates an expected call of Start.

func (*MockUpdateAgentMockRecorder) Stop

Stop indicates an expected call of Stop.

type MockUpdateManager

type MockUpdateManager struct {
	// contains filtered or unexported fields
}

MockUpdateManager is a mock of UpdateManager interface.

func NewMockUpdateManager

func NewMockUpdateManager(ctrl *gomock.Controller) *MockUpdateManager

NewMockUpdateManager creates a new mock instance.

func (*MockUpdateManager) Apply

func (m *MockUpdateManager) Apply(ctx context.Context, activityID string, desiredState *types.DesiredState)

Apply mocks base method.

func (*MockUpdateManager) Command

func (m *MockUpdateManager) Command(ctx context.Context, activityID string, command *types.DesiredStateCommand)

Command mocks base method.

func (*MockUpdateManager) Dispose

func (m *MockUpdateManager) Dispose() error

Dispose mocks base method.

func (*MockUpdateManager) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockUpdateManager) Get

func (m *MockUpdateManager) Get(ctx context.Context, activityID string) (*types.Inventory, error)

Get mocks base method.

func (*MockUpdateManager) Name

func (m *MockUpdateManager) Name() string

Name mocks base method.

func (*MockUpdateManager) SetCallback

func (m *MockUpdateManager) SetCallback(callback api.UpdateManagerCallback)

SetCallback mocks base method.

func (*MockUpdateManager) WatchEvents

func (m *MockUpdateManager) WatchEvents(ctx context.Context)

WatchEvents mocks base method.

type MockUpdateManagerCallback

type MockUpdateManagerCallback struct {
	// contains filtered or unexported fields
}

MockUpdateManagerCallback is a mock of UpdateManagerCallback interface.

func NewMockUpdateManagerCallback

func NewMockUpdateManagerCallback(ctrl *gomock.Controller) *MockUpdateManagerCallback

NewMockUpdateManagerCallback creates a new mock instance.

func (*MockUpdateManagerCallback) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockUpdateManagerCallback) HandleCurrentStateEvent

func (m *MockUpdateManagerCallback) HandleCurrentStateEvent(domain, activityID string, currentState *types.Inventory)

HandleCurrentStateEvent mocks base method.

func (*MockUpdateManagerCallback) HandleDesiredStateFeedbackEvent

func (m *MockUpdateManagerCallback) HandleDesiredStateFeedbackEvent(domain, activityID, baseline string, status types.StatusType, message string, actions []*types.Action)

HandleDesiredStateFeedbackEvent mocks base method.

type MockUpdateManagerCallbackMockRecorder

type MockUpdateManagerCallbackMockRecorder struct {
	// contains filtered or unexported fields
}

MockUpdateManagerCallbackMockRecorder is the mock recorder for MockUpdateManagerCallback.

func (*MockUpdateManagerCallbackMockRecorder) HandleCurrentStateEvent

func (mr *MockUpdateManagerCallbackMockRecorder) HandleCurrentStateEvent(domain, activityID, currentState interface{}) *gomock.Call

HandleCurrentStateEvent indicates an expected call of HandleCurrentStateEvent.

func (*MockUpdateManagerCallbackMockRecorder) HandleDesiredStateFeedbackEvent

func (mr *MockUpdateManagerCallbackMockRecorder) HandleDesiredStateFeedbackEvent(domain, activityID, baseline, status, message, actions interface{}) *gomock.Call

HandleDesiredStateFeedbackEvent indicates an expected call of HandleDesiredStateFeedbackEvent.

type MockUpdateManagerFeature

type MockUpdateManagerFeature struct {
	// contains filtered or unexported fields
}

MockUpdateManagerFeature is a mock of UpdateManagerFeature interface.

func NewMockUpdateManagerFeature

func NewMockUpdateManagerFeature(ctrl *gomock.Controller) *MockUpdateManagerFeature

NewMockUpdateManagerFeature creates a new mock instance.

func (*MockUpdateManagerFeature) Activate

func (m *MockUpdateManagerFeature) Activate() error

Activate mocks base method.

func (*MockUpdateManagerFeature) Deactivate

func (m *MockUpdateManagerFeature) Deactivate()

Deactivate mocks base method.

func (*MockUpdateManagerFeature) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockUpdateManagerFeature) SendFeedback

func (m *MockUpdateManagerFeature) SendFeedback(activityID string, desiredStateFeedback *types.DesiredStateFeedback) error

SendFeedback mocks base method.

func (*MockUpdateManagerFeature) SetState

func (m *MockUpdateManagerFeature) SetState(activityID string, currentState *types.Inventory) error

SetState mocks base method.

type MockUpdateManagerFeatureMockRecorder

type MockUpdateManagerFeatureMockRecorder struct {
	// contains filtered or unexported fields
}

MockUpdateManagerFeatureMockRecorder is the mock recorder for MockUpdateManagerFeature.

func (*MockUpdateManagerFeatureMockRecorder) Activate

Activate indicates an expected call of Activate.

func (*MockUpdateManagerFeatureMockRecorder) Deactivate

Deactivate indicates an expected call of Deactivate.

func (*MockUpdateManagerFeatureMockRecorder) SendFeedback

func (mr *MockUpdateManagerFeatureMockRecorder) SendFeedback(activityID, desiredStateFeedback interface{}) *gomock.Call

SendFeedback indicates an expected call of SendFeedback.

func (*MockUpdateManagerFeatureMockRecorder) SetState

func (mr *MockUpdateManagerFeatureMockRecorder) SetState(activityID, currentState interface{}) *gomock.Call

SetState indicates an expected call of SetState.

type MockUpdateManagerMockRecorder

type MockUpdateManagerMockRecorder struct {
	// contains filtered or unexported fields
}

MockUpdateManagerMockRecorder is the mock recorder for MockUpdateManager.

func (*MockUpdateManagerMockRecorder) Apply

func (mr *MockUpdateManagerMockRecorder) Apply(ctx, activityID, desiredState interface{}) *gomock.Call

Apply indicates an expected call of Apply.

func (*MockUpdateManagerMockRecorder) Command

func (mr *MockUpdateManagerMockRecorder) Command(ctx, activityID, command interface{}) *gomock.Call

Command indicates an expected call of Command.

func (*MockUpdateManagerMockRecorder) Dispose

func (mr *MockUpdateManagerMockRecorder) Dispose() *gomock.Call

Dispose indicates an expected call of Dispose.

func (*MockUpdateManagerMockRecorder) Get

func (mr *MockUpdateManagerMockRecorder) Get(ctx, activityID interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockUpdateManagerMockRecorder) Name

Name indicates an expected call of Name.

func (*MockUpdateManagerMockRecorder) SetCallback

func (mr *MockUpdateManagerMockRecorder) SetCallback(callback interface{}) *gomock.Call

SetCallback indicates an expected call of SetCallback.

func (*MockUpdateManagerMockRecorder) WatchEvents

func (mr *MockUpdateManagerMockRecorder) WatchEvents(ctx interface{}) *gomock.Call

WatchEvents indicates an expected call of WatchEvents.

type MockUpdateOrchestrator

type MockUpdateOrchestrator struct {
	// contains filtered or unexported fields
}

MockUpdateOrchestrator is a mock of UpdateOrchestrator interface.

func NewMockUpdateOrchestrator

func NewMockUpdateOrchestrator(ctrl *gomock.Controller) *MockUpdateOrchestrator

NewMockUpdateOrchestrator creates a new mock instance.

func (*MockUpdateOrchestrator) Apply

Apply mocks base method.

func (*MockUpdateOrchestrator) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockUpdateOrchestrator) HandleDesiredStateFeedbackEvent

func (m *MockUpdateOrchestrator) HandleDesiredStateFeedbackEvent(domain, activityID, baseline string, status types.StatusType, message string, actions []*types.Action)

HandleDesiredStateFeedbackEvent mocks base method.

type MockUpdateOrchestratorMockRecorder

type MockUpdateOrchestratorMockRecorder struct {
	// contains filtered or unexported fields
}

MockUpdateOrchestratorMockRecorder is the mock recorder for MockUpdateOrchestrator.

func (*MockUpdateOrchestratorMockRecorder) Apply

func (mr *MockUpdateOrchestratorMockRecorder) Apply(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

Apply indicates an expected call of Apply.

func (*MockUpdateOrchestratorMockRecorder) HandleDesiredStateFeedbackEvent

func (mr *MockUpdateOrchestratorMockRecorder) HandleDesiredStateFeedbackEvent(domain, activityID, baseline, status, message, actions interface{}) *gomock.Call

HandleDesiredStateFeedbackEvent indicates an expected call of HandleDesiredStateFeedbackEvent.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL