mocks

package
v0.17.3 Latest Latest
Warning

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

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

Documentation

Overview

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 MockAwsIamAuth added in v0.6.0

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

MockAwsIamAuth is a mock of AwsIamAuth interface.

func NewMockAwsIamAuth added in v0.6.0

func NewMockAwsIamAuth(ctrl *gomock.Controller) *MockAwsIamAuth

NewMockAwsIamAuth creates a new mock instance.

func (*MockAwsIamAuth) CreateAndInstallAWSIAMAuthCASecret added in v0.13.0

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

CreateAndInstallAWSIAMAuthCASecret mocks base method.

func (*MockAwsIamAuth) EXPECT added in v0.6.0

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

func (*MockAwsIamAuth) InstallAWSIAMAuth added in v0.13.0

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

InstallAWSIAMAuth mocks base method.

func (*MockAwsIamAuth) UpgradeAWSIAMAuth added in v0.13.0

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

UpgradeAWSIAMAuth mocks base method.

type MockAwsIamAuthMockRecorder added in v0.6.0

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

MockAwsIamAuthMockRecorder is the mock recorder for MockAwsIamAuth.

func (*MockAwsIamAuthMockRecorder) CreateAndInstallAWSIAMAuthCASecret added in v0.13.0

func (mr *MockAwsIamAuthMockRecorder) CreateAndInstallAWSIAMAuthCASecret(arg0, arg1, arg2 interface{}) *gomock.Call

CreateAndInstallAWSIAMAuthCASecret indicates an expected call of CreateAndInstallAWSIAMAuthCASecret.

func (*MockAwsIamAuthMockRecorder) InstallAWSIAMAuth added in v0.13.0

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

InstallAWSIAMAuth indicates an expected call of InstallAWSIAMAuth.

func (*MockAwsIamAuthMockRecorder) UpgradeAWSIAMAuth added in v0.13.0

func (mr *MockAwsIamAuthMockRecorder) UpgradeAWSIAMAuth(arg0, arg1, arg2 interface{}) *gomock.Call

UpgradeAWSIAMAuth indicates an expected call of UpgradeAWSIAMAuth.

type MockClientFactory added in v0.15.0

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

MockClientFactory is a mock of ClientFactory interface.

func NewMockClientFactory added in v0.15.0

func NewMockClientFactory(ctrl *gomock.Controller) *MockClientFactory

NewMockClientFactory creates a new mock instance.

func (*MockClientFactory) BuildClientFromKubeconfig added in v0.15.0

func (m *MockClientFactory) BuildClientFromKubeconfig(kubeconfigPath string) (kubernetes.Client, error)

BuildClientFromKubeconfig mocks base method.

func (*MockClientFactory) EXPECT added in v0.15.0

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

type MockClientFactoryMockRecorder added in v0.15.0

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

MockClientFactoryMockRecorder is the mock recorder for MockClientFactory.

func (*MockClientFactoryMockRecorder) BuildClientFromKubeconfig added in v0.15.0

func (mr *MockClientFactoryMockRecorder) BuildClientFromKubeconfig(kubeconfigPath interface{}) *gomock.Call

BuildClientFromKubeconfig indicates an expected call of BuildClientFromKubeconfig.

type MockClusterClient

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

MockClusterClient is a mock of ClusterClient interface.

func NewMockClusterClient

func NewMockClusterClient(ctrl *gomock.Controller) *MockClusterClient

NewMockClusterClient creates a new mock instance.

func (*MockClusterClient) Apply added in v0.13.0

func (m *MockClusterClient) Apply(arg0 context.Context, arg1 string, arg2 runtime.Object) error

Apply mocks base method.

func (*MockClusterClient) ApplyKubeSpecFromBytes

func (m *MockClusterClient) ApplyKubeSpecFromBytes(arg0 context.Context, arg1 *types.Cluster, arg2 []byte) error

ApplyKubeSpecFromBytes mocks base method.

func (*MockClusterClient) ApplyKubeSpecFromBytesForce

func (m *MockClusterClient) ApplyKubeSpecFromBytesForce(arg0 context.Context, arg1 *types.Cluster, arg2 []byte) error

ApplyKubeSpecFromBytesForce mocks base method.

func (*MockClusterClient) ApplyKubeSpecFromBytesWithNamespace added in v0.6.0

