Documentation
¶
Overview ¶
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) ListServices(appName string) ([]*config.Service, error)
- type MockConfigListerMockRecorder
- type MockConfigSvcLister
- type MockConfigSvcListerMockRecorder
- type MockDeployStoreClient
- type MockDeployStoreClientMockRecorder
- type MockPrompter
- type MockPrompterMockRecorder
- type MockWsSvcLister
- type MockWsSvcListerMockRecorder
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) ListServices ¶
func (m *MockConfigLister) ListServices(appName string) ([]*config.Service, 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) ListServices ¶
func (mr *MockConfigListerMockRecorder) ListServices(appName interface{}) *gomock.Call
ListServices indicates an expected call of ListServices
type MockConfigSvcLister ¶
type MockConfigSvcLister struct {
// contains filtered or unexported fields
}
MockConfigSvcLister is a mock of ConfigSvcLister interface
func NewMockConfigSvcLister ¶
func NewMockConfigSvcLister(ctrl *gomock.Controller) *MockConfigSvcLister
NewMockConfigSvcLister creates a new mock instance
func (*MockConfigSvcLister) EXPECT ¶
func (m *MockConfigSvcLister) EXPECT() *MockConfigSvcListerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockConfigSvcLister) ListServices ¶
func (m *MockConfigSvcLister) ListServices(appName string) ([]*config.Service, error)
ListServices mocks base method
type MockConfigSvcListerMockRecorder ¶
type MockConfigSvcListerMockRecorder struct {
// contains filtered or unexported fields
}
MockConfigSvcListerMockRecorder is the mock recorder for MockConfigSvcLister
func (*MockConfigSvcListerMockRecorder) ListServices ¶
func (mr *MockConfigSvcListerMockRecorder) 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 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
type MockPrompterMockRecorder ¶
type MockPrompterMockRecorder struct {
// contains filtered or unexported fields
}
MockPrompterMockRecorder is the mock recorder for MockPrompter
func (*MockPrompterMockRecorder) SelectOne ¶
func (mr *MockPrompterMockRecorder) SelectOne(message, help, options interface{}, promptOpts ...interface{}) *gomock.Call
SelectOne indicates an expected call of SelectOne
type MockWsSvcLister ¶
type MockWsSvcLister struct {
// contains filtered or unexported fields
}
MockWsSvcLister is a mock of WsSvcLister interface
func NewMockWsSvcLister ¶
func NewMockWsSvcLister(ctrl *gomock.Controller) *MockWsSvcLister
NewMockWsSvcLister creates a new mock instance
func (*MockWsSvcLister) EXPECT ¶
func (m *MockWsSvcLister) EXPECT() *MockWsSvcListerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockWsSvcLister) ServiceNames ¶
func (m *MockWsSvcLister) ServiceNames() ([]string, error)
ServiceNames mocks base method
type MockWsSvcListerMockRecorder ¶
type MockWsSvcListerMockRecorder struct {
// contains filtered or unexported fields
}
MockWsSvcListerMockRecorder is the mock recorder for MockWsSvcLister
func (*MockWsSvcListerMockRecorder) ServiceNames ¶
func (mr *MockWsSvcListerMockRecorder) ServiceNames() *gomock.Call
ServiceNames indicates an expected call of ServiceNames