mocks

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

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

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

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 MockRunner added in v0.4.0

type MockRunner struct {
	// contains filtered or unexported fields
}

MockRunner is a mock of Runner interface

func NewMockRunner added in v0.4.0

func NewMockRunner(ctrl *gomock.Controller) *MockRunner

NewMockRunner creates a new mock instance

func (*MockRunner) EXPECT added in v0.4.0

func (m *MockRunner) EXPECT() *MockRunnerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockRunner) RunTask added in v0.4.0

func (m *MockRunner) RunTask(input ecs.RunTaskInput) ([]*ecs.Task, error)

RunTask mocks base method

type MockRunnerMockRecorder added in v0.4.0

type MockRunnerMockRecorder struct {
	// contains filtered or unexported fields
}

MockRunnerMockRecorder is the mock recorder for MockRunner

func (*MockRunnerMockRecorder) RunTask added in v0.4.0

func (mr *MockRunnerMockRecorder) RunTask(input interface{}) *gomock.Call

RunTask indicates an expected call of RunTask

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

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

func (*MockVPCGetter) SubnetIDs

func (m *MockVPCGetter) SubnetIDs(filters ...ec2.Filter) ([]string, error)

SubnetIDs 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL