mocks

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

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 MockConfigStoreSvc

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

MockConfigStoreSvc is a mock of ConfigStoreSvc interface

func NewMockConfigStoreSvc

func NewMockConfigStoreSvc(ctrl *gomock.Controller) *MockConfigStoreSvc

NewMockConfigStoreSvc creates a new mock instance

func (*MockConfigStoreSvc) EXPECT

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

func (*MockConfigStoreSvc) GetEnvironment

func (m *MockConfigStoreSvc) GetEnvironment(appName, environmentName string) (*config.Environment, error)

GetEnvironment mocks base method

func (*MockConfigStoreSvc) ListEnvironments

func (m *MockConfigStoreSvc) ListEnvironments(appName string) ([]*config.Environment, error)

ListEnvironments mocks base method

func (*MockConfigStoreSvc) ListServices

func (m *MockConfigStoreSvc) ListServices(appName string) ([]*config.Service, error)

ListServices mocks base method

type MockConfigStoreSvcMockRecorder

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

MockConfigStoreSvcMockRecorder is the mock recorder for MockConfigStoreSvc

func (*MockConfigStoreSvcMockRecorder) GetEnvironment

func (mr *MockConfigStoreSvcMockRecorder) GetEnvironment(appName, environmentName interface{}) *gomock.Call

GetEnvironment indicates an expected call of GetEnvironment

func (*MockConfigStoreSvcMockRecorder) ListEnvironments

func (mr *MockConfigStoreSvcMockRecorder) ListEnvironments(appName interface{}) *gomock.Call

ListEnvironments indicates an expected call of ListEnvironments

func (*MockConfigStoreSvcMockRecorder) ListServices

func (mr *MockConfigStoreSvcMockRecorder) ListServices(appName interface{}) *gomock.Call

ListServices indicates an expected call of ListServices

type MockDeployedEnvServicesLister

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

MockDeployedEnvServicesLister is a mock of DeployedEnvServicesLister interface

func NewMockDeployedEnvServicesLister

func NewMockDeployedEnvServicesLister(ctrl *gomock.Controller) *MockDeployedEnvServicesLister

NewMockDeployedEnvServicesLister creates a new mock instance

func (*MockDeployedEnvServicesLister) EXPECT

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

func (*MockDeployedEnvServicesLister) ListDeployedServices

func (m *MockDeployedEnvServicesLister) ListDeployedServices(appName, envName string) ([]string, error)

ListDeployedServices mocks base method

func (*MockDeployedEnvServicesLister) ListEnvironmentsDeployedTo

func (m *MockDeployedEnvServicesLister) ListEnvironmentsDeployedTo(appName, svcName string) ([]string, error)

ListEnvironmentsDeployedTo mocks base method

type MockDeployedEnvServicesListerMockRecorder

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

MockDeployedEnvServicesListerMockRecorder is the mock recorder for MockDeployedEnvServicesLister

func (*MockDeployedEnvServicesListerMockRecorder) ListDeployedServices

func (mr *MockDeployedEnvServicesListerMockRecorder) ListDeployedServices(appName, envName interface{}) *gomock.Call

ListDeployedServices indicates an expected call of ListDeployedServices

func (*MockDeployedEnvServicesListerMockRecorder) ListEnvironmentsDeployedTo

func (mr *MockDeployedEnvServicesListerMockRecorder) ListEnvironmentsDeployedTo(appName, svcName interface{}) *gomock.Call

ListEnvironmentsDeployedTo indicates an expected call of ListEnvironmentsDeployedTo

type MockHumanJSONStringer

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

MockHumanJSONStringer is a mock of HumanJSONStringer interface

func NewMockHumanJSONStringer

func NewMockHumanJSONStringer(ctrl *gomock.Controller) *MockHumanJSONStringer

NewMockHumanJSONStringer creates a new mock instance

func (*MockHumanJSONStringer) EXPECT

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

func (*MockHumanJSONStringer) HumanString

func (m *MockHumanJSONStringer) HumanString() string

HumanString mocks base method

