mocks

package
v0.15.3 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

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 MockBootstrapper

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

MockBootstrapper is a mock of Bootstrapper interface.

func NewMockBootstrapper

func NewMockBootstrapper(ctrl *gomock.Controller) *MockBootstrapper

NewMockBootstrapper creates a new mock instance.

func (*MockBootstrapper) CreateBootstrapCluster

func (m *MockBootstrapper) CreateBootstrapCluster(arg0 context.Context, arg1 *cluster.Spec, arg2 ...bootstrapper.BootstrapClusterOption) (*types.Cluster, error)

CreateBootstrapCluster mocks base method.

func (*MockBootstrapper) DeleteBootstrapCluster

func (m *MockBootstrapper) DeleteBootstrapCluster(arg0 context.Context, arg1 *types.Cluster, arg2 constants.Operation, arg3 bool) error

DeleteBootstrapCluster mocks base method.

func (*MockBootstrapper) EXPECT

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

type MockBootstrapperMockRecorder

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

MockBootstrapperMockRecorder is the mock recorder for MockBootstrapper.

func (*MockBootstrapperMockRecorder) CreateBootstrapCluster

func (mr *MockBootstrapperMockRecorder) CreateBootstrapCluster(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

CreateBootstrapCluster indicates an expected call of CreateBootstrapCluster.

func (*MockBootstrapperMockRecorder) DeleteBootstrapCluster

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

DeleteBootstrapCluster indicates an expected call of DeleteBootstrapCluster.

type MockCAPIManager added in v0.6.0

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

MockCAPIManager is a mock of CAPIManager interface.

func NewMockCAPIManager added in v0.6.0

func NewMockCAPIManager(ctrl *gomock.Controller) *MockCAPIManager

NewMockCAPIManager creates a new mock instance.

func (*MockCAPIManager) EXPECT added in v0.6.0

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

func (*MockCAPIManager) EnsureEtcdProvidersInstallation added in v0.6.0

func (m *MockCAPIManager) EnsureEtcdProvidersInstallation(arg0 context.Context, arg1 *types.Cluster, arg2 providers.Provider, arg3 *cluster.Spec) error

EnsureEtcdProvidersInstallation mocks base method.

func (*MockCAPIManager) Upgrade added in v0.6.0

func (m *MockCAPIManager) Upgrade(arg0 context.Context, arg1 *types.Cluster, arg2 providers.Provider, arg3, arg4 *cluster.Spec) (*types.ChangeDiff, error)

Upgrade mocks base method.

type MockCAPIManagerMockRecorder added in v0.6.0

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

MockCAPIManagerMockRecorder is the mock recorder for MockCAPIManager.

func (*MockCAPIManagerMockRecorder) EnsureEtcdProvidersInstallation added in v0.6.0

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

EnsureEtcdProvidersInstallation indicates an expected call of EnsureEtcdProvidersInstallation.

func (*MockCAPIManagerMockRecorder) Upgrade added in v0.6.0

func (mr *MockCAPIManagerMockRecorder) Upgrade(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

Upgrade indicates an expected call of Upgrade.

type MockClusterManager

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

MockClusterManager is a mock of ClusterManager interface.

func NewMockClusterManager

func NewMockClusterManager(ctrl *gomock.Controller) *MockClusterManager

NewMockClusterManager creates a new mock instance.

func (*MockClusterManager) ApplyBundles added in v0.6.0

func (m *MockClusterManager) ApplyBundles(arg0 context.Context, arg1 *cluster.Spec, arg2 *types.Cluster) error

ApplyBundles mocks base method.

func (*MockClusterManager) BackupCAPI added in v0.14.4

func (m *MockClusterManager) BackupCAPI(arg0 context.Context, arg1 *types.Cluster, arg2 string) error

BackupCAPI mocks base method.

func (*MockClusterManager) CreateAwsIamAuthCaSecret added in v0.6.0

func (m *MockClusterManager) CreateAwsIamAuthCaSecret(arg0 context.Context, arg1 *types.Cluster, arg2 string) error

CreateAwsIamAuthCaSecret mocks base method.

func (*MockClusterManager) CreateEKSANamespace added in v0.11.0

func (m *MockClusterManager) CreateEKSANamespace(arg0 context.Context, arg1 *types.Cluster) error

CreateEKSANamespace mocks base method.

func (*MockClusterManager) CreateEKSAResources

func (m *MockClusterManager) CreateEKSAResources(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec, arg3 providers.DatacenterConfig, arg4 []providers.MachineConfig) error

CreateEKSAResources mocks base method.

func (*MockClusterManager) CreateWorkloadCluster

func (m *MockClusterManager) CreateWorkloadCluster(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec, arg3 providers.Provider) (*types.Cluster, error)

CreateWorkloadCluster mocks base method.

func (*MockClusterManager) DeleteCluster

func (m *MockClusterManager) DeleteCluster(arg0 context.Context, arg1, arg2 *types.Cluster, arg3 providers.Provider, arg4 *cluster.Spec) error

DeleteCluster mocks base method.

func (*MockClusterManager) DeletePackageResources added in v0.12.0

func (m *MockClusterManager) DeletePackageResources(arg0 context.Context, arg1 *types.Cluster, arg2 string) error

DeletePackageResources mocks base method.

func (*MockClusterManager) EKSAClusterSpecChanged

func (m *MockClusterManager) EKSAClusterSpecChanged(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec) (bool, error)

EKSAClusterSpecChanged mocks base method.

func (*MockClusterManager) EXPECT

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

func (*MockClusterManager) GetCurrentClusterSpec added in v0.6.0

func (m *MockClusterManager) GetCurrentClusterSpec(arg0 context.Context, arg1 *types.Cluster, arg2 string) (*cluster.Spec, error)

GetCurrentClusterSpec mocks base method.

func (*MockClusterManager) InstallAwsIamAuth added in v0.6.0

func (m *MockClusterManager) InstallAwsIamAuth(arg0 context.Context, arg1, arg2 *types.Cluster, arg3 *cluster.Spec) error

InstallAwsIamAuth mocks base method.

func (*MockClusterManager) InstallCAPI added in v0.6.0

func (m *MockClusterManager) InstallCAPI(arg0 context.Context, arg1 *cluster.Spec, arg2 *types.Cluster, arg3 providers.Provider) error

InstallCAPI mocks base method.

func (*MockClusterManager) InstallCustomComponents

func (m *MockClusterManager) InstallCustomComponents(arg0 context.Context, arg1 *cluster.Spec, arg2 *types.Cluster, arg3 providers.Provider) error

InstallCustomComponents mocks base method.

func (*MockClusterManager) InstallMachineHealthChecks

func (m *MockClusterManager) InstallMachineHealthChecks(arg0 context.Context, arg1 *cluster.Spec, arg2 *types.Cluster) error

InstallMachineHealthChecks mocks base method.

func (*MockClusterManager) InstallNetworking

func (m *MockClusterManager) InstallNetworking(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec, arg3 providers.Provider) error

InstallNetworking mocks base method.

func (*MockClusterManager) InstallStorageClass

func (m *MockClusterManager) InstallStorageClass(arg0 context.Context, arg1 *types.Cluster, arg2 providers.Provider) error

InstallStorageClass mocks base method.

func (*MockClusterManager) MoveCAPI added in v0.6.0

func (m *MockClusterManager) MoveCAPI(arg0 context.Context, arg1, arg2 *types.Cluster, arg3 string, arg4 *cluster.Spec, arg5 ...types.NodeReadyChecker) error

MoveCAPI mocks base method.

func (*MockClusterManager) PauseEKSAControllerReconcile

func (m *MockClusterManager) PauseEKSAControllerReconcile(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec, arg3 providers.Provider) error

PauseEKSAControllerReconcile mocks base method.

func (*MockClusterManager) ResumeEKSAControllerReconcile

func (m *MockClusterManager) ResumeEKSAControllerReconcile(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec, arg3 providers.Provider) error

ResumeEKSAControllerReconcile mocks base method.

func (*MockClusterManager) RunPostCreateWorkloadCluster added in v0.10.1

func (m *MockClusterManager) RunPostCreateWorkloadCluster(arg0 context.Context, arg1, arg2 *types.Cluster, arg3 *cluster.Spec) error

RunPostCreateWorkloadCluster mocks base method.

func (*MockClusterManager) SaveLogsManagementCluster added in v0.6.0

func (m *MockClusterManager) SaveLogsManagementCluster(arg0 context.Context, arg1 *cluster.Spec, arg2 *types.Cluster) error

SaveLogsManagementCluster mocks base method.

func (*MockClusterManager) SaveLogsWorkloadCluster added in v0.6.0

func (m *MockClusterManager) SaveLogsWorkloadCluster(arg0 context.Context, arg1 providers.Provider, arg2 *cluster.Spec, arg3 *types.Cluster) error

SaveLogsWorkloadCluster mocks base method.

func (*MockClusterManager) Upgrade added in v0.6.0

func (m *MockClusterManager) Upgrade(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 *cluster.Spec) (*types.ChangeDiff, error)

Upgrade mocks base method.

func (*MockClusterManager) UpgradeCluster

func (m *MockClusterManager) UpgradeCluster(arg0 context.Context, arg1, arg2 *types.Cluster, arg3 *cluster.Spec, arg4 providers.Provider) error

UpgradeCluster mocks base method.

func (*MockClusterManager) UpgradeNetworking added in v0.7.0

func (m *MockClusterManager) UpgradeNetworking(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 *cluster.Spec, arg4 providers.Provider) (*types.ChangeDiff, error)

UpgradeNetworking mocks base method.

type MockClusterManagerMockRecorder

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

MockClusterManagerMockRecorder is the mock recorder for MockClusterManager.

func (*MockClusterManagerMockRecorder) ApplyBundles added in v0.6.0

func (mr *MockClusterManagerMockRecorder) ApplyBundles(arg0, arg1, arg2 interface{}) *gomock.Call

ApplyBundles indicates an expected call of ApplyBundles.

func (*MockClusterManagerMockRecorder) BackupCAPI added in v0.14.4

func (mr *MockClusterManagerMockRecorder) BackupCAPI(arg0, arg1, arg2 interface{}) *gomock.Call

BackupCAPI indicates an expected call of BackupCAPI.

func (*MockClusterManagerMockRecorder) CreateAwsIamAuthCaSecret added in v0.6.0

func (mr *MockClusterManagerMockRecorder) CreateAwsIamAuthCaSecret(arg0, arg1, arg2 interface{}) *gomock.Call

CreateAwsIamAuthCaSecret indicates an expected call of CreateAwsIamAuthCaSecret.

func (*MockClusterManagerMockRecorder) CreateEKSANamespace added in v0.11.0

func (mr *MockClusterManagerMockRecorder) CreateEKSANamespace(arg0, arg1 interface{}) *gomock.Call

CreateEKSANamespace indicates an expected call of CreateEKSANamespace.

func (*MockClusterManagerMockRecorder) CreateEKSAResources

func (mr *MockClusterManagerMockRecorder) CreateEKSAResources(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

CreateEKSAResources indicates an expected call of CreateEKSAResources.

func (*MockClusterManagerMockRecorder) CreateWorkloadCluster

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

CreateWorkloadCluster indicates an expected call of CreateWorkloadCluster.

func (*MockClusterManagerMockRecorder) DeleteCluster

func (mr *MockClusterManagerMockRecorder) DeleteCluster(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

DeleteCluster indicates an expected call of DeleteCluster.

func (*MockClusterManagerMockRecorder) DeletePackageResources added in v0.12.0

func (mr *MockClusterManagerMockRecorder) DeletePackageResources(arg0, arg1, arg2 interface{}) *gomock.Call

DeletePackageResources indicates an expected call of DeletePackageResources.

func (*MockClusterManagerMockRecorder) EKSAClusterSpecChanged

func (mr *MockClusterManagerMockRecorder) EKSAClusterSpecChanged(arg0, arg1, arg2 interface{}) *gomock.Call

EKSAClusterSpecChanged indicates an expected call of EKSAClusterSpecChanged.

func (*MockClusterManagerMockRecorder) GetCurrentClusterSpec added in v0.6.0

func (mr *MockClusterManagerMockRecorder) GetCurrentClusterSpec(arg0, arg1, arg2 interface{}) *gomock.Call

GetCurrentClusterSpec indicates an expected call of GetCurrentClusterSpec.

func (*MockClusterManagerMockRecorder) InstallAwsIamAuth added in v0.6.0

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

InstallAwsIamAuth indicates an expected call of InstallAwsIamAuth.

func (*MockClusterManagerMockRecorder) InstallCAPI added in v0.6.0

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

InstallCAPI indicates an expected call of InstallCAPI.

func (*MockClusterManagerMockRecorder) InstallCustomComponents

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

InstallCustomComponents indicates an expected call of InstallCustomComponents.

func (*MockClusterManagerMockRecorder) InstallMachineHealthChecks

func (mr *MockClusterManagerMockRecorder) InstallMachineHealthChecks(arg0, arg1, arg2 interface{}) *gomock.Call

InstallMachineHealthChecks indicates an expected call of InstallMachineHealthChecks.

func (*MockClusterManagerMockRecorder) InstallNetworking

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

InstallNetworking indicates an expected call of InstallNetworking.

func (*MockClusterManagerMockRecorder) InstallStorageClass

func (mr *MockClusterManagerMockRecorder) InstallStorageClass(arg0, arg1, arg2 interface{}) *gomock.Call

InstallStorageClass indicates an expected call of InstallStorageClass.

func (*MockClusterManagerMockRecorder) MoveCAPI added in v0.6.0

func (mr *MockClusterManagerMockRecorder) MoveCAPI(arg0, arg1, arg2, arg3, arg4 interface{}, arg5 ...interface{}) *gomock.Call

MoveCAPI indicates an expected call of MoveCAPI.

func (*MockClusterManagerMockRecorder) PauseEKSAControllerReconcile

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

PauseEKSAControllerReconcile indicates an expected call of PauseEKSAControllerReconcile.

func (*MockClusterManagerMockRecorder) ResumeEKSAControllerReconcile

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

ResumeEKSAControllerReconcile indicates an expected call of ResumeEKSAControllerReconcile.

func (*MockClusterManagerMockRecorder) RunPostCreateWorkloadCluster added in v0.10.1

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

RunPostCreateWorkloadCluster indicates an expected call of RunPostCreateWorkloadCluster.

func (*MockClusterManagerMockRecorder) SaveLogsManagementCluster added in v0.6.0

func (mr *MockClusterManagerMockRecorder) SaveLogsManagementCluster(arg0, arg1, arg2 interface{}) *gomock.Call

SaveLogsManagementCluster indicates an expected call of SaveLogsManagementCluster.

func (*MockClusterManagerMockRecorder) SaveLogsWorkloadCluster added in v0.6.0

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

SaveLogsWorkloadCluster indicates an expected call of SaveLogsWorkloadCluster.

func (*MockClusterManagerMockRecorder) Upgrade added in v0.6.0

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

Upgrade indicates an expected call of Upgrade.

func (*MockClusterManagerMockRecorder) UpgradeCluster

func (mr *MockClusterManagerMockRecorder) UpgradeCluster(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

UpgradeCluster indicates an expected call of UpgradeCluster.

func (*MockClusterManagerMockRecorder) UpgradeNetworking added in v0.7.0

func (mr *MockClusterManagerMockRecorder) UpgradeNetworking(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

UpgradeNetworking indicates an expected call of UpgradeNetworking.

type MockClusterUpgrader added in v0.15.0

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

MockClusterUpgrader is a mock of ClusterUpgrader interface.

func NewMockClusterUpgrader added in v0.15.0

func NewMockClusterUpgrader(ctrl *gomock.Controller) *MockClusterUpgrader

NewMockClusterUpgrader creates a new mock instance.

func (*MockClusterUpgrader) CleanupAfterUpgrade added in v0.15.0

func (m *MockClusterUpgrader) CleanupAfterUpgrade(arg0 context.Context, arg1 *cluster.Spec, arg2, arg3 string) error

CleanupAfterUpgrade mocks base method.

func (*MockClusterUpgrader) EXPECT added in v0.15.0

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

func (*MockClusterUpgrader) PrepareUpgrade added in v0.15.0

func (m *MockClusterUpgrader) PrepareUpgrade(arg0 context.Context, arg1 *cluster.Spec, arg2, arg3 string) error

PrepareUpgrade mocks base method.

type MockClusterUpgraderMockRecorder added in v0.15.0

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

MockClusterUpgraderMockRecorder is the mock recorder for MockClusterUpgrader.

func (*MockClusterUpgraderMockRecorder) CleanupAfterUpgrade added in v0.15.0

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

CleanupAfterUpgrade indicates an expected call of CleanupAfterUpgrade.

func (*MockClusterUpgraderMockRecorder) PrepareUpgrade added in v0.15.0

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

PrepareUpgrade indicates an expected call of PrepareUpgrade.

type MockEksdInstaller added in v0.9.0

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

MockEksdInstaller is a mock of EksdInstaller interface.

func NewMockEksdInstaller added in v0.9.0

func NewMockEksdInstaller(ctrl *gomock.Controller) *MockEksdInstaller

NewMockEksdInstaller creates a new mock instance.

func (*MockEksdInstaller) EXPECT added in v0.9.0

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

func (*MockEksdInstaller) InstallEksdCRDs added in v0.9.0

func (m *MockEksdInstaller) InstallEksdCRDs(arg0 context.Context, arg1 *cluster.Spec, arg2 *types.Cluster) error

InstallEksdCRDs mocks base method.

func (*MockEksdInstaller) InstallEksdManifest added in v0.9.0

func (m *MockEksdInstaller) InstallEksdManifest(arg0 context.Context, arg1 *cluster.Spec, arg2 *types.Cluster) error

InstallEksdManifest mocks base method.

type MockEksdInstallerMockRecorder added in v0.9.0

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

MockEksdInstallerMockRecorder is the mock recorder for MockEksdInstaller.

func (*MockEksdInstallerMockRecorder) InstallEksdCRDs added in v0.9.0

func (mr *MockEksdInstallerMockRecorder) InstallEksdCRDs(arg0, arg1, arg2 interface{}) *gomock.Call

InstallEksdCRDs indicates an expected call of InstallEksdCRDs.

func (*MockEksdInstallerMockRecorder) InstallEksdManifest added in v0.9.0

func (mr *MockEksdInstallerMockRecorder) InstallEksdManifest(arg0, arg1, arg2 interface{}) *gomock.Call

InstallEksdManifest indicates an expected call of InstallEksdManifest.

type MockEksdUpgrader added in v0.9.0

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

MockEksdUpgrader is a mock of EksdUpgrader interface.

func NewMockEksdUpgrader added in v0.9.0

func NewMockEksdUpgrader(ctrl *gomock.Controller) *MockEksdUpgrader

NewMockEksdUpgrader creates a new mock instance.

func (*MockEksdUpgrader) EXPECT added in v0.9.0

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

func (*MockEksdUpgrader) Upgrade added in v0.9.0

func (m *MockEksdUpgrader) Upgrade(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 *cluster.Spec) (*types.ChangeDiff, error)

Upgrade mocks base method.

type MockEksdUpgraderMockRecorder added in v0.9.0

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

MockEksdUpgraderMockRecorder is the mock recorder for MockEksdUpgrader.

func (*MockEksdUpgraderMockRecorder) Upgrade added in v0.9.0

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

Upgrade indicates an expected call of Upgrade.

type MockGitOpsManager added in v0.11.0

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

MockGitOpsManager is a mock of GitOpsManager interface.

func NewMockGitOpsManager added in v0.11.0

func NewMockGitOpsManager(ctrl *gomock.Controller) *MockGitOpsManager

NewMockGitOpsManager creates a new mock instance.

func (*MockGitOpsManager) CleanupGitRepo added in v0.11.0

func (m *MockGitOpsManager) CleanupGitRepo(arg0 context.Context, arg1 *cluster.Spec) error

CleanupGitRepo mocks base method.

func (*MockGitOpsManager) EXPECT added in v0.11.0

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

func (*MockGitOpsManager) ForceReconcileGitRepo added in v0.11.0

func (m *MockGitOpsManager) ForceReconcileGitRepo(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec) error

ForceReconcileGitRepo mocks base method.

func (*MockGitOpsManager) Install added in v0.11.0

func (m *MockGitOpsManager) Install(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 *cluster.Spec) error

Install mocks base method.

func (*MockGitOpsManager) InstallGitOps added in v0.11.0

func (m *MockGitOpsManager) InstallGitOps(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec, arg3 providers.DatacenterConfig, arg4 []providers.MachineConfig) error

InstallGitOps mocks base method.

func (*MockGitOpsManager) PauseClusterResourcesReconcile added in v0.11.2

func (m *MockGitOpsManager) PauseClusterResourcesReconcile(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec, arg3 providers.Provider) error

PauseClusterResourcesReconcile mocks base method.

func (*MockGitOpsManager) ResumeClusterResourcesReconcile added in v0.11.2

func (m *MockGitOpsManager) ResumeClusterResourcesReconcile(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec, arg3 providers.Provider) error

ResumeClusterResourcesReconcile mocks base method.

func (*MockGitOpsManager) UpdateGitEksaSpec added in v0.11.0

func (m *MockGitOpsManager) UpdateGitEksaSpec(arg0 context.Context, arg1 *cluster.Spec, arg2 providers.DatacenterConfig, arg3 []providers.MachineConfig) error

UpdateGitEksaSpec mocks base method.

func (*MockGitOpsManager) Upgrade added in v0.11.0

func (m *MockGitOpsManager) Upgrade(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 *cluster.Spec) (*types.ChangeDiff, error)

Upgrade mocks base method.

func (*MockGitOpsManager) Validations added in v0.11.0

func (m *MockGitOpsManager) Validations(arg0 context.Context, arg1 *cluster.Spec) []validations.Validation

Validations mocks base method.

type MockGitOpsManagerMockRecorder added in v0.11.0

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

MockGitOpsManagerMockRecorder is the mock recorder for MockGitOpsManager.

func (*MockGitOpsManagerMockRecorder) CleanupGitRepo added in v0.11.0

func (mr *MockGitOpsManagerMockRecorder) CleanupGitRepo(arg0, arg1 interface{}) *gomock.Call

CleanupGitRepo indicates an expected call of CleanupGitRepo.

func (*MockGitOpsManagerMockRecorder) ForceReconcileGitRepo added in v0.11.0

func (mr *MockGitOpsManagerMockRecorder) ForceReconcileGitRepo(arg0, arg1, arg2 interface{}) *gomock.Call

ForceReconcileGitRepo indicates an expected call of ForceReconcileGitRepo.

func (*MockGitOpsManagerMockRecorder) Install added in v0.11.0

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

Install indicates an expected call of Install.

func (*MockGitOpsManagerMockRecorder) InstallGitOps added in v0.11.0

func (mr *MockGitOpsManagerMockRecorder) InstallGitOps(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

InstallGitOps indicates an expected call of InstallGitOps.

func (*MockGitOpsManagerMockRecorder) PauseClusterResourcesReconcile added in v0.11.2

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

PauseClusterResourcesReconcile indicates an expected call of PauseClusterResourcesReconcile.

func (*MockGitOpsManagerMockRecorder) ResumeClusterResourcesReconcile added in v0.11.2

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

ResumeClusterResourcesReconcile indicates an expected call of ResumeClusterResourcesReconcile.

func (*MockGitOpsManagerMockRecorder) UpdateGitEksaSpec added in v0.11.0

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

UpdateGitEksaSpec indicates an expected call of UpdateGitEksaSpec.

func (*MockGitOpsManagerMockRecorder) Upgrade added in v0.11.0

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

Upgrade indicates an expected call of Upgrade.

func (*MockGitOpsManagerMockRecorder) Validations added in v0.11.0

func (mr *MockGitOpsManagerMockRecorder) Validations(arg0, arg1 interface{}) *gomock.Call

Validations indicates an expected call of Validations.

type MockPackageInstaller added in v0.9.2

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

MockPackageInstaller is a mock of PackageInstaller interface.

func NewMockPackageInstaller added in v0.9.2

func NewMockPackageInstaller(ctrl *gomock.Controller) *MockPackageInstaller

NewMockPackageInstaller creates a new mock instance.

func (*MockPackageInstaller) EXPECT added in v0.9.2

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

func (*MockPackageInstaller) InstallCuratedPackages added in v0.9.2

func (m *MockPackageInstaller) InstallCuratedPackages(arg0 context.Context)

InstallCuratedPackages mocks base method.

type MockPackageInstallerMockRecorder added in v0.9.2

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

MockPackageInstallerMockRecorder is the mock recorder for MockPackageInstaller.

func (*MockPackageInstallerMockRecorder) InstallCuratedPackages added in v0.9.2

func (mr *MockPackageInstallerMockRecorder) InstallCuratedPackages(arg0 interface{}) *gomock.Call

InstallCuratedPackages indicates an expected call of InstallCuratedPackages.

type MockValidator

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

MockValidator is a mock of Validator interface.

func NewMockValidator

func NewMockValidator(ctrl *gomock.Controller) *MockValidator

NewMockValidator creates a new mock instance.

func (*MockValidator) EXPECT

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

func (*MockValidator) PreflightValidations

func (m *MockValidator) PreflightValidations(arg0 context.Context) []validations.Validation

PreflightValidations mocks base method.

type MockValidatorMockRecorder

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

MockValidatorMockRecorder is the mock recorder for MockValidator.

func (*MockValidatorMockRecorder) PreflightValidations

func (mr *MockValidatorMockRecorder) PreflightValidations(arg0 interface{}) *gomock.Call

PreflightValidations indicates an expected call of PreflightValidations.

Jump to

Keyboard shortcuts

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