mocks

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2021 License: Apache-2.0 Imports: 10 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAppEnvLister

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

MockAppEnvLister is a mock of AppEnvLister interface.

func NewMockAppEnvLister

func NewMockAppEnvLister(ctrl *gomock.Controller) *MockAppEnvLister

NewMockAppEnvLister creates a new mock instance.

func (*MockAppEnvLister) EXPECT

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

func (*MockAppEnvLister) ListApplications

func (m *MockAppEnvLister) ListApplications() ([]*config.Application, error)

ListApplications mocks base method.

func (*MockAppEnvLister) ListEnvironments

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

ListEnvironments mocks base method.

type MockAppEnvListerMockRecorder

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

MockAppEnvListerMockRecorder is the mock recorder for MockAppEnvLister.

func (*MockAppEnvListerMockRecorder) ListApplications

func (mr *MockAppEnvListerMockRecorder) ListApplications() *gomock.Call

ListApplications indicates an expected call of ListApplications.

func (*MockAppEnvListerMockRecorder) ListEnvironments

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

ListEnvironments indicates an expected call of ListEnvironments.

type MockConfigLister

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

MockConfigLister is a mock of ConfigLister interface.

func NewMockConfigLister

func NewMockConfigLister(ctrl *gomock.Controller) *MockConfigLister

NewMockConfigLister creates a new mock instance.

func (*MockConfigLister) EXPECT

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

func (*MockConfigLister) ListApplications

func (m *MockConfigLister) ListApplications() ([]*config.Application, error)

ListApplications mocks base method.

func (*MockConfigLister) ListEnvironments

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

ListEnvironments mocks base method.

func (*MockConfigLister) ListJobs added in v0.5.0

func (m *MockConfigLister) ListJobs(appName string) ([]*config.Workload, error)

ListJobs mocks base method.

func (*MockConfigLister) ListServices

func (m *MockConfigLister) ListServices(appName string) ([]*config.Workload, error)

ListServices mocks base method.

func (*MockConfigLister) ListWorkloads added in v0.6.0

func (m *MockConfigLister) ListWorkloads(appName string) ([]*config.Workload, error)

ListWorkloads mocks base method.

type MockConfigListerMockRecorder

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

MockConfigListerMockRecorder is the mock recorder for MockConfigLister.

func (*MockConfigListerMockRecorder) ListApplications

func (mr *MockConfigListerMockRecorder) ListApplications() *gomock.Call

ListApplications indicates an expected call of ListApplications.

func (*MockConfigListerMockRecorder) ListEnvironments

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

ListEnvironments indicates an expected call of ListEnvironments.

func (*MockConfigListerMockRecorder) ListJobs added in v0.5.0

func (mr *MockConfigListerMockRecorder) ListJobs(appName interface{}) *gomock.Call

ListJobs indicates an expected call of ListJobs.

func (*MockConfigListerMockRecorder) ListServices

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

ListServices indicates an expected call of ListServices.

func (*MockConfigListerMockRecorder) ListWorkloads added in v0.6.0

func (mr *MockConfigListerMockRecorder) ListWorkloads(appName interface{}) *gomock.Call

ListWorkloads indicates an expected call of ListWorkloads.

type MockConfigWorkloadLister added in v0.5.0

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

MockConfigWorkloadLister is a mock of ConfigWorkloadLister interface.

func NewMockConfigWorkloadLister added in v0.5.0

func NewMockConfigWorkloadLister(ctrl *gomock.Controller) *MockConfigWorkloadLister

NewMockConfigWorkloadLister creates a new mock instance.

func (*MockConfigWorkloadLister) EXPECT added in v0.5.0

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

func (*MockConfigWorkloadLister) ListJobs added in v0.5.0

func (m *MockConfigWorkloadLister) ListJobs(appName string) ([]*config.Workload, error)

ListJobs mocks base method.

func (*MockConfigWorkloadLister) ListServices added in v0.5.0

func (m *MockConfigWorkloadLister) ListServices(appName string) ([]*config.Workload, error)

ListServices mocks base method.

func (*MockConfigWorkloadLister) ListWorkloads added in v0.6.0

func (m *MockConfigWorkloadLister) ListWorkloads(appName string) ([]*config.Workload, error)

ListWorkloads mocks base method.