func (*MockHumanJSONStringer) JSONString

func (m *MockHumanJSONStringer) JSONString() (string, error)

JSONString mocks base method

type MockHumanJSONStringerMockRecorder

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

MockHumanJSONStringerMockRecorder is the mock recorder for MockHumanJSONStringer

func (*MockHumanJSONStringerMockRecorder) HumanString

func (mr *MockHumanJSONStringerMockRecorder) HumanString() *gomock.Call

HumanString indicates an expected call of HumanString

func (*MockHumanJSONStringerMockRecorder) JSONString

func (mr *MockHumanJSONStringerMockRecorder) JSONString() *gomock.Call

JSONString indicates an expected call of JSONString

type MockalarmStatusGetter

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

MockalarmStatusGetter is a mock of alarmStatusGetter interface

func NewMockalarmStatusGetter

func NewMockalarmStatusGetter(ctrl *gomock.Controller) *MockalarmStatusGetter

NewMockalarmStatusGetter creates a new mock instance

func (*MockalarmStatusGetter) EXPECT

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

func (*MockalarmStatusGetter) GetAlarmsWithTags

func (m *MockalarmStatusGetter) GetAlarmsWithTags(tags map[string]string) ([]cloudwatch.AlarmStatus, error)

GetAlarmsWithTags mocks base method

type MockalarmStatusGetterMockRecorder

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

MockalarmStatusGetterMockRecorder is the mock recorder for MockalarmStatusGetter

func (*MockalarmStatusGetterMockRecorder) GetAlarmsWithTags

func (mr *MockalarmStatusGetterMockRecorder) GetAlarmsWithTags(tags interface{}) *gomock.Call

GetAlarmsWithTags indicates an expected call of GetAlarmsWithTags

type MockcfnStackDescriber

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

MockcfnStackDescriber is a mock of cfnStackDescriber interface

func NewMockcfnStackDescriber

func NewMockcfnStackDescriber(ctrl *gomock.Controller) *MockcfnStackDescriber

NewMockcfnStackDescriber creates a new mock instance

func (*MockcfnStackDescriber) DescribeStackResources

DescribeStackResources mocks base method

func (*MockcfnStackDescriber) DescribeStacks

DescribeStacks mocks base method

func (*MockcfnStackDescriber) EXPECT

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

type MockcfnStackDescriberMockRecorder

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

MockcfnStackDescriberMockRecorder is the mock recorder for MockcfnStackDescriber

func (*MockcfnStackDescriberMockRecorder) DescribeStackResources

func (mr *MockcfnStackDescriberMockRecorder) DescribeStackResources(input interface{}) *gomock.Call

DescribeStackResources indicates an expected call of DescribeStackResources

func (*MockcfnStackDescriberMockRecorder) DescribeStacks

func (mr *MockcfnStackDescriberMockRecorder) DescribeStacks(input interface{}) *gomock.Call

DescribeStacks indicates an expected call of DescribeStacks

type MockecsClient

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

MockecsClient is a mock of ecsClient interface

func NewMockecsClient

func NewMockecsClient(ctrl *gomock.Controller) *MockecsClient

NewMockecsClient creates a new mock instance

func (*MockecsClient) EXPECT

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

func (*MockecsClient) TaskDefinition

func (m *MockecsClient) TaskDefinition(taskDefName string) (*ecs.TaskDefinition, error)

TaskDefinition mocks base method

type MockecsClientMockRecorder

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

MockecsClientMockRecorder is the mock recorder for MockecsClient

func (*MockecsClientMockRecorder) TaskDefinition

func (mr *MockecsClientMockRecorder) TaskDefinition(taskDefName interface{}) *gomock.Call

TaskDefinition indicates an expected call of TaskDefinition

type MockecsServiceGetter

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

MockecsServiceGetter is a mock of ecsServiceGetter interface

func NewMockecsServiceGetter

func NewMockecsServiceGetter(ctrl *gomock.Controller) *MockecsServiceGetter

NewMockecsServiceGetter creates a new mock instance