func (m *MockClusterClient) ApplyKubeSpecFromBytesWithNamespace(arg0 context.Context, arg1 *types.Cluster, arg2 []byte, arg3 string) error

ApplyKubeSpecFromBytesWithNamespace mocks base method.

func (*MockClusterClient) BackupManagement added in v0.14.4

func (m *MockClusterClient) BackupManagement(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error

BackupManagement mocks base method.

func (*MockClusterClient) CountMachineDeploymentReplicasReady added in v0.9.2

func (m *MockClusterClient) CountMachineDeploymentReplicasReady(arg0 context.Context, arg1, arg2 string) (int, int, error)

CountMachineDeploymentReplicasReady mocks base method.

func (*MockClusterClient) CreateNamespaceIfNotPresent added in v0.11.0

func (m *MockClusterClient) CreateNamespaceIfNotPresent(arg0 context.Context, arg1, arg2 string) error

CreateNamespaceIfNotPresent mocks base method.

func (*MockClusterClient) DeleteAWSIamConfig added in v0.6.0

func (m *MockClusterClient) DeleteAWSIamConfig(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error

DeleteAWSIamConfig mocks base method.

func (*MockClusterClient) DeleteCluster

func (m *MockClusterClient) DeleteCluster(arg0 context.Context, arg1, arg2 *types.Cluster) error

DeleteCluster mocks base method.

func (*MockClusterClient) DeleteEKSACluster added in v0.6.0

func (m *MockClusterClient) DeleteEKSACluster(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error

DeleteEKSACluster mocks base method.

func (*MockClusterClient) DeleteGitOpsConfig added in v0.6.0

func (m *MockClusterClient) DeleteGitOpsConfig(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error

DeleteGitOpsConfig mocks base method.

func (*MockClusterClient) DeleteOIDCConfig added in v0.6.0

func (m *MockClusterClient) DeleteOIDCConfig(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error

DeleteOIDCConfig mocks base method.

func (*MockClusterClient) DeleteOldWorkerNodeGroup added in v0.7.1

func (m *MockClusterClient) DeleteOldWorkerNodeGroup(arg0 context.Context, arg1 *v1beta1.MachineDeployment, arg2 string) error

DeleteOldWorkerNodeGroup mocks base method.

func (*MockClusterClient) DeletePackageResources added in v0.12.0

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

DeletePackageResources mocks base method.

func (*MockClusterClient) EXPECT

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

func (*MockClusterClient) GetApiServerUrl added in v0.6.0

func (m *MockClusterClient) GetApiServerUrl(arg0 context.Context, arg1 *types.Cluster) (string, error)

GetApiServerUrl mocks base method.

func (*MockClusterClient) GetBundles added in v0.6.0

func (m *MockClusterClient) GetBundles(arg0 context.Context, arg1, arg2, arg3 string) (*v1alpha10.Bundles, error)

GetBundles mocks base method.

func (*MockClusterClient) GetClusters

func (m *MockClusterClient) GetClusters(arg0 context.Context, arg1 *types.Cluster) ([]types.CAPICluster, error)

GetClusters mocks base method.

func (*MockClusterClient) GetEksaAWSIamConfig added in v0.12.0

func (m *MockClusterClient) GetEksaAWSIamConfig(arg0 context.Context, arg1, arg2, arg3 string) (*v1alpha1.AWSIamConfig, error)

GetEksaAWSIamConfig mocks base method.

func (*MockClusterClient) GetEksaCloudStackMachineConfig added in v0.9.0

func (m *MockClusterClient) GetEksaCloudStackMachineConfig(arg0 context.Context, arg1, arg2, arg3 string) (*v1alpha1.CloudStackMachineConfig, error)

GetEksaCloudStackMachineConfig mocks base method.

func (*MockClusterClient) GetEksaCluster

func (m *MockClusterClient) GetEksaCluster(arg0 context.Context, arg1 *types.Cluster, arg2 string) (*v1alpha1.Cluster, error)

GetEksaCluster mocks base method.

func (*MockClusterClient) GetEksaFluxConfig added in v0.9.0

func (m *MockClusterClient) GetEksaFluxConfig(arg0 context.Context, arg1, arg2, arg3 string) (*v1alpha1.FluxConfig, error)

GetEksaFluxConfig mocks base method.

func (*MockClusterClient) GetEksaGitOpsConfig added in v0.6.1

func (m *MockClusterClient) GetEksaGitOpsConfig(arg0 context.Context, arg1, arg2, arg3 string) (*v1alpha1.GitOpsConfig, error)

GetEksaGitOpsConfig mocks base method.

func (*MockClusterClient) GetEksaOIDCConfig added in v0.8.0

func (m *MockClusterClient) GetEksaOIDCConfig(arg0 context.Context, arg1, arg2, arg3 string) (*v1alpha1.OIDCConfig, error)

GetEksaOIDCConfig mocks base method.

func (*MockClusterClient) GetEksaVSphereDatacenterConfig

func (m *MockClusterClient) GetEksaVSphereDatacenterConfig(arg0 context.Context, arg1, arg2, arg3 string) (*v1alpha1.VSphereDatacenterConfig, error)

GetEksaVSphereDatacenterConfig mocks base method.

func (*MockClusterClient) GetEksaVSphereMachineConfig

func (m *MockClusterClient) GetEksaVSphereMachineConfig(arg0 context.Context, arg1, arg2, arg3 string) (*v1alpha1.VSphereMachineConfig, error)

GetEksaVSphereMachineConfig mocks base method.

func (*MockClusterClient) GetEksdRelease added in v0.8.0

func (m *MockClusterClient) GetEksdRelease(arg0 context.Context, arg1, arg2, arg3 string) (*v1alpha11.Release, error)

GetEksdRelease mocks base method.

func (*MockClusterClient) GetKubeadmControlPlane added in v0.13.0

func (m *MockClusterClient) GetKubeadmControlPlane(arg0 context.Context, arg1 *types.Cluster, arg2 string, arg3 ...executables.KubectlOpt) (*v1beta10.KubeadmControlPlane, error)

GetKubeadmControlPlane mocks base method.

func (*MockClusterClient) GetMachineDeployment added in v0.7.1

func (m *MockClusterClient) GetMachineDeployment(arg0 context.Context, arg1 string, arg2 ...executables.KubectlOpt) (*v1beta1.MachineDeployment, error)

GetMachineDeployment mocks base method.

func (*MockClusterClient) GetMachineDeploymentsForCluster added in v0.13.0

func (m *MockClusterClient) GetMachineDeploymentsForCluster(arg0 context.Context, arg1 string, arg2 ...executables.KubectlOpt) ([]v1beta1.MachineDeployment, error)

GetMachineDeploymentsForCluster mocks base method.

func (*MockClusterClient) GetMachines

func (m *MockClusterClient) GetMachines(arg0 context.Context, arg1 *types.Cluster, arg2 string) ([]types.Machine, error)

GetMachines mocks base method.

func (*MockClusterClient) GetWorkloadKubeconfig

func (m *MockClusterClient) GetWorkloadKubeconfig(arg0 context.Context, arg1 string, arg2 *types.Cluster) ([]byte, error)

GetWorkloadKubeconfig mocks base method.

func (*MockClusterClient) InitInfrastructure

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

InitInfrastructure mocks base method.

func (*MockClusterClient) KubeconfigSecretAvailable added in v0.6.1

func (m *MockClusterClient) KubeconfigSecretAvailable(arg0 context.Context, arg1, arg2, arg3 string) (bool, error)

KubeconfigSecretAvailable mocks base method.

func (*MockClusterClient) ListObjects added in v0.12.0

func (m *MockClusterClient) ListObjects(arg0 context.Context, arg1, arg2, arg3 string, arg4 kubernetes.ObjectList) error

ListObjects mocks base method.

func (*MockClusterClient) MoveManagement

func (m *MockClusterClient) MoveManagement(arg0 context.Context, arg1, arg2 *types.Cluster, arg3 string) error

MoveManagement mocks base method.

func (*MockClusterClient) PauseCAPICluster added in v0.16.0

func (m *MockClusterClient) PauseCAPICluster(arg0 context.Context, arg1, arg2 string) error

PauseCAPICluster mocks base method.

func (*MockClusterClient) RemoveAnnotationInNamespace

func (m *MockClusterClient) RemoveAnnotationInNamespace(arg0 context.Context, arg1, arg2, arg3 string, arg4 *types.Cluster, arg5 string) error

RemoveAnnotationInNamespace mocks base method.

func (*MockClusterClient) ResumeCAPICluster added in v0.16.0

func (m *MockClusterClient) ResumeCAPICluster(arg0 context.Context, arg1, arg2 string) error

ResumeCAPICluster mocks base method.

func (*MockClusterClient) SaveLog

func (m *MockClusterClient) SaveLog(arg0 context.Context, arg1 *types.Cluster, arg2 *types.Deployment, arg3 string, arg4 filewriter.FileWriter) error

SaveLog mocks base method.

func (*MockClusterClient) SetEksaControllerEnvVar added in v0.9.0

func (m *MockClusterClient) SetEksaControllerEnvVar(arg0 context.Context, arg1, arg2, arg3 string) error

SetEksaControllerEnvVar mocks base method.

func (*MockClusterClient) UpdateAnnotationInNamespace

func (m *MockClusterClient) UpdateAnnotationInNamespace(arg0 context.Context, arg1, arg2 string, arg3 map[string]string, arg4 *types.Cluster, arg5 string) error

UpdateAnnotationInNamespace mocks base method.

func (*MockClusterClient) UpdateEnvironmentVariablesInNamespace added in v0.6.0

func (m *MockClusterClient) UpdateEnvironmentVariablesInNamespace(arg0 context.Context, arg1, arg2 string, arg3 map[string]string, arg4 *types.Cluster, arg5 string) error

UpdateEnvironmentVariablesInNamespace mocks base method.

func (*MockClusterClient) ValidateControlPlaneNodes

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

ValidateControlPlaneNodes mocks base method.

func (*MockClusterClient) ValidateWorkerNodes

func (m *MockClusterClient) ValidateWorkerNodes(arg0 context.Context, arg1, arg2 string) error

ValidateWorkerNodes mocks base method.

func (*MockClusterClient) WaitForClusterReady added in v0.10.1

func (m *MockClusterClient) WaitForClusterReady(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error

WaitForClusterReady mocks base method.

func (*MockClusterClient) WaitForControlPlaneAvailable added in v0.13.0

func (m *MockClusterClient) WaitForControlPlaneAvailable(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error

WaitForControlPlaneAvailable mocks base method.

func (*MockClusterClient) WaitForControlPlaneNotReady added in v0.9.0

func (m *MockClusterClient) WaitForControlPlaneNotReady(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error

WaitForControlPlaneNotReady mocks base method.

func (*MockClusterClient) WaitForControlPlaneReady

func (m *MockClusterClient) WaitForControlPlaneReady(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error

WaitForControlPlaneReady mocks base method.

func (*MockClusterClient) WaitForDeployment

func (m *MockClusterClient) WaitForDeployment(arg0 context.Context, arg1 *types.Cluster, arg2, arg3, arg4, arg5 string) error

WaitForDeployment mocks base method.

func (*MockClusterClient) WaitForManagedExternalEtcdNotReady added in v0.10.1

func (m *MockClusterClient) WaitForManagedExternalEtcdNotReady(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error

WaitForManagedExternalEtcdNotReady mocks base method.

func (*MockClusterClient) WaitForManagedExternalEtcdReady

func (m *MockClusterClient) WaitForManagedExternalEtcdReady(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error

WaitForManagedExternalEtcdReady mocks base method.

type MockClusterClientMockRecorder

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

MockClusterClientMockRecorder is the mock recorder for MockClusterClient.

func (*MockClusterClientMockRecorder) Apply added in v0.13.0

func (mr *MockClusterClientMockRecorder) Apply(arg0, arg1, arg2 interface{}) *gomock.Call

Apply indicates an expected call of Apply.

func (*MockClusterClientMockRecorder) ApplyKubeSpecFromBytes

func (mr *MockClusterClientMockRecorder) ApplyKubeSpecFromBytes(arg0, arg1, arg2 interface{}) *gomock.Call

ApplyKubeSpecFromBytes indicates an expected call of ApplyKubeSpecFromBytes.

func (*MockClusterClientMockRecorder) ApplyKubeSpecFromBytesForce

func (mr *MockClusterClientMockRecorder) ApplyKubeSpecFromBytesForce(arg0, arg1, arg2 interface{}) *gomock.Call

ApplyKubeSpecFromBytesForce indicates an expected call of ApplyKubeSpecFromBytesForce.

func (*MockClusterClientMockRecorder) ApplyKubeSpecFromBytesWithNamespace added in v0.6.0

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

ApplyKubeSpecFromBytesWithNamespace indicates an expected call of ApplyKubeSpecFromBytesWithNamespace.

func (*MockClusterClientMockRecorder) BackupManagement added in v0.14.4

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

BackupManagement indicates an expected call of BackupManagement.

func (*MockClusterClientMockRecorder) CountMachineDeploymentReplicasReady added in v0.9.2

func (mr *MockClusterClientMockRecorder) CountMachineDeploymentReplicasReady(arg0, arg1, arg2 interface{}) *gomock.Call

CountMachineDeploymentReplicasReady indicates an expected call of CountMachineDeploymentReplicasReady.

func (*MockClusterClientMockRecorder) CreateNamespaceIfNotPresent added in v0.11.0

func (mr *MockClusterClientMockRecorder) CreateNamespaceIfNotPresent(arg0, arg1, arg2 interface{}) *gomock.Call

CreateNamespaceIfNotPresent indicates an expected call of CreateNamespaceIfNotPresent.

func (*MockClusterClientMockRecorder) DeleteAWSIamConfig added in v0.6.0

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

DeleteAWSIamConfig indicates an expected call of DeleteAWSIamConfig.

func (*MockClusterClientMockRecorder) DeleteCluster

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

DeleteCluster indicates an expected call of DeleteCluster.

func (*MockClusterClientMockRecorder) DeleteEKSACluster added in v0.6.0

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

DeleteEKSACluster indicates an expected call of DeleteEKSACluster.

func (*MockClusterClientMockRecorder) DeleteGitOpsConfig added in v0.6.0

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

DeleteGitOpsConfig indicates an expected call of DeleteGitOpsConfig.

func (*MockClusterClientMockRecorder) DeleteOIDCConfig added in v0.6.0

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

DeleteOIDCConfig indicates an expected call of DeleteOIDCConfig.

func (*MockClusterClientMockRecorder) DeleteOldWorkerNodeGroup added in v0.7.1

func (mr *MockClusterClientMockRecorder) DeleteOldWorkerNodeGroup(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteOldWorkerNodeGroup indicates an expected call of DeleteOldWorkerNodeGroup.

func (*MockClusterClientMockRecorder) DeletePackageResources added in v0.12.0

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

DeletePackageResources indicates an expected call of DeletePackageResources.

func (*MockClusterClientMockRecorder) GetApiServerUrl added in v0.6.0

func (mr *MockClusterClientMockRecorder) GetApiServerUrl(arg0, arg1 interface{}) *gomock.Call

GetApiServerUrl indicates an expected call of GetApiServerUrl.

func (*MockClusterClientMockRecorder) GetBundles added in v0.6.0

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

GetBundles indicates an expected call of GetBundles.

func (*MockClusterClientMockRecorder) GetClusters

func (mr *MockClusterClientMockRecorder) GetClusters(arg0, arg1 interface{}) *gomock.Call

GetClusters indicates an expected call of GetClusters.

func (*MockClusterClientMockRecorder) GetEksaAWSIamConfig added in v0.12.0

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

GetEksaAWSIamConfig indicates an expected call of GetEksaAWSIamConfig.

func (*MockClusterClientMockRecorder) GetEksaCloudStackMachineConfig added in v0.9.0

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

GetEksaCloudStackMachineConfig indicates an expected call of GetEksaCloudStackMachineConfig.

func (*MockClusterClientMockRecorder) GetEksaCluster

func (mr *MockClusterClientMockRecorder) GetEksaCluster(arg0, arg1, arg2 interface{}) *gomock.Call

GetEksaCluster indicates an expected call of GetEksaCluster.

func (*MockClusterClientMockRecorder) GetEksaFluxConfig added in v0.9.0

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

GetEksaFluxConfig indicates an expected call of GetEksaFluxConfig.

func (*MockClusterClientMockRecorder) GetEksaGitOpsConfig added in v0.6.1

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

GetEksaGitOpsConfig indicates an expected call of GetEksaGitOpsConfig.

func (*MockClusterClientMockRecorder) GetEksaOIDCConfig added in v0.8.0

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

GetEksaOIDCConfig indicates an expected call of GetEksaOIDCConfig.

func (*MockClusterClientMockRecorder) GetEksaVSphereDatacenterConfig

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

GetEksaVSphereDatacenterConfig indicates an expected call of GetEksaVSphereDatacenterConfig.

func (*MockClusterClientMockRecorder) GetEksaVSphereMachineConfig

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

GetEksaVSphereMachineConfig indicates an expected call of GetEksaVSphereMachineConfig.

func (*MockClusterClientMockRecorder) GetEksdRelease added in v0.8.0

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

GetEksdRelease indicates an expected call of GetEksdRelease.

func (*MockClusterClientMockRecorder) GetKubeadmControlPlane added in v0.13.0

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

GetKubeadmControlPlane indicates an expected call of GetKubeadmControlPlane.

func (*MockClusterClientMockRecorder) GetMachineDeployment added in v0.7.1

func (mr *MockClusterClientMockRecorder) GetMachineDeployment(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetMachineDeployment indicates an expected call of GetMachineDeployment.

func (*MockClusterClientMockRecorder) GetMachineDeploymentsForCluster added in v0.13.0

func (mr *MockClusterClientMockRecorder) GetMachineDeploymentsForCluster(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetMachineDeploymentsForCluster indicates an expected call of GetMachineDeploymentsForCluster.

func (*MockClusterClientMockRecorder) GetMachines

func (mr *MockClusterClientMockRecorder) GetMachines(arg0, arg1, arg2 interface{}) *gomock.Call

GetMachines indicates an expected call of GetMachines.

func (*MockClusterClientMockRecorder) GetWorkloadKubeconfig

func (mr *MockClusterClientMockRecorder) GetWorkloadKubeconfig(arg0, arg1, arg2 interface{}) *gomock.Call

GetWorkloadKubeconfig indicates an expected call of GetWorkloadKubeconfig.

func (*MockClusterClientMockRecorder) InitInfrastructure

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

InitInfrastructure indicates an expected call of InitInfrastructure.

func (*MockClusterClientMockRecorder) KubeconfigSecretAvailable added in v0.6.1

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

KubeconfigSecretAvailable indicates an expected call of KubeconfigSecretAvailable.

func (*MockClusterClientMockRecorder) ListObjects added in v0.12.0

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

ListObjects indicates an expected call of ListObjects.

func (*MockClusterClientMockRecorder) MoveManagement

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

MoveManagement indicates an expected call of MoveManagement.

func (*MockClusterClientMockRecorder) PauseCAPICluster added in v0.16.0

func (mr *MockClusterClientMockRecorder) PauseCAPICluster(arg0, arg1, arg2 interface{}) *gomock.Call

PauseCAPICluster indicates an expected call of PauseCAPICluster.

func (*MockClusterClientMockRecorder) RemoveAnnotationInNamespace

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

RemoveAnnotationInNamespace indicates an expected call of RemoveAnnotationInNamespace.

func (*MockClusterClientMockRecorder) ResumeCAPICluster added in v0.16.0

func (mr *MockClusterClientMockRecorder) ResumeCAPICluster(arg0, arg1, arg2 interface{}) *gomock.Call

ResumeCAPICluster indicates an expected call of ResumeCAPICluster.

func (*MockClusterClientMockRecorder) SaveLog

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

SaveLog indicates an expected call of SaveLog.

func (*MockClusterClientMockRecorder) SetEksaControllerEnvVar added in v0.9.0

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

SetEksaControllerEnvVar indicates an expected call of SetEksaControllerEnvVar.

func (*MockClusterClientMockRecorder) UpdateAnnotationInNamespace

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

UpdateAnnotationInNamespace indicates an expected call of UpdateAnnotationInNamespace.

func (*MockClusterClientMockRecorder) UpdateEnvironmentVariablesInNamespace added in v0.6.0

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

UpdateEnvironmentVariablesInNamespace indicates an expected call of UpdateEnvironmentVariablesInNamespace.

func (*MockClusterClientMockRecorder) ValidateControlPlaneNodes

func (mr *MockClusterClientMockRecorder) ValidateControlPlaneNodes(arg0, arg1, arg2 interface{}) *gomock.Call

ValidateControlPlaneNodes indicates an expected call of ValidateControlPlaneNodes.

func (*MockClusterClientMockRecorder) ValidateWorkerNodes

func (mr *MockClusterClientMockRecorder) ValidateWorkerNodes(arg0, arg1, arg2 interface{}) *gomock.Call

ValidateWorkerNodes indicates an expected call of ValidateWorkerNodes.

func (*MockClusterClientMockRecorder) WaitForClusterReady added in v0.10.1

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

WaitForClusterReady indicates an expected call of WaitForClusterReady.

func (*MockClusterClientMockRecorder) WaitForControlPlaneAvailable added in v0.13.0

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

WaitForControlPlaneAvailable indicates an expected call of WaitForControlPlaneAvailable.

func (*MockClusterClientMockRecorder) WaitForControlPlaneNotReady added in v0.9.0

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

WaitForControlPlaneNotReady indicates an expected call of WaitForControlPlaneNotReady.

func (*MockClusterClientMockRecorder) WaitForControlPlaneReady

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

WaitForControlPlaneReady indicates an expected call of WaitForControlPlaneReady.

func (*MockClusterClientMockRecorder) WaitForDeployment

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

WaitForDeployment indicates an expected call of WaitForDeployment.

func (*MockClusterClientMockRecorder) WaitForManagedExternalEtcdNotReady added in v0.10.1

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

WaitForManagedExternalEtcdNotReady indicates an expected call of WaitForManagedExternalEtcdNotReady.

func (*MockClusterClientMockRecorder) WaitForManagedExternalEtcdReady

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

WaitForManagedExternalEtcdReady indicates an expected call of WaitForManagedExternalEtcdReady.

type MockEKSAComponents added in v0.13.0

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

MockEKSAComponents is a mock of EKSAComponents interface.

func NewMockEKSAComponents added in v0.13.0

func NewMockEKSAComponents(ctrl *gomock.Controller) *MockEKSAComponents

NewMockEKSAComponents creates a new mock instance.

func (*MockEKSAComponents) EXPECT added in v0.13.0

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

func (*MockEKSAComponents) Install added in v0.13.0

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

Install mocks base method.

func (*MockEKSAComponents) Upgrade added in v0.13.0

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

Upgrade mocks base method.

type MockEKSAComponentsMockRecorder added in v0.13.0

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

MockEKSAComponentsMockRecorder is the mock recorder for MockEKSAComponents.

func (*MockEKSAComponentsMockRecorder) Install added in v0.13.0

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

Install indicates an expected call of Install.

func (*MockEKSAComponentsMockRecorder) Upgrade added in v0.13.0

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

Upgrade indicates an expected call of Upgrade.

type MockKubernetesClient added in v0.13.0

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

MockKubernetesClient is a mock of KubernetesClient interface.

func NewMockKubernetesClient added in v0.13.0

func NewMockKubernetesClient(ctrl *gomock.Controller) *MockKubernetesClient

NewMockKubernetesClient creates a new mock instance.

func (*MockKubernetesClient) Apply added in v0.13.0

func (m *MockKubernetesClient) Apply(arg0 context.Context, arg1 string, arg2 runtime.Object) error

Apply mocks base method.

func (*MockKubernetesClient) ApplyKubeSpecFromBytes added in v0.13.0

func (m *MockKubernetesClient) ApplyKubeSpecFromBytes(arg0 context.Context, arg1 *types.Cluster, arg2 []byte) error

ApplyKubeSpecFromBytes mocks base method.

func (*MockKubernetesClient) ApplyKubeSpecFromBytesForce added in v0.13.0

func (m *MockKubernetesClient) ApplyKubeSpecFromBytesForce(arg0 context.Context, arg1 *types.Cluster, arg2 []byte) error

ApplyKubeSpecFromBytesForce mocks base method.

func (*MockKubernetesClient) ApplyKubeSpecFromBytesWithNamespace added in v0.13.0

func (m *MockKubernetesClient) ApplyKubeSpecFromBytesWithNamespace(arg0 context.Context, arg1 *types.Cluster, arg2 []byte, arg3 string) error

ApplyKubeSpecFromBytesWithNamespace mocks base method.

func (*MockKubernetesClient) EXPECT added in v0.13.0

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

func (*MockKubernetesClient) RemoveAnnotationInNamespace added in v0.13.0

func (m *MockKubernetesClient) RemoveAnnotationInNamespace(arg0 context.Context, arg1, arg2, arg3 string, arg4 *types.Cluster, arg5 string) error

RemoveAnnotationInNamespace mocks base method.

func (*MockKubernetesClient) UpdateAnnotationInNamespace added in v0.13.0

func (m *MockKubernetesClient) UpdateAnnotationInNamespace(arg0 context.Context, arg1, arg2 string, arg3 map[string]string, arg4 *types.Cluster, arg5 string) error

UpdateAnnotationInNamespace mocks base method.

func (*MockKubernetesClient) WaitForDeployment added in v0.13.0

func (m *MockKubernetesClient) WaitForDeployment(arg0 context.Context, arg1 *types.Cluster, arg2, arg3, arg4, arg5 string) error

WaitForDeployment mocks base method.

type MockKubernetesClientMockRecorder added in v0.13.0

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

MockKubernetesClientMockRecorder is the mock recorder for MockKubernetesClient.

func (*MockKubernetesClientMockRecorder) Apply added in v0.13.0

func (mr *MockKubernetesClientMockRecorder) Apply(arg0, arg1, arg2 interface{}) *gomock.Call

Apply indicates an expected call of Apply.

func (*MockKubernetesClientMockRecorder) ApplyKubeSpecFromBytes added in v0.13.0

func (mr *MockKubernetesClientMockRecorder) ApplyKubeSpecFromBytes(arg0, arg1, arg2 interface{}) *gomock.Call

ApplyKubeSpecFromBytes indicates an expected call of ApplyKubeSpecFromBytes.

func (*MockKubernetesClientMockRecorder) ApplyKubeSpecFromBytesForce added in v0.13.0

func (mr *MockKubernetesClientMockRecorder) ApplyKubeSpecFromBytesForce(arg0, arg1, arg2 interface{}) *gomock.Call

ApplyKubeSpecFromBytesForce indicates an expected call of ApplyKubeSpecFromBytesForce.

func (*MockKubernetesClientMockRecorder) ApplyKubeSpecFromBytesWithNamespace added in v0.13.0

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

ApplyKubeSpecFromBytesWithNamespace indicates an expected call of ApplyKubeSpecFromBytesWithNamespace.

func (*MockKubernetesClientMockRecorder) RemoveAnnotationInNamespace added in v0.13.0

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

RemoveAnnotationInNamespace indicates an expected call of RemoveAnnotationInNamespace.

func (*MockKubernetesClientMockRecorder) UpdateAnnotationInNamespace added in v0.13.0

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

UpdateAnnotationInNamespace indicates an expected call of UpdateAnnotationInNamespace.

func (*MockKubernetesClientMockRecorder) WaitForDeployment added in v0.13.0

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

WaitForDeployment indicates an expected call of WaitForDeployment.

type MockNetworking

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

MockNetworking is a mock of Networking interface.

func NewMockNetworking

func NewMockNetworking(ctrl *gomock.Controller) *MockNetworking

NewMockNetworking creates a new mock instance.

func (*MockNetworking) EXPECT

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

func (*MockNetworking) Install added in v0.13.0

func (m *MockNetworking) Install(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec, arg3 []string) error

Install mocks base method.

func (*MockNetworking) RunPostControlPlaneUpgradeSetup added in v0.9.1

func (m *MockNetworking) RunPostControlPlaneUpgradeSetup(arg0 context.Context, arg1 *types.Cluster) error

RunPostControlPlaneUpgradeSetup mocks base method.

func (*MockNetworking) Upgrade added in v0.7.0

func (m *MockNetworking) Upgrade(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 *cluster.Spec, arg4 []string) (*types.ChangeDiff, error)

Upgrade mocks base method.

type MockNetworkingMockRecorder

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

MockNetworkingMockRecorder is the mock recorder for MockNetworking.

func (*MockNetworkingMockRecorder) Install added in v0.13.0

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

Install indicates an expected call of Install.

func (*MockNetworkingMockRecorder) RunPostControlPlaneUpgradeSetup added in v0.9.1

func (mr *MockNetworkingMockRecorder) RunPostControlPlaneUpgradeSetup(arg0, arg1 interface{}) *gomock.Call

RunPostControlPlaneUpgradeSetup indicates an expected call of RunPostControlPlaneUpgradeSetup.

func (*MockNetworkingMockRecorder) Upgrade added in v0.7.0

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

Upgrade indicates an expected call of Upgrade.

Jump to

Keyboard shortcuts

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