mocks

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2021 License: Apache-2.0 Imports: 4 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 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

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

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

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

Jump to

Keyboard shortcuts

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