Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockDeployHandler
- func (m *MockDeployHandler) EXPECT() *MockDeployHandlerMockRecorder
- func (m *MockDeployHandler) GetComponentsForDeployment(appName string, deployment *models.DeploymentSummary) ([]*models.Component, error)
- func (m *MockDeployHandler) GetComponentsForDeploymentName(appName, deploymentID string) ([]*models.Component, error)
- func (m *MockDeployHandler) GetDeploymentWithName(appName, deploymentName string) (*models.Deployment, error)
- func (m *MockDeployHandler) GetDeploymentsForApplicationEnvironment(appName, environment string, latest bool) ([]*models.DeploymentSummary, error)
- func (m *MockDeployHandler) GetDeploymentsForJob(appName, jobName string) ([]*models.DeploymentSummary, error)
- func (m *MockDeployHandler) GetLatestDeploymentForApplicationEnvironment(appName, environment string) (*models.DeploymentSummary, error)
- func (m *MockDeployHandler) GetLogs(appName, podName string, sinceTime *time.Time) (string, error)
- type MockDeployHandlerMockRecorder
- func (mr *MockDeployHandlerMockRecorder) GetComponentsForDeployment(appName, deployment interface{}) *gomock.Call
- func (mr *MockDeployHandlerMockRecorder) GetComponentsForDeploymentName(appName, deploymentID interface{}) *gomock.Call
- func (mr *MockDeployHandlerMockRecorder) GetDeploymentWithName(appName, deploymentName interface{}) *gomock.Call
- func (mr *MockDeployHandlerMockRecorder) GetDeploymentsForApplicationEnvironment(appName, environment, latest interface{}) *gomock.Call
- func (mr *MockDeployHandlerMockRecorder) GetDeploymentsForJob(appName, jobName interface{}) *gomock.Call
- func (mr *MockDeployHandlerMockRecorder) GetLatestDeploymentForApplicationEnvironment(appName, environment interface{}) *gomock.Call
- func (mr *MockDeployHandlerMockRecorder) GetLogs(appName, podName, sinceTime interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDeployHandler ¶
type MockDeployHandler struct {
// contains filtered or unexported fields
}
MockDeployHandler is a mock of DeployHandler interface.
func NewMockDeployHandler ¶
func NewMockDeployHandler(ctrl *gomock.Controller) *MockDeployHandler
NewMockDeployHandler creates a new mock instance.
func (*MockDeployHandler) EXPECT ¶
func (m *MockDeployHandler) EXPECT() *MockDeployHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDeployHandler) GetComponentsForDeployment ¶ added in v1.19.2
func (m *MockDeployHandler) GetComponentsForDeployment(appName string, deployment *models.DeploymentSummary) ([]*models.Component, error)
GetComponentsForDeployment mocks base method.
func (*MockDeployHandler) GetComponentsForDeploymentName ¶
func (m *MockDeployHandler) GetComponentsForDeploymentName(appName, deploymentID string) ([]*models.Component, error)
GetComponentsForDeploymentName mocks base method.
func (*MockDeployHandler) GetDeploymentWithName ¶
func (m *MockDeployHandler) GetDeploymentWithName(appName, deploymentName string) (*models.Deployment, error)
GetDeploymentWithName mocks base method.
func (*MockDeployHandler) GetDeploymentsForApplicationEnvironment ¶
func (m *MockDeployHandler) GetDeploymentsForApplicationEnvironment(appName, environment string, latest bool) ([]*models.DeploymentSummary, error)
GetDeploymentsForApplicationEnvironment mocks base method.
func (*MockDeployHandler) GetDeploymentsForJob ¶
func (m *MockDeployHandler) GetDeploymentsForJob(appName, jobName string) ([]*models.DeploymentSummary, error)
GetDeploymentsForJob mocks base method.
func (*MockDeployHandler) GetLatestDeploymentForApplicationEnvironment ¶
func (m *MockDeployHandler) GetLatestDeploymentForApplicationEnvironment(appName, environment string) (*models.DeploymentSummary, error)
GetLatestDeploymentForApplicationEnvironment mocks base method.
type MockDeployHandlerMockRecorder ¶
type MockDeployHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockDeployHandlerMockRecorder is the mock recorder for MockDeployHandler.
func (*MockDeployHandlerMockRecorder) GetComponentsForDeployment ¶ added in v1.19.2
func (mr *MockDeployHandlerMockRecorder) GetComponentsForDeployment(appName, deployment interface{}) *gomock.Call
GetComponentsForDeployment indicates an expected call of GetComponentsForDeployment.
func (*MockDeployHandlerMockRecorder) GetComponentsForDeploymentName ¶
func (mr *MockDeployHandlerMockRecorder) GetComponentsForDeploymentName(appName, deploymentID interface{}) *gomock.Call
GetComponentsForDeploymentName indicates an expected call of GetComponentsForDeploymentName.
func (*MockDeployHandlerMockRecorder) GetDeploymentWithName ¶
func (mr *MockDeployHandlerMockRecorder) GetDeploymentWithName(appName, deploymentName interface{}) *gomock.Call
GetDeploymentWithName indicates an expected call of GetDeploymentWithName.
func (*MockDeployHandlerMockRecorder) GetDeploymentsForApplicationEnvironment ¶
func (mr *MockDeployHandlerMockRecorder) GetDeploymentsForApplicationEnvironment(appName, environment, latest interface{}) *gomock.Call
GetDeploymentsForApplicationEnvironment indicates an expected call of GetDeploymentsForApplicationEnvironment.
func (*MockDeployHandlerMockRecorder) GetDeploymentsForJob ¶
func (mr *MockDeployHandlerMockRecorder) GetDeploymentsForJob(appName, jobName interface{}) *gomock.Call
GetDeploymentsForJob indicates an expected call of GetDeploymentsForJob.
func (*MockDeployHandlerMockRecorder) GetLatestDeploymentForApplicationEnvironment ¶
func (mr *MockDeployHandlerMockRecorder) GetLatestDeploymentForApplicationEnvironment(appName, environment interface{}) *gomock.Call
GetLatestDeploymentForApplicationEnvironment indicates an expected call of GetLatestDeploymentForApplicationEnvironment.
func (*MockDeployHandlerMockRecorder) GetLogs ¶
func (mr *MockDeployHandlerMockRecorder) GetLogs(appName, podName, sinceTime interface{}) *gomock.Call
GetLogs indicates an expected call of GetLogs.