mock

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

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

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.

func (*MockDeployHandler) GetLogs

func (m *MockDeployHandler) GetLogs(appName, podName string, sinceTime *time.Time) (string, error)

GetLogs 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.

Jump to

Keyboard shortcuts

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