Documentation ¶
Overview ¶
Package mock_api is a generated GoMock package.
Index ¶
- type MockECSClient
- func (m *MockECSClient) DiscoverPollEndpoint(arg0 string) (string, error)
- func (m *MockECSClient) DiscoverTelemetryEndpoint(arg0 string) (string, error)
- func (m *MockECSClient) EXPECT() *MockECSClientMockRecorder
- func (m *MockECSClient) GetResourceTags(arg0 string) ([]*ecs.Tag, error)
- func (m *MockECSClient) RegisterContainerInstance(arg0 string, arg1 []*ecs.Attribute, arg2 []*ecs.Tag, arg3 string, ...) (string, string, error)
- func (m *MockECSClient) SubmitAttachmentStateChange(arg0 api.AttachmentStateChange) error
- func (m *MockECSClient) SubmitContainerStateChange(arg0 api.ContainerStateChange) error
- func (m *MockECSClient) SubmitTaskStateChange(arg0 api.TaskStateChange) error
- func (m *MockECSClient) UpdateContainerInstancesState(arg0, arg1 string) error
- type MockECSClientMockRecorder
- func (mr *MockECSClientMockRecorder) DiscoverPollEndpoint(arg0 interface{}) *gomock.Call
- func (mr *MockECSClientMockRecorder) DiscoverTelemetryEndpoint(arg0 interface{}) *gomock.Call
- func (mr *MockECSClientMockRecorder) GetResourceTags(arg0 interface{}) *gomock.Call
- func (mr *MockECSClientMockRecorder) RegisterContainerInstance(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockECSClientMockRecorder) SubmitAttachmentStateChange(arg0 interface{}) *gomock.Call
- func (mr *MockECSClientMockRecorder) SubmitContainerStateChange(arg0 interface{}) *gomock.Call
- func (mr *MockECSClientMockRecorder) SubmitTaskStateChange(arg0 interface{}) *gomock.Call
- func (mr *MockECSClientMockRecorder) UpdateContainerInstancesState(arg0, arg1 interface{}) *gomock.Call
- type MockECSSDK
- func (m *MockECSSDK) CreateCluster(arg0 *ecs.CreateClusterInput) (*ecs.CreateClusterOutput, error)
- func (m *MockECSSDK) DiscoverPollEndpoint(arg0 *ecs.DiscoverPollEndpointInput) (*ecs.DiscoverPollEndpointOutput, error)
- func (m *MockECSSDK) EXPECT() *MockECSSDKMockRecorder
- func (m *MockECSSDK) ListTagsForResource(arg0 *ecs.ListTagsForResourceInput) (*ecs.ListTagsForResourceOutput, error)
- func (m *MockECSSDK) RegisterContainerInstance(arg0 *ecs.RegisterContainerInstanceInput) (*ecs.RegisterContainerInstanceOutput, error)
- func (m *MockECSSDK) UpdateContainerInstancesState(arg0 *ecs.UpdateContainerInstancesStateInput) (*ecs.UpdateContainerInstancesStateOutput, error)
- type MockECSSDKMockRecorder
- func (mr *MockECSSDKMockRecorder) CreateCluster(arg0 interface{}) *gomock.Call
- func (mr *MockECSSDKMockRecorder) DiscoverPollEndpoint(arg0 interface{}) *gomock.Call
- func (mr *MockECSSDKMockRecorder) ListTagsForResource(arg0 interface{}) *gomock.Call
- func (mr *MockECSSDKMockRecorder) RegisterContainerInstance(arg0 interface{}) *gomock.Call
- func (mr *MockECSSDKMockRecorder) UpdateContainerInstancesState(arg0 interface{}) *gomock.Call
- type MockECSSubmitStateSDK
- func (m *MockECSSubmitStateSDK) EXPECT() *MockECSSubmitStateSDKMockRecorder
- func (m *MockECSSubmitStateSDK) SubmitAttachmentStateChanges(arg0 *ecs.SubmitAttachmentStateChangesInput) (*ecs.SubmitAttachmentStateChangesOutput, error)
- func (m *MockECSSubmitStateSDK) SubmitContainerStateChange(arg0 *ecs.SubmitContainerStateChangeInput) (*ecs.SubmitContainerStateChangeOutput, error)
- func (m *MockECSSubmitStateSDK) SubmitTaskStateChange(arg0 *ecs.SubmitTaskStateChangeInput) (*ecs.SubmitTaskStateChangeOutput, error)
- type MockECSSubmitStateSDKMockRecorder
- func (mr *MockECSSubmitStateSDKMockRecorder) SubmitAttachmentStateChanges(arg0 interface{}) *gomock.Call
- func (mr *MockECSSubmitStateSDKMockRecorder) SubmitContainerStateChange(arg0 interface{}) *gomock.Call
- func (mr *MockECSSubmitStateSDKMockRecorder) SubmitTaskStateChange(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockECSClient ¶
type MockECSClient struct {
// contains filtered or unexported fields
}
MockECSClient is a mock of ECSClient interface
func NewMockECSClient ¶
func NewMockECSClient(ctrl *gomock.Controller) *MockECSClient
NewMockECSClient creates a new mock instance
func (*MockECSClient) DiscoverPollEndpoint ¶
func (m *MockECSClient) DiscoverPollEndpoint(arg0 string) (string, error)
DiscoverPollEndpoint mocks base method
func (*MockECSClient) DiscoverTelemetryEndpoint ¶ added in v1.2.0
func (m *MockECSClient) DiscoverTelemetryEndpoint(arg0 string) (string, error)
DiscoverTelemetryEndpoint mocks base method
func (*MockECSClient) EXPECT ¶
func (m *MockECSClient) EXPECT() *MockECSClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockECSClient) GetResourceTags ¶ added in v1.24.0
func (m *MockECSClient) GetResourceTags(arg0 string) ([]*ecs.Tag, error)
GetResourceTags mocks base method
func (*MockECSClient) RegisterContainerInstance ¶
func (m *MockECSClient) RegisterContainerInstance(arg0 string, arg1 []*ecs.Attribute, arg2 []*ecs.Tag, arg3 string, arg4 []*ecs.PlatformDevice, arg5 string) (string, string, error)
RegisterContainerInstance mocks base method
func (*MockECSClient) SubmitAttachmentStateChange ¶ added in v1.28.0
func (m *MockECSClient) SubmitAttachmentStateChange(arg0 api.AttachmentStateChange) error
SubmitAttachmentStateChange mocks base method
func (*MockECSClient) SubmitContainerStateChange ¶
func (m *MockECSClient) SubmitContainerStateChange(arg0 api.ContainerStateChange) error
SubmitContainerStateChange mocks base method
func (*MockECSClient) SubmitTaskStateChange ¶
func (m *MockECSClient) SubmitTaskStateChange(arg0 api.TaskStateChange) error
SubmitTaskStateChange mocks base method
func (*MockECSClient) UpdateContainerInstancesState ¶ added in v1.32.0
func (m *MockECSClient) UpdateContainerInstancesState(arg0, arg1 string) error
UpdateContainerInstancesState mocks base method
type MockECSClientMockRecorder ¶ added in v1.17.3
type MockECSClientMockRecorder struct {
// contains filtered or unexported fields
}
MockECSClientMockRecorder is the mock recorder for MockECSClient
func (*MockECSClientMockRecorder) DiscoverPollEndpoint ¶ added in v1.17.3
func (mr *MockECSClientMockRecorder) DiscoverPollEndpoint(arg0 interface{}) *gomock.Call
DiscoverPollEndpoint indicates an expected call of DiscoverPollEndpoint
func (*MockECSClientMockRecorder) DiscoverTelemetryEndpoint ¶ added in v1.17.3
func (mr *MockECSClientMockRecorder) DiscoverTelemetryEndpoint(arg0 interface{}) *gomock.Call
DiscoverTelemetryEndpoint indicates an expected call of DiscoverTelemetryEndpoint
func (*MockECSClientMockRecorder) GetResourceTags ¶ added in v1.24.0
func (mr *MockECSClientMockRecorder) GetResourceTags(arg0 interface{}) *gomock.Call
GetResourceTags indicates an expected call of GetResourceTags
func (*MockECSClientMockRecorder) RegisterContainerInstance ¶ added in v1.17.3
func (mr *MockECSClientMockRecorder) RegisterContainerInstance(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
RegisterContainerInstance indicates an expected call of RegisterContainerInstance
func (*MockECSClientMockRecorder) SubmitAttachmentStateChange ¶ added in v1.28.0
func (mr *MockECSClientMockRecorder) SubmitAttachmentStateChange(arg0 interface{}) *gomock.Call
SubmitAttachmentStateChange indicates an expected call of SubmitAttachmentStateChange
func (*MockECSClientMockRecorder) SubmitContainerStateChange ¶ added in v1.17.3
func (mr *MockECSClientMockRecorder) SubmitContainerStateChange(arg0 interface{}) *gomock.Call
SubmitContainerStateChange indicates an expected call of SubmitContainerStateChange
func (*MockECSClientMockRecorder) SubmitTaskStateChange ¶ added in v1.17.3
func (mr *MockECSClientMockRecorder) SubmitTaskStateChange(arg0 interface{}) *gomock.Call
SubmitTaskStateChange indicates an expected call of SubmitTaskStateChange
func (*MockECSClientMockRecorder) UpdateContainerInstancesState ¶ added in v1.32.0
func (mr *MockECSClientMockRecorder) UpdateContainerInstancesState(arg0, arg1 interface{}) *gomock.Call
UpdateContainerInstancesState indicates an expected call of UpdateContainerInstancesState
type MockECSSDK ¶
type MockECSSDK struct {
// contains filtered or unexported fields
}
MockECSSDK is a mock of ECSSDK interface
func NewMockECSSDK ¶
func NewMockECSSDK(ctrl *gomock.Controller) *MockECSSDK
NewMockECSSDK creates a new mock instance
func (*MockECSSDK) CreateCluster ¶
func (m *MockECSSDK) CreateCluster(arg0 *ecs.CreateClusterInput) (*ecs.CreateClusterOutput, error)
CreateCluster mocks base method
func (*MockECSSDK) DiscoverPollEndpoint ¶
func (m *MockECSSDK) DiscoverPollEndpoint(arg0 *ecs.DiscoverPollEndpointInput) (*ecs.DiscoverPollEndpointOutput, error)
DiscoverPollEndpoint mocks base method
func (*MockECSSDK) EXPECT ¶
func (m *MockECSSDK) EXPECT() *MockECSSDKMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockECSSDK) ListTagsForResource ¶ added in v1.24.0
func (m *MockECSSDK) ListTagsForResource(arg0 *ecs.ListTagsForResourceInput) (*ecs.ListTagsForResourceOutput, error)
ListTagsForResource mocks base method
func (*MockECSSDK) RegisterContainerInstance ¶
func (m *MockECSSDK) RegisterContainerInstance(arg0 *ecs.RegisterContainerInstanceInput) (*ecs.RegisterContainerInstanceOutput, error)
RegisterContainerInstance mocks base method
func (*MockECSSDK) UpdateContainerInstancesState ¶ added in v1.32.0
func (m *MockECSSDK) UpdateContainerInstancesState(arg0 *ecs.UpdateContainerInstancesStateInput) (*ecs.UpdateContainerInstancesStateOutput, error)
UpdateContainerInstancesState mocks base method
type MockECSSDKMockRecorder ¶ added in v1.17.3
type MockECSSDKMockRecorder struct {
// contains filtered or unexported fields
}
MockECSSDKMockRecorder is the mock recorder for MockECSSDK
func (*MockECSSDKMockRecorder) CreateCluster ¶ added in v1.17.3
func (mr *MockECSSDKMockRecorder) CreateCluster(arg0 interface{}) *gomock.Call
CreateCluster indicates an expected call of CreateCluster
func (*MockECSSDKMockRecorder) DiscoverPollEndpoint ¶ added in v1.17.3
func (mr *MockECSSDKMockRecorder) DiscoverPollEndpoint(arg0 interface{}) *gomock.Call
DiscoverPollEndpoint indicates an expected call of DiscoverPollEndpoint
func (*MockECSSDKMockRecorder) ListTagsForResource ¶ added in v1.24.0
func (mr *MockECSSDKMockRecorder) ListTagsForResource(arg0 interface{}) *gomock.Call
ListTagsForResource indicates an expected call of ListTagsForResource
func (*MockECSSDKMockRecorder) RegisterContainerInstance ¶ added in v1.17.3
func (mr *MockECSSDKMockRecorder) RegisterContainerInstance(arg0 interface{}) *gomock.Call
RegisterContainerInstance indicates an expected call of RegisterContainerInstance
func (*MockECSSDKMockRecorder) UpdateContainerInstancesState ¶ added in v1.32.0
func (mr *MockECSSDKMockRecorder) UpdateContainerInstancesState(arg0 interface{}) *gomock.Call
UpdateContainerInstancesState indicates an expected call of UpdateContainerInstancesState
type MockECSSubmitStateSDK ¶ added in v1.4.0
type MockECSSubmitStateSDK struct {
// contains filtered or unexported fields
}
MockECSSubmitStateSDK is a mock of ECSSubmitStateSDK interface
func NewMockECSSubmitStateSDK ¶ added in v1.4.0
func NewMockECSSubmitStateSDK(ctrl *gomock.Controller) *MockECSSubmitStateSDK
NewMockECSSubmitStateSDK creates a new mock instance
func (*MockECSSubmitStateSDK) EXPECT ¶ added in v1.4.0
func (m *MockECSSubmitStateSDK) EXPECT() *MockECSSubmitStateSDKMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockECSSubmitStateSDK) SubmitAttachmentStateChanges ¶ added in v1.28.0
func (m *MockECSSubmitStateSDK) SubmitAttachmentStateChanges(arg0 *ecs.SubmitAttachmentStateChangesInput) (*ecs.SubmitAttachmentStateChangesOutput, error)
SubmitAttachmentStateChanges mocks base method
func (*MockECSSubmitStateSDK) SubmitContainerStateChange ¶ added in v1.4.0
func (m *MockECSSubmitStateSDK) SubmitContainerStateChange(arg0 *ecs.SubmitContainerStateChangeInput) (*ecs.SubmitContainerStateChangeOutput, error)
SubmitContainerStateChange mocks base method
func (*MockECSSubmitStateSDK) SubmitTaskStateChange ¶ added in v1.4.0
func (m *MockECSSubmitStateSDK) SubmitTaskStateChange(arg0 *ecs.SubmitTaskStateChangeInput) (*ecs.SubmitTaskStateChangeOutput, error)
SubmitTaskStateChange mocks base method
type MockECSSubmitStateSDKMockRecorder ¶ added in v1.17.3
type MockECSSubmitStateSDKMockRecorder struct {
// contains filtered or unexported fields
}
MockECSSubmitStateSDKMockRecorder is the mock recorder for MockECSSubmitStateSDK
func (*MockECSSubmitStateSDKMockRecorder) SubmitAttachmentStateChanges ¶ added in v1.28.0
func (mr *MockECSSubmitStateSDKMockRecorder) SubmitAttachmentStateChanges(arg0 interface{}) *gomock.Call
SubmitAttachmentStateChanges indicates an expected call of SubmitAttachmentStateChanges
func (*MockECSSubmitStateSDKMockRecorder) SubmitContainerStateChange ¶ added in v1.17.3
func (mr *MockECSSubmitStateSDKMockRecorder) SubmitContainerStateChange(arg0 interface{}) *gomock.Call
SubmitContainerStateChange indicates an expected call of SubmitContainerStateChange
func (*MockECSSubmitStateSDKMockRecorder) SubmitTaskStateChange ¶ added in v1.17.3
func (mr *MockECSSubmitStateSDKMockRecorder) SubmitTaskStateChange(arg0 interface{}) *gomock.Call
SubmitTaskStateChange indicates an expected call of SubmitTaskStateChange