Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockECSServiceDescriber
- func (m *MockECSServiceDescriber) EXPECT() *MockECSServiceDescriberMockRecorder
- func (m *MockECSServiceDescriber) NetworkConfiguration(cluster, serviceName string) (*ecs.NetworkConfiguration, error)
- func (m *MockECSServiceDescriber) Service(clusterName, serviceName string) (*ecs.Service, error)
- func (m *MockECSServiceDescriber) TaskDefinition(taskDefName string) (*ecs.TaskDefinition, error)
- type MockECSServiceDescriberMockRecorder
- func (mr *MockECSServiceDescriberMockRecorder) NetworkConfiguration(cluster, serviceName interface{}) *gomock.Call
- func (mr *MockECSServiceDescriberMockRecorder) Service(clusterName, serviceName interface{}) *gomock.Call
- func (mr *MockECSServiceDescriberMockRecorder) TaskDefinition(taskDefName interface{}) *gomock.Call
- type MockJobDescriber
- func (m *MockJobDescriber) ClusterARN(app, env string) (string, error)
- func (m *MockJobDescriber) EXPECT() *MockJobDescriberMockRecorder
- func (m *MockJobDescriber) NetworkConfigurationForJob(app, env, job string) (*ecs.NetworkConfiguration, error)
- func (m *MockJobDescriber) TaskDefinition(app, env, job string) (*ecs.TaskDefinition, error)
- type MockJobDescriberMockRecorder
- type MockServiceDescriber
- func (m *MockServiceDescriber) ClusterARN(app, env string) (string, error)
- func (m *MockServiceDescriber) EXPECT() *MockServiceDescriberMockRecorder
- func (m *MockServiceDescriber) NetworkConfiguration(app, env, svc string) (*ecs.NetworkConfiguration, error)
- func (m *MockServiceDescriber) TaskDefinition(app, env, svc string) (*ecs.TaskDefinition, error)
- type MockServiceDescriberMockRecorder
- type MockecsClient
- func (m *MockecsClient) DefaultCluster() (string, error)
- func (m *MockecsClient) DescribeTasks(cluster string, taskARNs []string) ([]*ecs.Task, error)
- func (m *MockecsClient) EXPECT() *MockecsClientMockRecorder
- func (m *MockecsClient) NetworkConfiguration(cluster, serviceName string) (*ecs.NetworkConfiguration, error)
- func (m *MockecsClient) RunningTasks(cluster string) ([]*ecs.Task, error)
- func (m *MockecsClient) RunningTasksInFamily(cluster, family string) ([]*ecs.Task, error)
- func (m *MockecsClient) Service(clusterName, serviceName string) (*ecs.Service, error)
- func (m *MockecsClient) ServiceRunningTasks(clusterName, serviceName string) ([]*ecs.Task, error)
- func (m *MockecsClient) StopTasks(tasks []string, opts ...ecs.StopTasksOpts) error
- func (m *MockecsClient) StoppedServiceTasks(cluster, service string) ([]*ecs.Task, error)
- func (m *MockecsClient) TaskDefinition(taskDefName string) (*ecs.TaskDefinition, error)
- func (m *MockecsClient) UpdateService(clusterName, serviceName string, opts ...ecs.UpdateServiceOpts) error
- type MockecsClientMockRecorder
- func (mr *MockecsClientMockRecorder) DefaultCluster() *gomock.Call
- func (mr *MockecsClientMockRecorder) DescribeTasks(cluster, taskARNs interface{}) *gomock.Call
- func (mr *MockecsClientMockRecorder) NetworkConfiguration(cluster, serviceName interface{}) *gomock.Call
- func (mr *MockecsClientMockRecorder) RunningTasks(cluster interface{}) *gomock.Call
- func (mr *MockecsClientMockRecorder) RunningTasksInFamily(cluster, family interface{}) *gomock.Call
- func (mr *MockecsClientMockRecorder) Service(clusterName, serviceName interface{}) *gomock.Call
- func (mr *MockecsClientMockRecorder) ServiceRunningTasks(clusterName, serviceName interface{}) *gomock.Call
- func (mr *MockecsClientMockRecorder) StopTasks(tasks interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockecsClientMockRecorder) StoppedServiceTasks(cluster, service interface{}) *gomock.Call
- func (mr *MockecsClientMockRecorder) TaskDefinition(taskDefName interface{}) *gomock.Call
- func (mr *MockecsClientMockRecorder) UpdateService(clusterName, serviceName interface{}, opts ...interface{}) *gomock.Call
- type MockresourceGetter
- type MockresourceGetterMockRecorder
- type MockstepFunctionsClient
- type MockstepFunctionsClientMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockECSServiceDescriber ¶ added in v1.7.0
type MockECSServiceDescriber struct {
// contains filtered or unexported fields
}
MockECSServiceDescriber is a mock of ECSServiceDescriber interface.
func NewMockECSServiceDescriber ¶ added in v1.7.0
func NewMockECSServiceDescriber(ctrl *gomock.Controller) *MockECSServiceDescriber
NewMockECSServiceDescriber creates a new mock instance.
func (*MockECSServiceDescriber) EXPECT ¶ added in v1.7.0
func (m *MockECSServiceDescriber) EXPECT() *MockECSServiceDescriberMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockECSServiceDescriber) NetworkConfiguration ¶ added in v1.7.0
func (m *MockECSServiceDescriber) NetworkConfiguration(cluster, serviceName string) (*ecs.NetworkConfiguration, error)
NetworkConfiguration mocks base method.
func (*MockECSServiceDescriber) Service ¶ added in v1.7.0
func (m *MockECSServiceDescriber) Service(clusterName, serviceName string) (*ecs.Service, error)
Service mocks base method.
func (*MockECSServiceDescriber) TaskDefinition ¶ added in v1.7.0
func (m *MockECSServiceDescriber) TaskDefinition(taskDefName string) (*ecs.TaskDefinition, error)
TaskDefinition mocks base method.
type MockECSServiceDescriberMockRecorder ¶ added in v1.7.0
type MockECSServiceDescriberMockRecorder struct {
// contains filtered or unexported fields
}
MockECSServiceDescriberMockRecorder is the mock recorder for MockECSServiceDescriber.
func (*MockECSServiceDescriberMockRecorder) NetworkConfiguration ¶ added in v1.7.0
func (mr *MockECSServiceDescriberMockRecorder) NetworkConfiguration(cluster, serviceName interface{}) *gomock.Call
NetworkConfiguration indicates an expected call of NetworkConfiguration.
func (*MockECSServiceDescriberMockRecorder) Service ¶ added in v1.7.0
func (mr *MockECSServiceDescriberMockRecorder) Service(clusterName, serviceName interface{}) *gomock.Call
Service indicates an expected call of Service.
func (*MockECSServiceDescriberMockRecorder) TaskDefinition ¶ added in v1.7.0
func (mr *MockECSServiceDescriberMockRecorder) TaskDefinition(taskDefName interface{}) *gomock.Call
TaskDefinition indicates an expected call of TaskDefinition.
type MockJobDescriber ¶ added in v1.7.0
type MockJobDescriber struct {
// contains filtered or unexported fields
}
MockJobDescriber is a mock of JobDescriber interface.
func NewMockJobDescriber ¶ added in v1.7.0
func NewMockJobDescriber(ctrl *gomock.Controller) *MockJobDescriber
NewMockJobDescriber creates a new mock instance.
func (*MockJobDescriber) ClusterARN ¶ added in v1.7.0
func (m *MockJobDescriber) ClusterARN(app, env string) (string, error)
ClusterARN mocks base method.
func (*MockJobDescriber) EXPECT ¶ added in v1.7.0
func (m *MockJobDescriber) EXPECT() *MockJobDescriberMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockJobDescriber) NetworkConfigurationForJob ¶ added in v1.7.0
func (m *MockJobDescriber) NetworkConfigurationForJob(app, env, job string) (*ecs.NetworkConfiguration, error)
NetworkConfigurationForJob mocks base method.
func (*MockJobDescriber) TaskDefinition ¶ added in v1.7.0
func (m *MockJobDescriber) TaskDefinition(app, env, job string) (*ecs.TaskDefinition, error)
TaskDefinition mocks base method.
type MockJobDescriberMockRecorder ¶ added in v1.7.0
type MockJobDescriberMockRecorder struct {
// contains filtered or unexported fields
}
MockJobDescriberMockRecorder is the mock recorder for MockJobDescriber.
func (*MockJobDescriberMockRecorder) ClusterARN ¶ added in v1.7.0
func (mr *MockJobDescriberMockRecorder) ClusterARN(app, env interface{}) *gomock.Call
ClusterARN indicates an expected call of ClusterARN.
func (*MockJobDescriberMockRecorder) NetworkConfigurationForJob ¶ added in v1.7.0
func (mr *MockJobDescriberMockRecorder) NetworkConfigurationForJob(app, env, job interface{}) *gomock.Call
NetworkConfigurationForJob indicates an expected call of NetworkConfigurationForJob.
func (*MockJobDescriberMockRecorder) TaskDefinition ¶ added in v1.7.0
func (mr *MockJobDescriberMockRecorder) TaskDefinition(app, env, job interface{}) *gomock.Call
TaskDefinition indicates an expected call of TaskDefinition.
type MockServiceDescriber ¶ added in v1.7.0
type MockServiceDescriber struct {
// contains filtered or unexported fields
}
MockServiceDescriber is a mock of ServiceDescriber interface.
func NewMockServiceDescriber ¶ added in v1.7.0
func NewMockServiceDescriber(ctrl *gomock.Controller) *MockServiceDescriber
NewMockServiceDescriber creates a new mock instance.
func (*MockServiceDescriber) ClusterARN ¶ added in v1.7.0
func (m *MockServiceDescriber) ClusterARN(app, env string) (string, error)
ClusterARN mocks base method.
func (*MockServiceDescriber) EXPECT ¶ added in v1.7.0
func (m *MockServiceDescriber) EXPECT() *MockServiceDescriberMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockServiceDescriber) NetworkConfiguration ¶ added in v1.7.0
func (m *MockServiceDescriber) NetworkConfiguration(app, env, svc string) (*ecs.NetworkConfiguration, error)
NetworkConfiguration mocks base method.
func (*MockServiceDescriber) TaskDefinition ¶ added in v1.7.0
func (m *MockServiceDescriber) TaskDefinition(app, env, svc string) (*ecs.TaskDefinition, error)
TaskDefinition mocks base method.
type MockServiceDescriberMockRecorder ¶ added in v1.7.0
type MockServiceDescriberMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceDescriberMockRecorder is the mock recorder for MockServiceDescriber.
func (*MockServiceDescriberMockRecorder) ClusterARN ¶ added in v1.7.0
func (mr *MockServiceDescriberMockRecorder) ClusterARN(app, env interface{}) *gomock.Call
ClusterARN indicates an expected call of ClusterARN.
func (*MockServiceDescriberMockRecorder) NetworkConfiguration ¶ added in v1.7.0
func (mr *MockServiceDescriberMockRecorder) NetworkConfiguration(app, env, svc interface{}) *gomock.Call
NetworkConfiguration indicates an expected call of NetworkConfiguration.
func (*MockServiceDescriberMockRecorder) TaskDefinition ¶ added in v1.7.0
func (mr *MockServiceDescriberMockRecorder) TaskDefinition(app, env, svc interface{}) *gomock.Call
TaskDefinition indicates an expected call of TaskDefinition.
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) DescribeTasks ¶ added in v1.20.0
DescribeTasks 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) NetworkConfiguration ¶ added in v1.6.0
func (m *MockecsClient) NetworkConfiguration(cluster, serviceName string) (*ecs.NetworkConfiguration, error)
NetworkConfiguration mocks base method.
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) Service ¶ added in v1.14.0
func (m *MockecsClient) Service(clusterName, serviceName string) (*ecs.Service, error)
Service mocks base method.
func (*MockecsClient) ServiceRunningTasks ¶ added in v1.8.0
func (m *MockecsClient) ServiceRunningTasks(clusterName, serviceName string) ([]*ecs.Task, error)
ServiceRunningTasks 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.
func (*MockecsClient) StoppedServiceTasks ¶ added in v1.8.0
func (m *MockecsClient) StoppedServiceTasks(cluster, service string) ([]*ecs.Task, error)
StoppedServiceTasks mocks base method.
func (*MockecsClient) TaskDefinition ¶ added in v1.6.0
func (m *MockecsClient) TaskDefinition(taskDefName string) (*ecs.TaskDefinition, error)
TaskDefinition mocks base method.
func (*MockecsClient) UpdateService ¶ added in v1.10.0
func (m *MockecsClient) UpdateService(clusterName, serviceName string, opts ...ecs.UpdateServiceOpts) error
UpdateService 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) DescribeTasks ¶ added in v1.20.0
func (mr *MockecsClientMockRecorder) DescribeTasks(cluster, taskARNs interface{}) *gomock.Call
DescribeTasks indicates an expected call of DescribeTasks.
func (*MockecsClientMockRecorder) NetworkConfiguration ¶ added in v1.6.0
func (mr *MockecsClientMockRecorder) NetworkConfiguration(cluster, serviceName interface{}) *gomock.Call
NetworkConfiguration indicates an expected call of NetworkConfiguration.
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) Service ¶ added in v1.14.0
func (mr *MockecsClientMockRecorder) Service(clusterName, serviceName interface{}) *gomock.Call
Service indicates an expected call of Service.
func (*MockecsClientMockRecorder) ServiceRunningTasks ¶ added in v1.8.0
func (mr *MockecsClientMockRecorder) ServiceRunningTasks(clusterName, serviceName interface{}) *gomock.Call
ServiceRunningTasks indicates an expected call of ServiceRunningTasks.
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.
func (*MockecsClientMockRecorder) StoppedServiceTasks ¶ added in v1.8.0
func (mr *MockecsClientMockRecorder) StoppedServiceTasks(cluster, service interface{}) *gomock.Call
StoppedServiceTasks indicates an expected call of StoppedServiceTasks.
func (*MockecsClientMockRecorder) TaskDefinition ¶ added in v1.6.0
func (mr *MockecsClientMockRecorder) TaskDefinition(taskDefName interface{}) *gomock.Call
TaskDefinition indicates an expected call of TaskDefinition.
func (*MockecsClientMockRecorder) UpdateService ¶ added in v1.10.0
func (mr *MockecsClientMockRecorder) UpdateService(clusterName, serviceName interface{}, opts ...interface{}) *gomock.Call
UpdateService indicates an expected call of UpdateService.
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.
type MockstepFunctionsClient ¶ added in v1.7.0
type MockstepFunctionsClient struct {
// contains filtered or unexported fields
}
MockstepFunctionsClient is a mock of stepFunctionsClient interface.
func NewMockstepFunctionsClient ¶ added in v1.7.0
func NewMockstepFunctionsClient(ctrl *gomock.Controller) *MockstepFunctionsClient
NewMockstepFunctionsClient creates a new mock instance.
func (*MockstepFunctionsClient) EXPECT ¶ added in v1.7.0
func (m *MockstepFunctionsClient) EXPECT() *MockstepFunctionsClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockstepFunctionsClient) StateMachineDefinition ¶ added in v1.7.0
func (m *MockstepFunctionsClient) StateMachineDefinition(stateMachineARN string) (string, error)
StateMachineDefinition mocks base method.
type MockstepFunctionsClientMockRecorder ¶ added in v1.7.0
type MockstepFunctionsClientMockRecorder struct {
// contains filtered or unexported fields
}
MockstepFunctionsClientMockRecorder is the mock recorder for MockstepFunctionsClient.
func (*MockstepFunctionsClientMockRecorder) StateMachineDefinition ¶ added in v1.7.0
func (mr *MockstepFunctionsClientMockRecorder) StateMachineDefinition(stateMachineARN interface{}) *gomock.Call
StateMachineDefinition indicates an expected call of StateMachineDefinition.