Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockDefaultClusterGetter
- type MockDefaultClusterGetterMockRecorder
- type MockResourceGetter
- type MockResourceGetterMockRecorder
- type MockTaskEventsLogger
- type MockTaskEventsLoggerMockRecorder
- type MockTaskRunner
- type MockTaskRunnerMockRecorder
- type MockTasksDescriber
- type MockTasksDescriberMockRecorder
- type MockVPCGetter
- type MockVPCGetterMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDefaultClusterGetter ¶
type MockDefaultClusterGetter struct {
// contains filtered or unexported fields
}
MockDefaultClusterGetter is a mock of DefaultClusterGetter interface
func NewMockDefaultClusterGetter ¶
func NewMockDefaultClusterGetter(ctrl *gomock.Controller) *MockDefaultClusterGetter
NewMockDefaultClusterGetter creates a new mock instance
func (*MockDefaultClusterGetter) DefaultCluster ¶
func (m *MockDefaultClusterGetter) DefaultCluster() (string, error)
DefaultCluster mocks base method
func (*MockDefaultClusterGetter) EXPECT ¶
func (m *MockDefaultClusterGetter) EXPECT() *MockDefaultClusterGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockDefaultClusterGetterMockRecorder ¶
type MockDefaultClusterGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockDefaultClusterGetterMockRecorder is the mock recorder for MockDefaultClusterGetter
func (*MockDefaultClusterGetterMockRecorder) DefaultCluster ¶
func (mr *MockDefaultClusterGetterMockRecorder) DefaultCluster() *gomock.Call
DefaultCluster indicates an expected call of DefaultCluster
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 MockTaskEventsLogger ¶ added in v0.3.0
type MockTaskEventsLogger struct {
// contains filtered or unexported fields
}
MockTaskEventsLogger is a mock of TaskEventsLogger interface
func NewMockTaskEventsLogger ¶ added in v0.3.0
func NewMockTaskEventsLogger(ctrl *gomock.Controller) *MockTaskEventsLogger
NewMockTaskEventsLogger creates a new mock instance
func (*MockTaskEventsLogger) EXPECT ¶ added in v0.3.0
func (m *MockTaskEventsLogger) EXPECT() *MockTaskEventsLoggerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTaskEventsLogger) TaskLogEvents ¶ added in v0.3.0
func (m *MockTaskEventsLogger) TaskLogEvents(logGroupName string, streamLastEventTime map[string]int64, opts ...cloudwatchlogs.GetLogEventsOpts) (*cloudwatchlogs.LogEventsOutput, error)
TaskLogEvents mocks base method
type MockTaskEventsLoggerMockRecorder ¶ added in v0.3.0
type MockTaskEventsLoggerMockRecorder struct {
// contains filtered or unexported fields
}
MockTaskEventsLoggerMockRecorder is the mock recorder for MockTaskEventsLogger
func (*MockTaskEventsLoggerMockRecorder) TaskLogEvents ¶ added in v0.3.0
func (mr *MockTaskEventsLoggerMockRecorder) TaskLogEvents(logGroupName, streamLastEventTime interface{}, opts ...interface{}) *gomock.Call
TaskLogEvents indicates an expected call of TaskLogEvents
type MockTaskRunner ¶
type MockTaskRunner struct {
// contains filtered or unexported fields
}
MockTaskRunner is a mock of TaskRunner interface
func NewMockTaskRunner ¶
func NewMockTaskRunner(ctrl *gomock.Controller) *MockTaskRunner
NewMockTaskRunner creates a new mock instance
func (*MockTaskRunner) EXPECT ¶
func (m *MockTaskRunner) EXPECT() *MockTaskRunnerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTaskRunner) RunTask ¶
func (m *MockTaskRunner) RunTask(input ecs.RunTaskInput) ([]*ecs.Task, error)
RunTask mocks base method
type MockTaskRunnerMockRecorder ¶
type MockTaskRunnerMockRecorder struct {
// contains filtered or unexported fields
}
MockTaskRunnerMockRecorder is the mock recorder for MockTaskRunner
func (*MockTaskRunnerMockRecorder) RunTask ¶
func (mr *MockTaskRunnerMockRecorder) RunTask(input interface{}) *gomock.Call
RunTask indicates an expected call of RunTask
type MockTasksDescriber ¶ added in v0.3.0
type MockTasksDescriber struct {
// contains filtered or unexported fields
}
MockTasksDescriber is a mock of TasksDescriber interface
func NewMockTasksDescriber ¶ added in v0.3.0
func NewMockTasksDescriber(ctrl *gomock.Controller) *MockTasksDescriber
NewMockTasksDescriber creates a new mock instance
func (*MockTasksDescriber) DescribeTasks ¶ added in v0.3.0
DescribeTasks mocks base method
func (*MockTasksDescriber) EXPECT ¶ added in v0.3.0
func (m *MockTasksDescriber) EXPECT() *MockTasksDescriberMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockTasksDescriberMockRecorder ¶ added in v0.3.0
type MockTasksDescriberMockRecorder struct {
// contains filtered or unexported fields
}
MockTasksDescriberMockRecorder is the mock recorder for MockTasksDescriber
func (*MockTasksDescriberMockRecorder) DescribeTasks ¶ added in v0.3.0
func (mr *MockTasksDescriberMockRecorder) DescribeTasks(cluster, taskARNs interface{}) *gomock.Call
DescribeTasks indicates an expected call of DescribeTasks
type MockVPCGetter ¶
type MockVPCGetter struct {
// contains filtered or unexported fields
}
MockVPCGetter is a mock of VPCGetter interface
func NewMockVPCGetter ¶
func NewMockVPCGetter(ctrl *gomock.Controller) *MockVPCGetter
NewMockVPCGetter creates a new mock instance
func (*MockVPCGetter) EXPECT ¶
func (m *MockVPCGetter) EXPECT() *MockVPCGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockVPCGetter) PublicSubnetIDs ¶
func (m *MockVPCGetter) PublicSubnetIDs(filters ...ec2.Filter) ([]string, error)
PublicSubnetIDs mocks base method
func (*MockVPCGetter) SecurityGroups ¶
func (m *MockVPCGetter) SecurityGroups(filters ...ec2.Filter) ([]string, error)
SecurityGroups mocks base method
type MockVPCGetterMockRecorder ¶
type MockVPCGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockVPCGetterMockRecorder is the mock recorder for MockVPCGetter
func (*MockVPCGetterMockRecorder) PublicSubnetIDs ¶
func (mr *MockVPCGetterMockRecorder) PublicSubnetIDs(filters ...interface{}) *gomock.Call
PublicSubnetIDs indicates an expected call of PublicSubnetIDs
func (*MockVPCGetterMockRecorder) SecurityGroups ¶
func (mr *MockVPCGetterMockRecorder) SecurityGroups(filters ...interface{}) *gomock.Call
SecurityGroups indicates an expected call of SecurityGroups
func (*MockVPCGetterMockRecorder) SubnetIDs ¶
func (mr *MockVPCGetterMockRecorder) SubnetIDs(filters ...interface{}) *gomock.Call
SubnetIDs indicates an expected call of SubnetIDs