type MockConfigWorkloadListerMockRecorder added in v0.5.0

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

MockConfigWorkloadListerMockRecorder is the mock recorder for MockConfigWorkloadLister.

func (*MockConfigWorkloadListerMockRecorder) ListJobs added in v0.5.0

func (mr *MockConfigWorkloadListerMockRecorder) ListJobs(appName interface{}) *gomock.Call

ListJobs indicates an expected call of ListJobs.

func (*MockConfigWorkloadListerMockRecorder) ListServices added in v0.5.0

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

ListServices indicates an expected call of ListServices.

func (*MockConfigWorkloadListerMockRecorder) ListWorkloads added in v0.6.0

func (mr *MockConfigWorkloadListerMockRecorder) ListWorkloads(appName interface{}) *gomock.Call

ListWorkloads indicates an expected call of ListWorkloads.

type MockDeployStoreClient

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

MockDeployStoreClient is a mock of DeployStoreClient interface.

func NewMockDeployStoreClient

func NewMockDeployStoreClient(ctrl *gomock.Controller) *MockDeployStoreClient

NewMockDeployStoreClient creates a new mock instance.

func (*MockDeployStoreClient) EXPECT

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

func (*MockDeployStoreClient) IsJobDeployed added in v1.7.0

func (m *MockDeployStoreClient) IsJobDeployed(appName, envName, jobName string) (bool, error)

IsJobDeployed mocks base method.

func (*MockDeployStoreClient) IsServiceDeployed

func (m *MockDeployStoreClient) IsServiceDeployed(appName, envName, svcName string) (bool, error)

IsServiceDeployed mocks base method.

func (*MockDeployStoreClient) ListDeployedJobs added in v1.7.0

func (m *MockDeployStoreClient) ListDeployedJobs(appName, envName string) ([]string, error)

ListDeployedJobs mocks base method.

func (*MockDeployStoreClient) ListDeployedServices

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

ListDeployedServices mocks base method.

type MockDeployStoreClientMockRecorder

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

MockDeployStoreClientMockRecorder is the mock recorder for MockDeployStoreClient.

func (*MockDeployStoreClientMockRecorder) IsJobDeployed added in v1.7.0

func (mr *MockDeployStoreClientMockRecorder) IsJobDeployed(appName, envName, jobName interface{}) *gomock.Call

IsJobDeployed indicates an expected call of IsJobDeployed.

func (*MockDeployStoreClientMockRecorder) IsServiceDeployed

func (mr *MockDeployStoreClientMockRecorder) IsServiceDeployed(appName, envName, svcName interface{}) *gomock.Call

IsServiceDeployed indicates an expected call of IsServiceDeployed.

func (*MockDeployStoreClientMockRecorder) ListDeployedJobs added in v1.7.0

func (mr *MockDeployStoreClientMockRecorder) ListDeployedJobs(appName, envName interface{}) *gomock.Call

ListDeployedJobs indicates an expected call of ListDeployedJobs.

func (*MockDeployStoreClientMockRecorder) ListDeployedServices

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

ListDeployedServices indicates an expected call of ListDeployedServices.

type MockNames added in v0.3.0

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

MockNames is a mock of Names interface.

func NewMockNames added in v0.3.0

func NewMockNames(ctrl *gomock.Controller) *MockNames

NewMockNames creates a new mock instance.

func (*MockNames) EXPECT added in v0.3.0

func (m *MockNames) EXPECT() *MockNamesMockRecorder

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

func (*MockNames) Names added in v0.3.0

func (m *MockNames) Names() []string

Names mocks base method.

type MockNamesMockRecorder added in v0.3.0

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

MockNamesMockRecorder is the mock recorder for MockNames.

func (*MockNamesMockRecorder) Names added in v0.3.0

func (mr *MockNamesMockRecorder) Names() *gomock.Call

Names indicates an expected call of Names.

type MockPrompter

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

MockPrompter is a mock of Prompter interface.

func NewMockPrompter

func NewMockPrompter(ctrl *gomock.Controller) *MockPrompter

NewMockPrompter creates a new mock instance.

func (*MockPrompter) Confirm added in v0.5.0

func (m *MockPrompter) Confirm(message, help string, promptOpts ...prompt.PromptConfig) (bool, error)

Confirm mocks base method.

