Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockAppEnvLister
- type MockAppEnvListerMockRecorder
- type MockConfigLister
- func (m *MockConfigLister) EXPECT() *MockConfigListerMockRecorder
- func (m *MockConfigLister) ListApplications() ([]*config.Application, error)
- func (m *MockConfigLister) ListEnvironments(appName string) ([]*config.Environment, error)
- func (m *MockConfigLister) ListJobs(appName string) ([]*config.Workload, error)
- func (m *MockConfigLister) ListServices(appName string) ([]*config.Workload, error)
- type MockConfigListerMockRecorder
- func (mr *MockConfigListerMockRecorder) ListApplications() *gomock.Call
- func (mr *MockConfigListerMockRecorder) ListEnvironments(appName interface{}) *gomock.Call
- func (mr *MockConfigListerMockRecorder) ListJobs(appName interface{}) *gomock.Call
- func (mr *MockConfigListerMockRecorder) ListServices(appName interface{}) *gomock.Call
- type MockConfigWorkloadLister
- type MockConfigWorkloadListerMockRecorder
- type MockDeployStoreClient
- type MockDeployStoreClientMockRecorder
- type MockNames
- type MockNamesMockRecorder
- type MockPrompter
- func (m *MockPrompter) Confirm(message, help string, promptOpts ...prompt.Option) (bool, error)
- func (m *MockPrompter) EXPECT() *MockPrompterMockRecorder
- func (m *MockPrompter) Get(message, help string, validator prompt.ValidatorFunc, ...) (string, error)
- func (m *MockPrompter) MultiSelect(message, help string, options []string, promptOpts ...prompt.Option) ([]string, error)
- func (m *MockPrompter) SelectOne(message, help string, options []string, promptOpts ...prompt.Option) (string, error)
- type MockPrompterMockRecorder
- func (mr *MockPrompterMockRecorder) Confirm(message, help interface{}, promptOpts ...interface{}) *gomock.Call
- func (mr *MockPrompterMockRecorder) Get(message, help, validator interface{}, promptOpts ...interface{}) *gomock.Call
- func (mr *MockPrompterMockRecorder) MultiSelect(message, help, options interface{}, promptOpts ...interface{}) *gomock.Call
- func (mr *MockPrompterMockRecorder) SelectOne(message, help, options interface{}, promptOpts ...interface{}) *gomock.Call
- type MockSessionProvider
- func (m *MockSessionProvider) Default() (*session.Session, error)
- func (m *MockSessionProvider) EXPECT() *MockSessionProviderMockRecorder
- func (m *MockSessionProvider) FromProfile(name string) (*session.Session, error)
- func (m *MockSessionProvider) FromStaticCreds(accessKeyID, secretAccessKey, sessionToken string) (*session.Session, error)
- type MockSessionProviderMockRecorder
- type MockVPCSubnetLister
- type MockVPCSubnetListerMockRecorder
- type MockWorkspaceRetriever
- func (m *MockWorkspaceRetriever) EXPECT() *MockWorkspaceRetrieverMockRecorder
- func (m *MockWorkspaceRetriever) JobNames() ([]string, error)
- func (m *MockWorkspaceRetriever) ListDockerfiles() ([]string, error)
- func (m *MockWorkspaceRetriever) ServiceNames() ([]string, error)
- func (m *MockWorkspaceRetriever) Summary() (*workspace.Summary, error)
- type MockWorkspaceRetrieverMockRecorder
- type MockWsWorkloadLister
- type MockWsWorkloadListerMockRecorder
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 ¶
func (m *MockAppEnvLister) EXPECT() *MockAppEnvListerMockRecorder
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 ¶
func (m *MockConfigLister) EXPECT() *MockConfigListerMockRecorder
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
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
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
func (m *MockConfigWorkloadLister) EXPECT() *MockConfigWorkloadListerMockRecorder
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
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
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 ¶
func (m *MockDeployStoreClient) EXPECT() *MockDeployStoreClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDeployStoreClient) IsServiceDeployed ¶
func (m *MockDeployStoreClient) IsServiceDeployed(appName, envName, svcName string) (bool, error)
IsServiceDeployed 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) IsServiceDeployed ¶
func (mr *MockDeployStoreClientMockRecorder) IsServiceDeployed(appName, envName, svcName interface{}) *gomock.Call
IsServiceDeployed indicates an expected call of IsServiceDeployed
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
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) EXPECT ¶
func (m *MockPrompter) EXPECT() *MockPrompterMockRecorder
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.Option) (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.Option) ([]string, error)
MultiSelect 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
func (m *MockSessionProvider) EXPECT() *MockSessionProviderMockRecorder
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
func (mr *MockSessionProviderMockRecorder) Default() *gomock.Call
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 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
func (m *MockVPCSubnetLister) EXPECT() *MockVPCSubnetListerMockRecorder
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, opts ...ec2.ListVPCSubnetsOpts) ([]string, error)
ListVPCSubnets 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{}, opts ...interface{}) *gomock.Call
ListVPCSubnets indicates an expected call of ListVPCSubnets
func (*MockVPCSubnetListerMockRecorder) ListVPCs ¶ added in v0.4.0
func (mr *MockVPCSubnetListerMockRecorder) ListVPCs() *gomock.Call
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
func (m *MockWorkspaceRetriever) EXPECT() *MockWorkspaceRetrieverMockRecorder
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
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
func (mr *MockWorkspaceRetrieverMockRecorder) JobNames() *gomock.Call
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
func (mr *MockWorkspaceRetrieverMockRecorder) Summary() *gomock.Call
Summary indicates an expected call of Summary
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
func (m *MockWsWorkloadLister) EXPECT() *MockWsWorkloadListerMockRecorder
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
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
func (mr *MockWsWorkloadListerMockRecorder) JobNames() *gomock.Call
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