func (*MockecsServiceGetter) EXPECT

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

func (*MockecsServiceGetter) Service

func (m *MockecsServiceGetter) Service(clusterName, serviceName string) (*ecs.Service, error)

Service mocks base method

func (*MockecsServiceGetter) ServiceTasks

func (m *MockecsServiceGetter) ServiceTasks(clusterName, serviceName string) ([]*ecs.Task, error)

ServiceTasks mocks base method

type MockecsServiceGetterMockRecorder

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

MockecsServiceGetterMockRecorder is the mock recorder for MockecsServiceGetter

func (*MockecsServiceGetterMockRecorder) Service

func (mr *MockecsServiceGetterMockRecorder) Service(clusterName, serviceName interface{}) *gomock.Call

Service indicates an expected call of Service

func (*MockecsServiceGetterMockRecorder) ServiceTasks

func (mr *MockecsServiceGetterMockRecorder) ServiceTasks(clusterName, serviceName interface{}) *gomock.Call

ServiceTasks indicates an expected call of ServiceTasks

type MockpipelineGetter

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

MockpipelineGetter is a mock of pipelineGetter interface

func NewMockpipelineGetter

func NewMockpipelineGetter(ctrl *gomock.Controller) *MockpipelineGetter

NewMockpipelineGetter creates a new mock instance

func (*MockpipelineGetter) EXPECT

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

func (*MockpipelineGetter) GetPipeline

func (m *MockpipelineGetter) GetPipeline(pipelineName string) (*codepipeline.Pipeline, error)

GetPipeline mocks base method

type MockpipelineGetterMockRecorder

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

MockpipelineGetterMockRecorder is the mock recorder for MockpipelineGetter

func (*MockpipelineGetterMockRecorder) GetPipeline

func (mr *MockpipelineGetterMockRecorder) GetPipeline(pipelineName interface{}) *gomock.Call

GetPipeline indicates an expected call of GetPipeline

type MockpipelineStateGetter

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

MockpipelineStateGetter is a mock of pipelineStateGetter interface

func NewMockpipelineStateGetter

func NewMockpipelineStateGetter(ctrl *gomock.Controller) *MockpipelineStateGetter

NewMockpipelineStateGetter creates a new mock instance

func (*MockpipelineStateGetter) EXPECT

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

func (*MockpipelineStateGetter) GetPipelineState

func (m *MockpipelineStateGetter) GetPipelineState(pipelineName string) (*codepipeline.PipelineState, error)

GetPipelineState mocks base method

type MockpipelineStateGetterMockRecorder

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

MockpipelineStateGetterMockRecorder is the mock recorder for MockpipelineStateGetter

func (*MockpipelineStateGetterMockRecorder) GetPipelineState

func (mr *MockpipelineStateGetterMockRecorder) GetPipelineState(pipelineName interface{}) *gomock.Call

GetPipelineState indicates an expected call of GetPipelineState

type MockresourcesGetter

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

MockresourcesGetter is a mock of resourcesGetter interface

func NewMockresourcesGetter

func NewMockresourcesGetter(ctrl *gomock.Controller) *MockresourcesGetter

NewMockresourcesGetter creates a new mock instance

func (*MockresourcesGetter) EXPECT

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

func (*MockresourcesGetter) GetResourcesByTags

func (m *MockresourcesGetter) GetResourcesByTags(resourceType string, tags map[string]string) ([]*resourcegroups.Resource, error)

GetResourcesByTags mocks base method

type MockresourcesGetterMockRecorder

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

MockresourcesGetterMockRecorder is the mock recorder for MockresourcesGetter

func (*MockresourcesGetterMockRecorder) GetResourcesByTags

func (mr *MockresourcesGetterMockRecorder) GetResourcesByTags(resourceType, tags interface{}) *gomock.Call

GetResourcesByTags indicates an expected call of GetResourcesByTags

type MockstackAndResourcesDescriber

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

MockstackAndResourcesDescriber is a mock of stackAndResourcesDescriber interface