func (*MockPrompter) EXPECT

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

func (*MockPrompter) Get added in v0.3.0

func (m *MockPrompter) Get(message, help string, validator prompt.ValidatorFunc, promptOpts ...prompt.PromptConfig) (string, error)

Get mocks base method.

func (*MockPrompter) MultiSelect added in v0.3.0

func (m *MockPrompter) MultiSelect(message, help string, options []string, promptOpts ...prompt.PromptConfig) ([]string, error)

MultiSelect mocks base method.

func (*MockPrompter) SelectOne

func (m *MockPrompter) SelectOne(message, help string, options []string, promptOpts ...prompt.PromptConfig) (string, error)

SelectOne mocks base method.

type MockPrompterMockRecorder

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

MockPrompterMockRecorder is the mock recorder for MockPrompter.

func (*MockPrompterMockRecorder) Confirm added in v0.5.0

func (mr *MockPrompterMockRecorder) Confirm(message, help interface{}, promptOpts ...interface{}) *gomock.Call

Confirm indicates an expected call of Confirm.

func (*MockPrompterMockRecorder) Get added in v0.3.0

func (mr *MockPrompterMockRecorder) Get(message, help, validator interface{}, promptOpts ...interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockPrompterMockRecorder) MultiSelect added in v0.3.0

func (mr *MockPrompterMockRecorder) MultiSelect(message, help, options interface{}, promptOpts ...interface{}) *gomock.Call

MultiSelect indicates an expected call of MultiSelect.

func (*MockPrompterMockRecorder) SelectOne

func (mr *MockPrompterMockRecorder) SelectOne(message, help, options interface{}, promptOpts ...interface{}) *gomock.Call

SelectOne indicates an expected call of SelectOne.

type MockSessionProvider added in v0.3.0

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

MockSessionProvider is a mock of SessionProvider interface.

func NewMockSessionProvider added in v0.3.0

func NewMockSessionProvider(ctrl *gomock.Controller) *MockSessionProvider

NewMockSessionProvider creates a new mock instance.

func (*MockSessionProvider) Default added in v0.3.0

func (m *MockSessionProvider) Default() (*session.Session, error)

Default mocks base method.

func (*MockSessionProvider) EXPECT added in v0.3.0

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

func (*MockSessionProvider) FromProfile added in v0.3.0

func (m *MockSessionProvider) FromProfile(name string) (*session.Session, error)

FromProfile mocks base method.

func (*MockSessionProvider) FromStaticCreds added in v0.3.0

func (m *MockSessionProvider) FromStaticCreds(accessKeyID, secretAccessKey, sessionToken string) (*session.Session, error)

FromStaticCreds mocks base method.

type MockSessionProviderMockRecorder added in v0.3.0

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

MockSessionProviderMockRecorder is the mock recorder for MockSessionProvider.

func (*MockSessionProviderMockRecorder) Default added in v0.3.0

Default indicates an expected call of Default.

func (*MockSessionProviderMockRecorder) FromProfile added in v0.3.0

func (mr *MockSessionProviderMockRecorder) FromProfile(name interface{}) *gomock.Call

FromProfile indicates an expected call of FromProfile.

func (*MockSessionProviderMockRecorder) FromStaticCreds added in v0.3.0

func (mr *MockSessionProviderMockRecorder) FromStaticCreds(accessKeyID, secretAccessKey, sessionToken interface{}) *gomock.Call

FromStaticCreds indicates an expected call of FromStaticCreds.

type MockTaskLister added in v1.1.0

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

MockTaskLister is a mock of TaskLister interface.

func NewMockTaskLister added in v1.1.0

func NewMockTaskLister(ctrl *gomock.Controller) *MockTaskLister

NewMockTaskLister creates a new mock instance.

func (*MockTaskLister) EXPECT added in v1.1.0

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

func (*MockTaskLister) ListActiveAppEnvTasks added in v1.1.0

func (m *MockTaskLister) ListActiveAppEnvTasks(opts ecs0.ListActiveAppEnvTasksOpts) ([]*ecs.Task, error)

ListActiveAppEnvTasks mocks base method.

func (*MockTaskLister) ListActiveDefaultClusterTasks added in v1.1.0

