Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockecsClient
- func (m *MockecsClient) DefaultCluster() (string, error)
- func (m *MockecsClient) EXPECT() *MockecsClientMockRecorder
- func (m *MockecsClient) RunningTasks(cluster string) ([]*ecs.Task, error)
- func (m *MockecsClient) RunningTasksInFamily(cluster, family string) ([]*ecs.Task, error)
- func (m *MockecsClient) ServiceTasks(clusterName, serviceName string) ([]*ecs.Task, error)
- func (m *MockecsClient) StopTasks(tasks []string, opts ...ecs.StopTasksOpts) error
- type MockecsClientMockRecorder
- func (mr *MockecsClientMockRecorder) DefaultCluster() *gomock.Call
- func (mr *MockecsClientMockRecorder) RunningTasks(cluster interface{}) *gomock.Call
- func (mr *MockecsClientMockRecorder) RunningTasksInFamily(cluster, family interface{}) *gomock.Call
- func (mr *MockecsClientMockRecorder) ServiceTasks(clusterName, serviceName interface{}) *gomock.Call
- func (mr *MockecsClientMockRecorder) StopTasks(tasks interface{}, opts ...interface{}) *gomock.Call
- type MockresourceGetter
- type MockresourceGetterMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockecsClient ¶ added in v1.1.0
type MockecsClient struct {
// contains filtered or unexported fields
}
MockecsClient is a mock of ecsClient interface.
func NewMockecsClient ¶ added in v1.1.0
func NewMockecsClient(ctrl *gomock.Controller) *MockecsClient
NewMockecsClient creates a new mock instance.
func (*MockecsClient) DefaultCluster ¶ added in v1.1.0
func (m *MockecsClient) DefaultCluster() (string, error)
DefaultCluster mocks base method.
func (*MockecsClient) EXPECT ¶ added in v1.1.0
func (m *MockecsClient) EXPECT() *MockecsClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockecsClient) RunningTasks ¶ added in v1.1.0
func (m *MockecsClient) RunningTasks(cluster string) ([]*ecs.Task, error)
RunningTasks mocks base method.
func (*MockecsClient) RunningTasksInFamily ¶ added in v1.1.0
func (m *MockecsClient) RunningTasksInFamily(cluster, family string) ([]*ecs.Task, error)
RunningTasksInFamily mocks base method.
func (*MockecsClient) ServiceTasks ¶ added in v1.1.0
func (m *MockecsClient) ServiceTasks(clusterName, serviceName string) ([]*ecs.Task, error)
ServiceTasks mocks base method.
func (*MockecsClient) StopTasks ¶ added in v1.2.0
func (m *MockecsClient) StopTasks(tasks []string, opts ...ecs.StopTasksOpts) error
StopTasks mocks base method.
type MockecsClientMockRecorder ¶ added in v1.1.0
type MockecsClientMockRecorder struct {
// contains filtered or unexported fields
}
MockecsClientMockRecorder is the mock recorder for MockecsClient.
func (*MockecsClientMockRecorder) DefaultCluster ¶ added in v1.1.0
func (mr *MockecsClientMockRecorder) DefaultCluster() *gomock.Call
DefaultCluster indicates an expected call of DefaultCluster.
func (*MockecsClientMockRecorder) RunningTasks ¶ added in v1.1.0
func (mr *MockecsClientMockRecorder) RunningTasks(cluster interface{}) *gomock.Call
RunningTasks indicates an expected call of RunningTasks.
func (*MockecsClientMockRecorder) RunningTasksInFamily ¶ added in v1.1.0
func (mr *MockecsClientMockRecorder) RunningTasksInFamily(cluster, family interface{}) *gomock.Call
RunningTasksInFamily indicates an expected call of RunningTasksInFamily.
func (*MockecsClientMockRecorder) ServiceTasks ¶ added in v1.1.0
func (mr *MockecsClientMockRecorder) ServiceTasks(clusterName, serviceName interface{}) *gomock.Call
ServiceTasks indicates an expected call of ServiceTasks.
func (*MockecsClientMockRecorder) StopTasks ¶ added in v1.2.0
func (mr *MockecsClientMockRecorder) StopTasks(tasks interface{}, opts ...interface{}) *gomock.Call
StopTasks indicates an expected call of StopTasks.
type MockresourceGetter ¶
type MockresourceGetter struct {
// contains filtered or unexported fields
}
MockresourceGetter is a mock of resourceGetter interface.
func NewMockresourceGetter ¶
func NewMockresourceGetter(ctrl *gomock.Controller) *MockresourceGetter
NewMockresourceGetter creates a new mock instance.
func (*MockresourceGetter) EXPECT ¶
func (m *MockresourceGetter) EXPECT() *MockresourceGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockresourceGetter) GetResourcesByTags ¶
func (m *MockresourceGetter) GetResourcesByTags(resourceType string, tags map[string]string) ([]*resourcegroups.Resource, error)
GetResourcesByTags mocks base method.
type MockresourceGetterMockRecorder ¶
type MockresourceGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockresourceGetterMockRecorder is the mock recorder for MockresourceGetter.
func (*MockresourceGetterMockRecorder) GetResourcesByTags ¶
func (mr *MockresourceGetterMockRecorder) GetResourcesByTags(resourceType, tags interface{}) *gomock.Call
GetResourcesByTags indicates an expected call of GetResourcesByTags.