mocks

package
v0.0.0-...-8766ec0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: Apache-2.0 Imports: 9 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.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

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 MockChartGenerator

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

MockChartGenerator is a mock of ChartGenerator interface.

func NewMockChartGenerator

func NewMockChartGenerator(ctrl *gomock.Controller) *MockChartGenerator

NewMockChartGenerator creates a new mock instance.

func (*MockChartGenerator) EXPECT

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

func (*MockChartGenerator) GenerateDuplicateChart

func (m *MockChartGenerator) GenerateDuplicateChart(arg0, arg1, arg2, arg3 string) (*chart.Chart, error)

GenerateDuplicateChart mocks base method.

func (*MockChartGenerator) GenerateMeshChart

func (m *MockChartGenerator) GenerateMeshChart(arg0, arg1, arg2, arg3 string) (*chart.Chart, error)

GenerateMeshChart mocks base method.

type MockChartGeneratorMockRecorder

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

MockChartGeneratorMockRecorder is the mock recorder for MockChartGenerator.

func (*MockChartGeneratorMockRecorder) GenerateDuplicateChart

func (mr *MockChartGeneratorMockRecorder) GenerateDuplicateChart(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GenerateDuplicateChart indicates an expected call of GenerateDuplicateChart.

func (*MockChartGeneratorMockRecorder) GenerateMeshChart

func (mr *MockChartGeneratorMockRecorder) GenerateMeshChart(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GenerateMeshChart indicates an expected call of GenerateMeshChart.

type MockHelmExecutor

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

MockHelmExecutor is a mock of HelmExecutor interface.

func NewMockHelmExecutor

func NewMockHelmExecutor(ctrl *gomock.Controller) *MockHelmExecutor

NewMockHelmExecutor creates a new mock instance.

func (*MockHelmExecutor) EXPECT

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

func (*MockHelmExecutor) GetManifest

func (m *MockHelmExecutor) GetManifest(arg0, arg1 string) (string, error)

GetManifest mocks base method.

func (*MockHelmExecutor) UninstallRelease

func (m *MockHelmExecutor) UninstallRelease(arg0, arg1 string) error

UninstallRelease mocks base method.

func (*MockHelmExecutor) UpgradeChart

func (m *MockHelmExecutor) UpgradeChart(arg0 *chart.Chart, arg1, arg2 string, arg3 map[string]interface{}) error

UpgradeChart mocks base method.

type MockHelmExecutorMockRecorder

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

MockHelmExecutorMockRecorder is the mock recorder for MockHelmExecutor.

func (*MockHelmExecutorMockRecorder) GetManifest

func (mr *MockHelmExecutorMockRecorder) GetManifest(arg0, arg1 interface{}) *gomock.Call

GetManifest indicates an expected call of GetManifest.

func (*MockHelmExecutorMockRecorder) UninstallRelease

func (mr *MockHelmExecutorMockRecorder) UninstallRelease(arg0, arg1 interface{}) *gomock.Call

UninstallRelease indicates an expected call of UninstallRelease.

func (*MockHelmExecutorMockRecorder) UpgradeChart

func (mr *MockHelmExecutorMockRecorder) UpgradeChart(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

UpgradeChart indicates an expected call of UpgradeChart.

type MockIChartPackager

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

MockIChartPackager is a mock of IChartPackager interface.

func NewMockIChartPackager

func NewMockIChartPackager(ctrl *gomock.Controller) *MockIChartPackager

NewMockIChartPackager creates a new mock instance.

func (*MockIChartPackager) EXPECT

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

func (*MockIChartPackager) Package

func (m *MockIChartPackager) Package(arg0 *chart.Chart) ([]byte, error)

Package mocks base method.

type MockIChartPackagerMockRecorder

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

MockIChartPackagerMockRecorder is the mock recorder for MockIChartPackager.

func (*MockIChartPackagerMockRecorder) Package

func (mr *MockIChartPackagerMockRecorder) Package(arg0 interface{}) *gomock.Call

Package indicates an expected call of Package.

type MockIChartRetriever

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

MockIChartRetriever is a mock of IChartRetriever interface.

func NewMockIChartRetriever

func NewMockIChartRetriever(ctrl *gomock.Controller) *MockIChartRetriever

NewMockIChartRetriever creates a new mock instance.

func (*MockIChartRetriever) EXPECT

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

func (*MockIChartRetriever) Retrieve

Retrieve mocks base method.

type MockIChartRetrieverMockRecorder

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

MockIChartRetrieverMockRecorder is the mock recorder for MockIChartRetriever.

func (*MockIChartRetrieverMockRecorder) Retrieve

func (mr *MockIChartRetrieverMockRecorder) Retrieve(arg0 interface{}) *gomock.Call

Retrieve indicates an expected call of Retrieve.

type MockIChartStorer

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

MockIChartStorer is a mock of IChartStorer interface.

func NewMockIChartStorer

func NewMockIChartStorer(ctrl *gomock.Controller) *MockIChartStorer

NewMockIChartStorer creates a new mock instance.

func (*MockIChartStorer) EXPECT

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

func (*MockIChartStorer) Store

Store mocks base method.

type MockIChartStorerMockRecorder

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

MockIChartStorerMockRecorder is the mock recorder for MockIChartStorer.

func (*MockIChartStorerMockRecorder) Store

func (mr *MockIChartStorerMockRecorder) Store(arg0 interface{}) *gomock.Call

Store indicates an expected call of Store.

type MockIConfigurationChanger

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

MockIConfigurationChanger is a mock of IConfigurationChanger interface.

func NewMockIConfigurationChanger

func NewMockIConfigurationChanger(ctrl *gomock.Controller) *MockIConfigurationChanger

NewMockIConfigurationChanger creates a new mock instance.

func (*MockIConfigurationChanger) EXPECT

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

func (*MockIConfigurationChanger) UpdateLoadedChart

UpdateLoadedChart mocks base method.

type MockIConfigurationChangerMockRecorder

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

MockIConfigurationChangerMockRecorder is the mock recorder for MockIConfigurationChanger.

func (*MockIConfigurationChangerMockRecorder) UpdateLoadedChart

func (mr *MockIConfigurationChangerMockRecorder) UpdateLoadedChart(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

UpdateLoadedChart indicates an expected call of UpdateLoadedChart.

type MockINamespaceManager

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

MockINamespaceManager is a mock of INamespaceManager interface.

func NewMockINamespaceManager

func NewMockINamespaceManager(ctrl *gomock.Controller) *MockINamespaceManager

NewMockINamespaceManager creates a new mock instance.

func (*MockINamespaceManager) CreateNamespaceIfNotExists

func (m *MockINamespaceManager) CreateNamespaceIfNotExists(arg0 string) error

CreateNamespaceIfNotExists mocks base method.

func (*MockINamespaceManager) EXPECT

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

func (*MockINamespaceManager) InjectIstio

func (m *MockINamespaceManager) InjectIstio(arg0, arg1 string) error

InjectIstio mocks base method.

type MockINamespaceManagerMockRecorder

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

MockINamespaceManagerMockRecorder is the mock recorder for MockINamespaceManager.

func (*MockINamespaceManagerMockRecorder) CreateNamespaceIfNotExists

func (mr *MockINamespaceManagerMockRecorder) CreateNamespaceIfNotExists(arg0 interface{}) *gomock.Call

CreateNamespaceIfNotExists indicates an expected call of CreateNamespaceIfNotExists.

func (*MockINamespaceManagerMockRecorder) InjectIstio

func (mr *MockINamespaceManagerMockRecorder) InjectIstio(arg0, arg1 interface{}) *gomock.Call

InjectIstio indicates an expected call of InjectIstio.

type MockIProjectHandler

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

MockIProjectHandler is a mock of IProjectHandler interface.

func NewMockIProjectHandler

func NewMockIProjectHandler(ctrl *gomock.Controller) *MockIProjectHandler

NewMockIProjectHandler creates a new mock instance.

func (*MockIProjectHandler) CreateProject

func (m *MockIProjectHandler) CreateProject(arg0 models.Project) (*models.EventContext, *models.Error)

CreateProject mocks base method.

func (*MockIProjectHandler) DeleteProject

func (m *MockIProjectHandler) DeleteProject(arg0 models.Project) (*models.EventContext, *models.Error)

DeleteProject mocks base method.

func (*MockIProjectHandler) EXPECT

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

func (*MockIProjectHandler) GetAllProjects

func (m *MockIProjectHandler) GetAllProjects() ([]*models.Project, error)

GetAllProjects mocks base method.

func (*MockIProjectHandler) GetProject

func (m *MockIProjectHandler) GetProject(arg0 models.Project) (*models.Project, *models.Error)

GetProject mocks base method.

func (*MockIProjectHandler) UpdateConfigurationServiceProject

func (m *MockIProjectHandler) UpdateConfigurationServiceProject(arg0 models.Project) (*models.EventContext, *models.Error)

UpdateConfigurationServiceProject mocks base method.

type MockIProjectHandlerMockRecorder

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

MockIProjectHandlerMockRecorder is the mock recorder for MockIProjectHandler.

func (*MockIProjectHandlerMockRecorder) CreateProject

func (mr *MockIProjectHandlerMockRecorder) CreateProject(arg0 interface{}) *gomock.Call

CreateProject indicates an expected call of CreateProject.

func (*MockIProjectHandlerMockRecorder) DeleteProject

func (mr *MockIProjectHandlerMockRecorder) DeleteProject(arg0 interface{}) *gomock.Call

DeleteProject indicates an expected call of DeleteProject.

func (*MockIProjectHandlerMockRecorder) GetAllProjects

func (mr *MockIProjectHandlerMockRecorder) GetAllProjects() *gomock.Call

GetAllProjects indicates an expected call of GetAllProjects.

func (*MockIProjectHandlerMockRecorder) GetProject

func (mr *MockIProjectHandlerMockRecorder) GetProject(arg0 interface{}) *gomock.Call

GetProject indicates an expected call of GetProject.

func (*MockIProjectHandlerMockRecorder) UpdateConfigurationServiceProject

func (mr *MockIProjectHandlerMockRecorder) UpdateConfigurationServiceProject(arg0 interface{}) *gomock.Call

UpdateConfigurationServiceProject indicates an expected call of UpdateConfigurationServiceProject.

type MockIResourceHandler

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

MockIResourceHandler is a mock of IResourceHandler interface.

func NewMockIResourceHandler

func NewMockIResourceHandler(ctrl *gomock.Controller) *MockIResourceHandler

NewMockIResourceHandler creates a new mock instance.

func (*MockIResourceHandler) EXPECT

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

func (*MockIResourceHandler) GetServiceResource

func (m *MockIResourceHandler) GetServiceResource(arg0, arg1, arg2, arg3 string) (*models.Resource, error)

GetServiceResource mocks base method.

type MockIResourceHandlerMockRecorder

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

MockIResourceHandlerMockRecorder is the mock recorder for MockIResourceHandler.

func (*MockIResourceHandlerMockRecorder) GetServiceResource

func (mr *MockIResourceHandlerMockRecorder) GetServiceResource(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetServiceResource indicates an expected call of GetServiceResource.

type MockIServiceHandler

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

MockIServiceHandler is a mock of IServiceHandler interface.

func NewMockIServiceHandler

func NewMockIServiceHandler(ctrl *gomock.Controller) *MockIServiceHandler

NewMockIServiceHandler creates a new mock instance.

func (*MockIServiceHandler) CreateServiceInStage

func (m *MockIServiceHandler) CreateServiceInStage(arg0, arg1, arg2 string) (*models.EventContext, *models.Error)

CreateServiceInStage mocks base method.

func (*MockIServiceHandler) DeleteServiceFromStage

func (m *MockIServiceHandler) DeleteServiceFromStage(arg0, arg1, arg2 string) (*models.EventContext, *models.Error)

DeleteServiceFromStage mocks base method.

func (*MockIServiceHandler) EXPECT

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

func (*MockIServiceHandler) GetAllServices

func (m *MockIServiceHandler) GetAllServices(arg0, arg1 string) ([]*models.Service, error)

GetAllServices mocks base method.

func (*MockIServiceHandler) GetService

func (m *MockIServiceHandler) GetService(arg0, arg1, arg2 string) (*models.Service, error)

GetService mocks base method.

type MockIServiceHandlerMockRecorder

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

MockIServiceHandlerMockRecorder is the mock recorder for MockIServiceHandler.

func (*MockIServiceHandlerMockRecorder) CreateServiceInStage

func (mr *MockIServiceHandlerMockRecorder) CreateServiceInStage(arg0, arg1, arg2 interface{}) *gomock.Call

CreateServiceInStage indicates an expected call of CreateServiceInStage.

func (*MockIServiceHandlerMockRecorder) DeleteServiceFromStage

func (mr *MockIServiceHandlerMockRecorder) DeleteServiceFromStage(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteServiceFromStage indicates an expected call of DeleteServiceFromStage.

func (*MockIServiceHandlerMockRecorder) GetAllServices

func (mr *MockIServiceHandlerMockRecorder) GetAllServices(arg0, arg1 interface{}) *gomock.Call

GetAllServices indicates an expected call of GetAllServices.

func (*MockIServiceHandlerMockRecorder) GetService

func (mr *MockIServiceHandlerMockRecorder) GetService(arg0, arg1, arg2 interface{}) *gomock.Call

GetService indicates an expected call of GetService.

type MockIStagesHandler

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

MockIStagesHandler is a mock of IStagesHandler interface.

func NewMockIStagesHandler

func NewMockIStagesHandler(ctrl *gomock.Controller) *MockIStagesHandler

NewMockIStagesHandler creates a new mock instance.

func (*MockIStagesHandler) CreateStage

func (m *MockIStagesHandler) CreateStage(arg0, arg1 string) (*models.EventContext, *models.Error)

CreateStage mocks base method.

func (*MockIStagesHandler) EXPECT

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

func (*MockIStagesHandler) GetAllStages

func (m *MockIStagesHandler) GetAllStages(arg0 string) ([]*models.Stage, error)

GetAllStages mocks base method.

type MockIStagesHandlerMockRecorder

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

MockIStagesHandlerMockRecorder is the mock recorder for MockIStagesHandler.

func (*MockIStagesHandlerMockRecorder) CreateStage

func (mr *MockIStagesHandlerMockRecorder) CreateStage(arg0, arg1 interface{}) *gomock.Call

CreateStage indicates an expected call of CreateStage.

func (*MockIStagesHandlerMockRecorder) GetAllStages

func (mr *MockIStagesHandlerMockRecorder) GetAllStages(arg0 interface{}) *gomock.Call

GetAllStages indicates an expected call of GetAllStages.

type MockMesh

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

MockMesh is a mock of Mesh interface.

func NewMockMesh

func NewMockMesh(ctrl *gomock.Controller) *MockMesh

NewMockMesh creates a new mock instance.

func (*MockMesh) EXPECT

func (m *MockMesh) EXPECT() *MockMeshMockRecorder

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

func (*MockMesh) GenerateDestinationRule

func (m *MockMesh) GenerateDestinationRule(arg0, arg1 string) ([]byte, error)

GenerateDestinationRule mocks base method.

func (*MockMesh) GenerateVirtualService

func (m *MockMesh) GenerateVirtualService(arg0 string, arg1, arg2 []string, arg3 []mesh.HTTPRouteDestination) ([]byte, error)

GenerateVirtualService mocks base method.

func (*MockMesh) GetDestinationRuleSuffix

func (m *MockMesh) GetDestinationRuleSuffix() string

GetDestinationRuleSuffix mocks base method.

func (*MockMesh) GetVirtualServiceSuffix

func (m *MockMesh) GetVirtualServiceSuffix() string

GetVirtualServiceSuffix mocks base method.

func (*MockMesh) UpdateWeights

func (m *MockMesh) UpdateWeights(arg0 []byte, arg1 int32) ([]byte, error)

UpdateWeights mocks base method.

type MockMeshMockRecorder

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

MockMeshMockRecorder is the mock recorder for MockMesh.

func (*MockMeshMockRecorder) GenerateDestinationRule

func (mr *MockMeshMockRecorder) GenerateDestinationRule(arg0, arg1 interface{}) *gomock.Call

GenerateDestinationRule indicates an expected call of GenerateDestinationRule.

func (*MockMeshMockRecorder) GenerateVirtualService

func (mr *MockMeshMockRecorder) GenerateVirtualService(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GenerateVirtualService indicates an expected call of GenerateVirtualService.

func (*MockMeshMockRecorder) GetDestinationRuleSuffix

func (mr *MockMeshMockRecorder) GetDestinationRuleSuffix() *gomock.Call

GetDestinationRuleSuffix indicates an expected call of GetDestinationRuleSuffix.

func (*MockMeshMockRecorder) GetVirtualServiceSuffix

func (mr *MockMeshMockRecorder) GetVirtualServiceSuffix() *gomock.Call

GetVirtualServiceSuffix indicates an expected call of GetVirtualServiceSuffix.

func (*MockMeshMockRecorder) UpdateWeights

func (mr *MockMeshMockRecorder) UpdateWeights(arg0, arg1 interface{}) *gomock.Call

UpdateWeights indicates an expected call of UpdateWeights.

type MockOnboarder

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

MockOnboarder is a mock of Onboarder interface.

func NewMockOnboarder

func NewMockOnboarder(ctrl *gomock.Controller) *MockOnboarder

NewMockOnboarder creates a new mock instance.

func (*MockOnboarder) EXPECT

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

func (*MockOnboarder) OnboardGeneratedChart

func (m *MockOnboarder) OnboardGeneratedChart(arg0 string, arg1 v0_2_0.EventData, arg2 keptn.DeploymentStrategy) (*chart.Chart, error)

OnboardGeneratedChart mocks base method.

func (*MockOnboarder) OnboardService

func (m *MockOnboarder) OnboardService(arg0 string, arg1 *v0_2_0.ServiceCreateFinishedEventData) error

OnboardService mocks base method.

type MockOnboarderMockRecorder

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

MockOnboarderMockRecorder is the mock recorder for MockOnboarder.

func (*MockOnboarderMockRecorder) OnboardGeneratedChart

func (mr *MockOnboarderMockRecorder) OnboardGeneratedChart(arg0, arg1, arg2 interface{}) *gomock.Call

OnboardGeneratedChart indicates an expected call of OnboardGeneratedChart.

func (*MockOnboarderMockRecorder) OnboardService

func (mr *MockOnboarderMockRecorder) OnboardService(arg0, arg1 interface{}) *gomock.Call

OnboardService indicates an expected call of OnboardService.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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