func (m *MockTaskLister) ListActiveDefaultClusterTasks(filter ecs0.ListTasksFilter) ([]*ecs.Task, error)

ListActiveDefaultClusterTasks mocks base method.

type MockTaskListerMockRecorder added in v1.1.0

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

MockTaskListerMockRecorder is the mock recorder for MockTaskLister.

func (*MockTaskListerMockRecorder) ListActiveAppEnvTasks added in v1.1.0

func (mr *MockTaskListerMockRecorder) ListActiveAppEnvTasks(opts interface{}) *gomock.Call

ListActiveAppEnvTasks indicates an expected call of ListActiveAppEnvTasks.

func (*MockTaskListerMockRecorder) ListActiveDefaultClusterTasks added in v1.1.0

func (mr *MockTaskListerMockRecorder) ListActiveDefaultClusterTasks(filter interface{}) *gomock.Call

ListActiveDefaultClusterTasks indicates an expected call of ListActiveDefaultClusterTasks.

type MockTaskStackDescriber added in v1.1.0

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

MockTaskStackDescriber is a mock of TaskStackDescriber interface.

func NewMockTaskStackDescriber added in v1.1.0

func NewMockTaskStackDescriber(ctrl *gomock.Controller) *MockTaskStackDescriber

NewMockTaskStackDescriber creates a new mock instance.

func (*MockTaskStackDescriber) EXPECT added in v1.1.0

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

func (*MockTaskStackDescriber) ListDefaultTaskStacks added in v1.1.0

func (m *MockTaskStackDescriber) ListDefaultTaskStacks() ([]deploy.TaskStackInfo, error)

ListDefaultTaskStacks mocks base method.

func (*MockTaskStackDescriber) ListTaskStacks added in v1.1.0

func (m *MockTaskStackDescriber) ListTaskStacks(appName, envName string) ([]deploy.TaskStackInfo, error)

ListTaskStacks mocks base method.

type MockTaskStackDescriberMockRecorder added in v1.1.0

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

MockTaskStackDescriberMockRecorder is the mock recorder for MockTaskStackDescriber.

func (*MockTaskStackDescriberMockRecorder) ListDefaultTaskStacks added in v1.1.0

func (mr *MockTaskStackDescriberMockRecorder) ListDefaultTaskStacks() *gomock.Call

ListDefaultTaskStacks indicates an expected call of ListDefaultTaskStacks.

func (*MockTaskStackDescriberMockRecorder) ListTaskStacks added in v1.1.0

func (mr *MockTaskStackDescriberMockRecorder) ListTaskStacks(appName, envName interface{}) *gomock.Call

ListTaskStacks indicates an expected call of ListTaskStacks.

type MockVPCSubnetLister added in v0.3.0

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

MockVPCSubnetLister is a mock of VPCSubnetLister interface.

func NewMockVPCSubnetLister added in v0.3.0

func NewMockVPCSubnetLister(ctrl *gomock.Controller) *MockVPCSubnetLister

NewMockVPCSubnetLister creates a new mock instance.

func (*MockVPCSubnetLister) EXPECT added in v0.3.0

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

func (*MockVPCSubnetLister) ListVPCSubnets added in v0.3.0

func (m *MockVPCSubnetLister) ListVPCSubnets(vpcID string) (*ec2.VPCSubnets, error)

ListVPCSubnets mocks base method.

func (*MockVPCSubnetLister) ListVPCs added in v0.4.0

func (m *MockVPCSubnetLister) ListVPCs() ([]ec2.VPC, error)

ListVPCs mocks base method.

type MockVPCSubnetListerMockRecorder added in v0.3.0

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

MockVPCSubnetListerMockRecorder is the mock recorder for MockVPCSubnetLister.

func (*MockVPCSubnetListerMockRecorder) ListVPCSubnets added in v0.3.0

func (mr *MockVPCSubnetListerMockRecorder) ListVPCSubnets(vpcID interface{}) *gomock.Call

ListVPCSubnets indicates an expected call of ListVPCSubnets.

func (*MockVPCSubnetListerMockRecorder) ListVPCs added in v0.4.0

ListVPCs indicates an expected call of ListVPCs.

type MockWorkspaceRetriever added in v0.5.0

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

MockWorkspaceRetriever is a mock of WorkspaceRetriever interface.

func NewMockWorkspaceRetriever added in v0.5.0

