mocks

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2021 License: Apache-2.0 Imports: 6 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 MockValidationsKubectlClient

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

MockValidationsKubectlClient is a mock of ValidationsKubectlClient interface.

func NewMockValidationsKubectlClient

func NewMockValidationsKubectlClient(ctrl *gomock.Controller) *MockValidationsKubectlClient

NewMockValidationsKubectlClient creates a new mock instance.

func (*MockValidationsKubectlClient) EXPECT

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

func (*MockValidationsKubectlClient) GetClusters

func (m *MockValidationsKubectlClient) GetClusters(ctx context.Context, cluster *types.Cluster) ([]types.CAPICluster, error)

GetClusters mocks base method.

func (*MockValidationsKubectlClient) GetEksaCluster

func (m *MockValidationsKubectlClient) GetEksaCluster(ctx context.Context, cluster *types.Cluster) (*v1alpha1.Cluster, error)

GetEksaCluster mocks base method.

func (*MockValidationsKubectlClient) GetEksaGitOpsConfig

func (m *MockValidationsKubectlClient) GetEksaGitOpsConfig(ctx context.Context, gitOpsConfigName, kubeconfigFile string) (*v1alpha1.GitOpsConfig, error)

GetEksaGitOpsConfig mocks base method.

func (*MockValidationsKubectlClient) GetEksaOIDCConfig

func (m *MockValidationsKubectlClient) GetEksaOIDCConfig(ctx context.Context, oidcConfigName, kubeconfigFile string) (*v1alpha1.OIDCConfig, error)

GetEksaOIDCConfig mocks base method.

func (*MockValidationsKubectlClient) GetEksaVSphereDatacenterConfig

func (m *MockValidationsKubectlClient) GetEksaVSphereDatacenterConfig(ctx context.Context, vsphereDatacenterConfigName, kubeconfigFile string) (*v1alpha1.VSphereDatacenterConfig, error)

GetEksaVSphereDatacenterConfig mocks base method.

func (*MockValidationsKubectlClient) ValidateClustersCRD

func (m *MockValidationsKubectlClient) ValidateClustersCRD(ctx context.Context, cluster *types.Cluster) error

ValidateClustersCRD mocks base method.

func (*MockValidationsKubectlClient) ValidateControlPlaneNodes

func (m *MockValidationsKubectlClient) ValidateControlPlaneNodes(ctx context.Context, cluster *types.Cluster) error

ValidateControlPlaneNodes mocks base method.

func (*MockValidationsKubectlClient) ValidateNodes

func (m *MockValidationsKubectlClient) ValidateNodes(ctx context.Context, kubeconfig string) error

ValidateNodes mocks base method.

func (*MockValidationsKubectlClient) ValidateWorkerNodes

func (m *MockValidationsKubectlClient) ValidateWorkerNodes(ctx context.Context, cluster *types.Cluster) error

ValidateWorkerNodes mocks base method.

func (*MockValidationsKubectlClient) Version

Version mocks base method.

type MockValidationsKubectlClientMockRecorder

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

MockValidationsKubectlClientMockRecorder is the mock recorder for MockValidationsKubectlClient.

func (*MockValidationsKubectlClientMockRecorder) GetClusters

func (mr *MockValidationsKubectlClientMockRecorder) GetClusters(ctx, cluster interface{}) *gomock.Call

GetClusters indicates an expected call of GetClusters.

func (*MockValidationsKubectlClientMockRecorder) GetEksaCluster

func (mr *MockValidationsKubectlClientMockRecorder) GetEksaCluster(ctx, cluster interface{}) *gomock.Call

GetEksaCluster indicates an expected call of GetEksaCluster.

func (*MockValidationsKubectlClientMockRecorder) GetEksaGitOpsConfig

func (mr *MockValidationsKubectlClientMockRecorder) GetEksaGitOpsConfig(ctx, gitOpsConfigName, kubeconfigFile interface{}) *gomock.Call

GetEksaGitOpsConfig indicates an expected call of GetEksaGitOpsConfig.

func (*MockValidationsKubectlClientMockRecorder) GetEksaOIDCConfig

func (mr *MockValidationsKubectlClientMockRecorder) GetEksaOIDCConfig(ctx, oidcConfigName, kubeconfigFile interface{}) *gomock.Call

GetEksaOIDCConfig indicates an expected call of GetEksaOIDCConfig.

func (*MockValidationsKubectlClientMockRecorder) GetEksaVSphereDatacenterConfig

func (mr *MockValidationsKubectlClientMockRecorder) GetEksaVSphereDatacenterConfig(ctx, vsphereDatacenterConfigName, kubeconfigFile interface{}) *gomock.Call

GetEksaVSphereDatacenterConfig indicates an expected call of GetEksaVSphereDatacenterConfig.

func (*MockValidationsKubectlClientMockRecorder) ValidateClustersCRD

func (mr *MockValidationsKubectlClientMockRecorder) ValidateClustersCRD(ctx, cluster interface{}) *gomock.Call

ValidateClustersCRD indicates an expected call of ValidateClustersCRD.

func (*MockValidationsKubectlClientMockRecorder) ValidateControlPlaneNodes

func (mr *MockValidationsKubectlClientMockRecorder) ValidateControlPlaneNodes(ctx, cluster interface{}) *gomock.Call

ValidateControlPlaneNodes indicates an expected call of ValidateControlPlaneNodes.

func (*MockValidationsKubectlClientMockRecorder) ValidateNodes

func (mr *MockValidationsKubectlClientMockRecorder) ValidateNodes(ctx, kubeconfig interface{}) *gomock.Call

ValidateNodes indicates an expected call of ValidateNodes.

func (*MockValidationsKubectlClientMockRecorder) ValidateWorkerNodes

func (mr *MockValidationsKubectlClientMockRecorder) ValidateWorkerNodes(ctx, cluster interface{}) *gomock.Call

ValidateWorkerNodes indicates an expected call of ValidateWorkerNodes.

func (*MockValidationsKubectlClientMockRecorder) Version

func (mr *MockValidationsKubectlClientMockRecorder) Version(ctx, cluster interface{}) *gomock.Call

Version indicates an expected call of Version.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