mocks

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2021 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.Workload, 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) AlarmStatus added in v0.4.0

func (m *MockalarmStatusGetter) AlarmStatus(alarms []string) ([]cloudwatch.AlarmStatus, error)

AlarmStatus mocks base method.

func (*MockalarmStatusGetter) AlarmsWithTags added in v0.4.0

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

AlarmsWithTags mocks base method.

func (*MockalarmStatusGetter) EXPECT

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

type MockalarmStatusGetterMockRecorder

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

MockalarmStatusGetterMockRecorder is the mock recorder for MockalarmStatusGetter.

func (*MockalarmStatusGetterMockRecorder) AlarmStatus added in v0.4.0

func (mr *MockalarmStatusGetterMockRecorder) AlarmStatus(alarms interface{}) *gomock.Call

AlarmStatus indicates an expected call of AlarmStatus.

func (*MockalarmStatusGetterMockRecorder) AlarmsWithTags added in v0.4.0

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

AlarmsWithTags indicates an expected call of AlarmsWithTags.

type MockautoscalingAlarmNamesGetter added in v0.4.0

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

MockautoscalingAlarmNamesGetter is a mock of autoscalingAlarmNamesGetter interface.

func NewMockautoscalingAlarmNamesGetter added in v0.4.0

func NewMockautoscalingAlarmNamesGetter(ctrl *gomock.Controller) *MockautoscalingAlarmNamesGetter

NewMockautoscalingAlarmNamesGetter creates a new mock instance.

func (*MockautoscalingAlarmNamesGetter) ECSServiceAlarmNames added in v0.4.0

func (m *MockautoscalingAlarmNamesGetter) ECSServiceAlarmNames(cluster, service string) ([]string, error)

ECSServiceAlarmNames mocks base method.

func (*MockautoscalingAlarmNamesGetter) EXPECT added in v0.4.0

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

type MockautoscalingAlarmNamesGetterMockRecorder added in v0.4.0

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

MockautoscalingAlarmNamesGetterMockRecorder is the mock recorder for MockautoscalingAlarmNamesGetter.

func (*MockautoscalingAlarmNamesGetterMockRecorder) ECSServiceAlarmNames added in v0.4.0

func (mr *MockautoscalingAlarmNamesGetterMockRecorder) ECSServiceAlarmNames(cluster, service interface{}) *gomock.Call

ECSServiceAlarmNames indicates an expected call of ECSServiceAlarmNames.

type Mockcfn added in v1.5.0

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

Mockcfn is a mock of cfn interface.

func NewMockcfn added in v1.5.0

func NewMockcfn(ctrl *gomock.Controller) *Mockcfn

NewMockcfn creates a new mock instance.

func (*Mockcfn) Describe added in v1.5.0

func (m *Mockcfn) Describe(name string) (*cloudformation.StackDescription, error)

Describe mocks base method.

func (*Mockcfn) EXPECT added in v1.5.0

func (m *Mockcfn) EXPECT() *MockcfnMockRecorder

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

func (*Mockcfn) Metadata added in v1.5.0

func (m *Mockcfn) Metadata(opt cloudformation.MetadataOpts) (string, error)

Metadata mocks base method.

func (*Mockcfn) StackResources added in v1.5.0

func (m *Mockcfn) StackResources(name string) ([]*cloudformation.StackResource, error)

StackResources mocks base method.

type MockcfnMockRecorder added in v1.5.0

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

MockcfnMockRecorder is the mock recorder for Mockcfn.

func (*MockcfnMockRecorder) Describe added in v1.5.0

func (mr *MockcfnMockRecorder) Describe(name interface{}) *gomock.Call

Describe indicates an expected call of Describe.

func (*MockcfnMockRecorder) Metadata added in v1.5.0

func (mr *MockcfnMockRecorder) Metadata(opt interface{}) *gomock.Call

Metadata indicates an expected call of Metadata.

func (*MockcfnMockRecorder) StackResources added in v1.5.0

func (mr *MockcfnMockRecorder) StackResources(name interface{}) *gomock.Call

StackResources indicates an expected call of StackResources.

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(app, env, svc 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(app, env, svc 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 MockserviceDescriber added in v1.1.0

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

MockserviceDescriber is a mock of serviceDescriber interface.

func NewMockserviceDescriber added in v1.1.0

func NewMockserviceDescriber(ctrl *gomock.Controller) *MockserviceDescriber

NewMockserviceDescriber creates a new mock instance.

func (*MockserviceDescriber) DescribeService added in v1.1.0

func (m *MockserviceDescriber) DescribeService(app, env, svc string) (*ecs0.ServiceDesc, error)

DescribeService mocks base method.

func (*MockserviceDescriber) EXPECT added in v1.1.0

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

type MockserviceDescriberMockRecorder added in v1.1.0

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

MockserviceDescriberMockRecorder is the mock recorder for MockserviceDescriber.

func (*MockserviceDescriberMockRecorder) DescribeService added in v1.1.0

func (mr *MockserviceDescriberMockRecorder) DescribeService(app, env, svc interface{}) *gomock.Call

DescribeService indicates an expected call of DescribeService.

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() ([]*ecs.ContainerEnvVar, error)

EnvVars mocks base method.

func (*MocksvcDescriber) Params

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

Params mocks base method.

func (*MocksvcDescriber) Secrets added in v1.1.0

func (m *MocksvcDescriber) Secrets() ([]*ecs.ContainerSecret, error)

Secrets 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) Secrets added in v1.1.0

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

Secrets indicates an expected call of Secrets.

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