func NewMockWorkspaceRetriever(ctrl *gomock.Controller) *MockWorkspaceRetriever

NewMockWorkspaceRetriever creates a new mock instance.

func (*MockWorkspaceRetriever) EXPECT added in v0.5.0

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

func (*MockWorkspaceRetriever) JobNames added in v0.5.0

func (m *MockWorkspaceRetriever) JobNames() ([]string, error)

JobNames mocks base method.

func (*MockWorkspaceRetriever) ListDockerfiles added in v0.5.0

func (m *MockWorkspaceRetriever) ListDockerfiles() ([]string, error)

ListDockerfiles mocks base method.

func (*MockWorkspaceRetriever) ServiceNames added in v0.5.0

func (m *MockWorkspaceRetriever) ServiceNames() ([]string, error)

ServiceNames mocks base method.

func (*MockWorkspaceRetriever) Summary added in v0.5.0

func (m *MockWorkspaceRetriever) Summary() (*workspace.Summary, error)

Summary mocks base method.

func (*MockWorkspaceRetriever) WorkloadNames added in v0.6.0

func (m *MockWorkspaceRetriever) WorkloadNames() ([]string, error)

WorkloadNames mocks base method.

type MockWorkspaceRetrieverMockRecorder added in v0.5.0

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

MockWorkspaceRetrieverMockRecorder is the mock recorder for MockWorkspaceRetriever.

func (*MockWorkspaceRetrieverMockRecorder) JobNames added in v0.5.0

JobNames indicates an expected call of JobNames.

func (*MockWorkspaceRetrieverMockRecorder) ListDockerfiles added in v0.5.0

func (mr *MockWorkspaceRetrieverMockRecorder) ListDockerfiles() *gomock.Call

ListDockerfiles indicates an expected call of ListDockerfiles.

func (*MockWorkspaceRetrieverMockRecorder) ServiceNames added in v0.5.0

func (mr *MockWorkspaceRetrieverMockRecorder) ServiceNames() *gomock.Call

ServiceNames indicates an expected call of ServiceNames.

func (*MockWorkspaceRetrieverMockRecorder) Summary added in v0.5.0

Summary indicates an expected call of Summary.

func (*MockWorkspaceRetrieverMockRecorder) WorkloadNames added in v0.6.0

func (mr *MockWorkspaceRetrieverMockRecorder) WorkloadNames() *gomock.Call

WorkloadNames indicates an expected call of WorkloadNames.

type MockWsWorkloadLister added in v0.5.0

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

MockWsWorkloadLister is a mock of WsWorkloadLister interface.

func NewMockWsWorkloadLister added in v0.5.0

func NewMockWsWorkloadLister(ctrl *gomock.Controller) *MockWsWorkloadLister

NewMockWsWorkloadLister creates a new mock instance.

func (*MockWsWorkloadLister) EXPECT added in v0.5.0

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

func (*MockWsWorkloadLister) JobNames added in v0.5.0

func (m *MockWsWorkloadLister) JobNames() ([]string, error)

JobNames mocks base method.

func (*MockWsWorkloadLister) ServiceNames added in v0.5.0

func (m *MockWsWorkloadLister) ServiceNames() ([]string, error)

ServiceNames mocks base method.

func (*MockWsWorkloadLister) WorkloadNames added in v0.6.0

func (m *MockWsWorkloadLister) WorkloadNames() ([]string, error)

WorkloadNames mocks base method.

type MockWsWorkloadListerMockRecorder added in v0.5.0

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

MockWsWorkloadListerMockRecorder is the mock recorder for MockWsWorkloadLister.

func (*MockWsWorkloadListerMockRecorder) JobNames added in v0.5.0

JobNames indicates an expected call of JobNames.

func (*MockWsWorkloadListerMockRecorder) ServiceNames added in v0.5.0

func (mr *MockWsWorkloadListerMockRecorder) ServiceNames() *gomock.Call

ServiceNames indicates an expected call of ServiceNames.

func (*MockWsWorkloadListerMockRecorder) WorkloadNames added in v0.6.0

func (mr *MockWsWorkloadListerMockRecorder) WorkloadNames() *gomock.Call

WorkloadNames indicates an expected call of WorkloadNames.

Jump to

Keyboard shortcuts

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