Documentation ¶
Overview ¶
Package mock_session is a generated GoMock package.
Index ¶
- type MockCredentialsMetadataSetter
- func (m *MockCredentialsMetadataSetter) EXPECT() *MockCredentialsMetadataSetterMockRecorder
- func (m *MockCredentialsMetadataSetter) SetExecRoleCredentialsMetadata(arg0 *ecsacs.IAMRoleCredentialsMessage) error
- func (m *MockCredentialsMetadataSetter) SetTaskRoleCredentialsMetadata(arg0 *ecsacs.IAMRoleCredentialsMessage) error
- type MockCredentialsMetadataSetterMockRecorder
- type MockENIHandler
- type MockENIHandlerMockRecorder
- type MockManifestMessageIDAccessor
- type MockManifestMessageIDAccessorMockRecorder
- type MockPayloadMessageHandler
- type MockPayloadMessageHandlerMockRecorder
- type MockResourceHandler
- type MockResourceHandlerMockRecorder
- type MockSequenceNumberAccessor
- type MockSequenceNumberAccessorMockRecorder
- type MockTaskComparer
- type MockTaskComparerMockRecorder
- type MockTaskStopper
- type MockTaskStopperMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCredentialsMetadataSetter ¶
type MockCredentialsMetadataSetter struct {
// contains filtered or unexported fields
}
MockCredentialsMetadataSetter is a mock of CredentialsMetadataSetter interface.
func NewMockCredentialsMetadataSetter ¶
func NewMockCredentialsMetadataSetter(ctrl *gomock.Controller) *MockCredentialsMetadataSetter
NewMockCredentialsMetadataSetter creates a new mock instance.
func (*MockCredentialsMetadataSetter) EXPECT ¶
func (m *MockCredentialsMetadataSetter) EXPECT() *MockCredentialsMetadataSetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCredentialsMetadataSetter) SetExecRoleCredentialsMetadata ¶
func (m *MockCredentialsMetadataSetter) SetExecRoleCredentialsMetadata(arg0 *ecsacs.IAMRoleCredentialsMessage) error
SetExecRoleCredentialsMetadata mocks base method.
func (*MockCredentialsMetadataSetter) SetTaskRoleCredentialsMetadata ¶
func (m *MockCredentialsMetadataSetter) SetTaskRoleCredentialsMetadata(arg0 *ecsacs.IAMRoleCredentialsMessage) error
SetTaskRoleCredentialsMetadata mocks base method.
type MockCredentialsMetadataSetterMockRecorder ¶
type MockCredentialsMetadataSetterMockRecorder struct {
// contains filtered or unexported fields
}
MockCredentialsMetadataSetterMockRecorder is the mock recorder for MockCredentialsMetadataSetter.
func (*MockCredentialsMetadataSetterMockRecorder) SetExecRoleCredentialsMetadata ¶
func (mr *MockCredentialsMetadataSetterMockRecorder) SetExecRoleCredentialsMetadata(arg0 interface{}) *gomock.Call
SetExecRoleCredentialsMetadata indicates an expected call of SetExecRoleCredentialsMetadata.
func (*MockCredentialsMetadataSetterMockRecorder) SetTaskRoleCredentialsMetadata ¶
func (mr *MockCredentialsMetadataSetterMockRecorder) SetTaskRoleCredentialsMetadata(arg0 interface{}) *gomock.Call
SetTaskRoleCredentialsMetadata indicates an expected call of SetTaskRoleCredentialsMetadata.
type MockENIHandler ¶
type MockENIHandler struct {
// contains filtered or unexported fields
}
MockENIHandler is a mock of ENIHandler interface.
func NewMockENIHandler ¶
func NewMockENIHandler(ctrl *gomock.Controller) *MockENIHandler
NewMockENIHandler creates a new mock instance.
func (*MockENIHandler) EXPECT ¶
func (m *MockENIHandler) EXPECT() *MockENIHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockENIHandler) HandleENIAttachment ¶
func (m *MockENIHandler) HandleENIAttachment(arg0 *networkinterface.ENIAttachment) error
HandleENIAttachment mocks base method.
type MockENIHandlerMockRecorder ¶
type MockENIHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockENIHandlerMockRecorder is the mock recorder for MockENIHandler.
func (*MockENIHandlerMockRecorder) HandleENIAttachment ¶
func (mr *MockENIHandlerMockRecorder) HandleENIAttachment(arg0 interface{}) *gomock.Call
HandleENIAttachment indicates an expected call of HandleENIAttachment.
type MockManifestMessageIDAccessor ¶
type MockManifestMessageIDAccessor struct {
// contains filtered or unexported fields
}
MockManifestMessageIDAccessor is a mock of ManifestMessageIDAccessor interface.
func NewMockManifestMessageIDAccessor ¶
func NewMockManifestMessageIDAccessor(ctrl *gomock.Controller) *MockManifestMessageIDAccessor
NewMockManifestMessageIDAccessor creates a new mock instance.
func (*MockManifestMessageIDAccessor) EXPECT ¶
func (m *MockManifestMessageIDAccessor) EXPECT() *MockManifestMessageIDAccessorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockManifestMessageIDAccessor) GetMessageID ¶
func (m *MockManifestMessageIDAccessor) GetMessageID() string
GetMessageID mocks base method.
func (*MockManifestMessageIDAccessor) SetMessageID ¶
func (m *MockManifestMessageIDAccessor) SetMessageID(arg0 string) error
SetMessageID mocks base method.
type MockManifestMessageIDAccessorMockRecorder ¶
type MockManifestMessageIDAccessorMockRecorder struct {
// contains filtered or unexported fields
}
MockManifestMessageIDAccessorMockRecorder is the mock recorder for MockManifestMessageIDAccessor.
func (*MockManifestMessageIDAccessorMockRecorder) GetMessageID ¶
func (mr *MockManifestMessageIDAccessorMockRecorder) GetMessageID() *gomock.Call
GetMessageID indicates an expected call of GetMessageID.
func (*MockManifestMessageIDAccessorMockRecorder) SetMessageID ¶
func (mr *MockManifestMessageIDAccessorMockRecorder) SetMessageID(arg0 interface{}) *gomock.Call
SetMessageID indicates an expected call of SetMessageID.
type MockPayloadMessageHandler ¶
type MockPayloadMessageHandler struct {
// contains filtered or unexported fields
}
MockPayloadMessageHandler is a mock of PayloadMessageHandler interface.
func NewMockPayloadMessageHandler ¶
func NewMockPayloadMessageHandler(ctrl *gomock.Controller) *MockPayloadMessageHandler
NewMockPayloadMessageHandler creates a new mock instance.
func (*MockPayloadMessageHandler) EXPECT ¶
func (m *MockPayloadMessageHandler) EXPECT() *MockPayloadMessageHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPayloadMessageHandler) ProcessMessage ¶
func (m *MockPayloadMessageHandler) ProcessMessage(arg0 *ecsacs.PayloadMessage, arg1 func(*ecsacs.AckRequest, []*ecsacs.IAMRoleCredentialsAckRequest)) error
ProcessMessage mocks base method.
type MockPayloadMessageHandlerMockRecorder ¶
type MockPayloadMessageHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockPayloadMessageHandlerMockRecorder is the mock recorder for MockPayloadMessageHandler.
func (*MockPayloadMessageHandlerMockRecorder) ProcessMessage ¶
func (mr *MockPayloadMessageHandlerMockRecorder) ProcessMessage(arg0, arg1 interface{}) *gomock.Call
ProcessMessage indicates an expected call of ProcessMessage.
type MockResourceHandler ¶
type MockResourceHandler struct {
// contains filtered or unexported fields
}
MockResourceHandler is a mock of ResourceHandler interface.
func NewMockResourceHandler ¶
func NewMockResourceHandler(ctrl *gomock.Controller) *MockResourceHandler
NewMockResourceHandler creates a new mock instance.
func (*MockResourceHandler) EXPECT ¶
func (m *MockResourceHandler) EXPECT() *MockResourceHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockResourceHandler) HandleResourceAttachment ¶
func (m *MockResourceHandler) HandleResourceAttachment(arg0 *resource.ResourceAttachment)
HandleResourceAttachment mocks base method.
type MockResourceHandlerMockRecorder ¶
type MockResourceHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockResourceHandlerMockRecorder is the mock recorder for MockResourceHandler.
func (*MockResourceHandlerMockRecorder) HandleResourceAttachment ¶
func (mr *MockResourceHandlerMockRecorder) HandleResourceAttachment(arg0 interface{}) *gomock.Call
HandleResourceAttachment indicates an expected call of HandleResourceAttachment.
type MockSequenceNumberAccessor ¶
type MockSequenceNumberAccessor struct {
// contains filtered or unexported fields
}
MockSequenceNumberAccessor is a mock of SequenceNumberAccessor interface.
func NewMockSequenceNumberAccessor ¶
func NewMockSequenceNumberAccessor(ctrl *gomock.Controller) *MockSequenceNumberAccessor
NewMockSequenceNumberAccessor creates a new mock instance.
func (*MockSequenceNumberAccessor) EXPECT ¶
func (m *MockSequenceNumberAccessor) EXPECT() *MockSequenceNumberAccessorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSequenceNumberAccessor) GetLatestSequenceNumber ¶
func (m *MockSequenceNumberAccessor) GetLatestSequenceNumber() int64
GetLatestSequenceNumber mocks base method.
func (*MockSequenceNumberAccessor) SetLatestSequenceNumber ¶
func (m *MockSequenceNumberAccessor) SetLatestSequenceNumber(arg0 int64) error
SetLatestSequenceNumber mocks base method.
type MockSequenceNumberAccessorMockRecorder ¶
type MockSequenceNumberAccessorMockRecorder struct {
// contains filtered or unexported fields
}
MockSequenceNumberAccessorMockRecorder is the mock recorder for MockSequenceNumberAccessor.
func (*MockSequenceNumberAccessorMockRecorder) GetLatestSequenceNumber ¶
func (mr *MockSequenceNumberAccessorMockRecorder) GetLatestSequenceNumber() *gomock.Call
GetLatestSequenceNumber indicates an expected call of GetLatestSequenceNumber.
func (*MockSequenceNumberAccessorMockRecorder) SetLatestSequenceNumber ¶
func (mr *MockSequenceNumberAccessorMockRecorder) SetLatestSequenceNumber(arg0 interface{}) *gomock.Call
SetLatestSequenceNumber indicates an expected call of SetLatestSequenceNumber.
type MockTaskComparer ¶
type MockTaskComparer struct {
// contains filtered or unexported fields
}
MockTaskComparer is a mock of TaskComparer interface.
func NewMockTaskComparer ¶
func NewMockTaskComparer(ctrl *gomock.Controller) *MockTaskComparer
NewMockTaskComparer creates a new mock instance.
func (*MockTaskComparer) CompareRunningTasksOnInstanceWithManifest ¶
func (m *MockTaskComparer) CompareRunningTasksOnInstanceWithManifest(arg0 *ecsacs.TaskManifestMessage) ([]*ecsacs.TaskIdentifier, error)
CompareRunningTasksOnInstanceWithManifest mocks base method.
func (*MockTaskComparer) EXPECT ¶
func (m *MockTaskComparer) EXPECT() *MockTaskComparerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockTaskComparerMockRecorder ¶
type MockTaskComparerMockRecorder struct {
// contains filtered or unexported fields
}
MockTaskComparerMockRecorder is the mock recorder for MockTaskComparer.
func (*MockTaskComparerMockRecorder) CompareRunningTasksOnInstanceWithManifest ¶
func (mr *MockTaskComparerMockRecorder) CompareRunningTasksOnInstanceWithManifest(arg0 interface{}) *gomock.Call
CompareRunningTasksOnInstanceWithManifest indicates an expected call of CompareRunningTasksOnInstanceWithManifest.
type MockTaskStopper ¶
type MockTaskStopper struct {
// contains filtered or unexported fields
}
MockTaskStopper is a mock of TaskStopper interface.
func NewMockTaskStopper ¶
func NewMockTaskStopper(ctrl *gomock.Controller) *MockTaskStopper
NewMockTaskStopper creates a new mock instance.
func (*MockTaskStopper) EXPECT ¶
func (m *MockTaskStopper) EXPECT() *MockTaskStopperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTaskStopper) StopTask ¶
func (m *MockTaskStopper) StopTask(arg0 string)
StopTask mocks base method.
type MockTaskStopperMockRecorder ¶
type MockTaskStopperMockRecorder struct {
// contains filtered or unexported fields
}
MockTaskStopperMockRecorder is the mock recorder for MockTaskStopper.
func (*MockTaskStopperMockRecorder) StopTask ¶
func (mr *MockTaskStopperMockRecorder) StopTask(arg0 interface{}) *gomock.Call
StopTask indicates an expected call of StopTask.