func NewMockstackAndResourcesDescriber

func NewMockstackAndResourcesDescriber(ctrl *gomock.Controller) *MockstackAndResourcesDescriber

NewMockstackAndResourcesDescriber creates a new mock instance

func (*MockstackAndResourcesDescriber) EXPECT

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

func (*MockstackAndResourcesDescriber) Stack

Stack mocks base method

func (*MockstackAndResourcesDescriber) StackResources

func (m *MockstackAndResourcesDescriber) StackResources(stackName string) ([]*cloudformation.StackResource, error)

StackResources mocks base method

type MockstackAndResourcesDescriberMockRecorder

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

MockstackAndResourcesDescriberMockRecorder is the mock recorder for MockstackAndResourcesDescriber

func (*MockstackAndResourcesDescriberMockRecorder) Stack

func (mr *MockstackAndResourcesDescriberMockRecorder) Stack(stackName interface{}) *gomock.Call

Stack indicates an expected call of Stack

func (*MockstackAndResourcesDescriberMockRecorder) StackResources

func (mr *MockstackAndResourcesDescriberMockRecorder) StackResources(stackName interface{}) *gomock.Call

StackResources indicates an expected call of StackResources

type MockstackResourcesDescriber

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

MockstackResourcesDescriber is a mock of stackResourcesDescriber interface

func NewMockstackResourcesDescriber

func NewMockstackResourcesDescriber(ctrl *gomock.Controller) *MockstackResourcesDescriber

NewMockstackResourcesDescriber creates a new mock instance

func (*MockstackResourcesDescriber) EXPECT

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

func (*MockstackResourcesDescriber) StackResources

func (m *MockstackResourcesDescriber) StackResources(stackName string) ([]*cloudformation.StackResource, error)

StackResources mocks base method

type MockstackResourcesDescriberMockRecorder

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

MockstackResourcesDescriberMockRecorder is the mock recorder for MockstackResourcesDescriber

func (*MockstackResourcesDescriberMockRecorder) StackResources

func (mr *MockstackResourcesDescriberMockRecorder) StackResources(stackName interface{}) *gomock.Call

StackResources indicates an expected call of StackResources

type MocksvcDescriber

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

MocksvcDescriber is a mock of svcDescriber interface

func NewMocksvcDescriber

func NewMocksvcDescriber(ctrl *gomock.Controller) *MocksvcDescriber

NewMocksvcDescriber creates a new mock instance

func (*MocksvcDescriber) EXPECT

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

func (*MocksvcDescriber) EnvOutputs

func (m *MocksvcDescriber) EnvOutputs() (map[string]string, error)

EnvOutputs mocks base method

func (*MocksvcDescriber) EnvVars

func (m *MocksvcDescriber) EnvVars() (map[string]string, error)

EnvVars mocks base method

func (*MocksvcDescriber) Params

func (m *MocksvcDescriber) Params() (map[string]string, error)

Params mocks base method

func (*MocksvcDescriber) ServiceStackResources

func (m *MocksvcDescriber) ServiceStackResources() ([]*cloudformation.StackResource, error)

ServiceStackResources mocks base method

type MocksvcDescriberMockRecorder

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

MocksvcDescriberMockRecorder is the mock recorder for MocksvcDescriber

func (*MocksvcDescriberMockRecorder) EnvOutputs

func (mr *MocksvcDescriberMockRecorder) EnvOutputs() *gomock.Call

EnvOutputs indicates an expected call of EnvOutputs

func (*MocksvcDescriberMockRecorder) EnvVars

func (mr *MocksvcDescriberMockRecorder) EnvVars() *gomock.Call

EnvVars indicates an expected call of EnvVars

func (*MocksvcDescriberMockRecorder) Params

Params indicates an expected call of Params

func (*MocksvcDescriberMockRecorder) ServiceStackResources

func (mr *MocksvcDescriberMockRecorder) ServiceStackResources() *gomock.Call

ServiceStackResources indicates an expected call of ServiceStackResources

Jump to

Keyboard shortcuts

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