Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockDockerExecutable
- type MockDockerExecutableMockRecorder
- type MockKubectlClient
- func (m *MockKubectlClient) EXPECT() *MockKubectlClientMockRecorder
- func (m *MockKubectlClient) GetClusters(ctx context.Context, cluster *types.Cluster) ([]types.CAPICluster, error)
- func (m *MockKubectlClient) GetEksaAWSIamConfig(ctx context.Context, awsIamConfigName, kubeconfigFile, namespace string) (*v1alpha1.AWSIamConfig, error)
- func (m *MockKubectlClient) GetEksaCluster(ctx context.Context, cluster *types.Cluster, clusterName string) (*v1alpha1.Cluster, error)
- func (m *MockKubectlClient) GetEksaGitOpsConfig(ctx context.Context, gitOpsConfigName, kubeconfigFile, namespace string) (*v1alpha1.GitOpsConfig, error)
- func (m *MockKubectlClient) GetEksaOIDCConfig(ctx context.Context, oidcConfigName, kubeconfigFile, namespace string) (*v1alpha1.OIDCConfig, error)
- func (m *MockKubectlClient) GetEksaVSphereDatacenterConfig(ctx context.Context, ...) (*v1alpha1.VSphereDatacenterConfig, error)
- func (m *MockKubectlClient) SearchEksaGitOpsConfig(ctx context.Context, gitOpsConfigName, kubeconfigFile, namespace string) ([]*v1alpha1.GitOpsConfig, error)
- func (m *MockKubectlClient) SearchIdentityProviderConfig(ctx context.Context, ipName, kind, kubeconfigFile, namespace string) ([]*v1alpha1.VSphereDatacenterConfig, error)
- func (m *MockKubectlClient) ValidateClustersCRD(ctx context.Context, cluster *types.Cluster) error
- func (m *MockKubectlClient) ValidateControlPlaneNodes(ctx context.Context, cluster *types.Cluster, clusterName string) error
- func (m *MockKubectlClient) ValidateEKSAClustersCRD(ctx context.Context, cluster *types.Cluster) error
- func (m *MockKubectlClient) ValidateNodes(ctx context.Context, kubeconfig string) error
- func (m *MockKubectlClient) ValidateWorkerNodes(ctx context.Context, cluster *types.Cluster, clusterName string) error
- func (m *MockKubectlClient) Version(ctx context.Context, cluster *types.Cluster) (*executables.VersionResponse, error)
- type MockKubectlClientMockRecorder
- func (mr *MockKubectlClientMockRecorder) GetClusters(ctx, cluster interface{}) *gomock.Call
- func (mr *MockKubectlClientMockRecorder) GetEksaAWSIamConfig(ctx, awsIamConfigName, kubeconfigFile, namespace interface{}) *gomock.Call
- func (mr *MockKubectlClientMockRecorder) GetEksaCluster(ctx, cluster, clusterName interface{}) *gomock.Call
- func (mr *MockKubectlClientMockRecorder) GetEksaGitOpsConfig(ctx, gitOpsConfigName, kubeconfigFile, namespace interface{}) *gomock.Call
- func (mr *MockKubectlClientMockRecorder) GetEksaOIDCConfig(ctx, oidcConfigName, kubeconfigFile, namespace interface{}) *gomock.Call
- func (mr *MockKubectlClientMockRecorder) GetEksaVSphereDatacenterConfig(ctx, vsphereDatacenterConfigName, kubeconfigFile, namespace interface{}) *gomock.Call
- func (mr *MockKubectlClientMockRecorder) SearchEksaGitOpsConfig(ctx, gitOpsConfigName, kubeconfigFile, namespace interface{}) *gomock.Call
- func (mr *MockKubectlClientMockRecorder) SearchIdentityProviderConfig(ctx, ipName, kind, kubeconfigFile, namespace interface{}) *gomock.Call
- func (mr *MockKubectlClientMockRecorder) ValidateClustersCRD(ctx, cluster interface{}) *gomock.Call
- func (mr *MockKubectlClientMockRecorder) ValidateControlPlaneNodes(ctx, cluster, clusterName interface{}) *gomock.Call
- func (mr *MockKubectlClientMockRecorder) ValidateEKSAClustersCRD(ctx, cluster interface{}) *gomock.Call
- func (mr *MockKubectlClientMockRecorder) ValidateNodes(ctx, kubeconfig interface{}) *gomock.Call
- func (mr *MockKubectlClientMockRecorder) ValidateWorkerNodes(ctx, cluster, clusterName interface{}) *gomock.Call
- func (mr *MockKubectlClientMockRecorder) Version(ctx, cluster interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDockerExecutable ¶
type MockDockerExecutable struct {
// contains filtered or unexported fields
}
MockDockerExecutable is a mock of DockerExecutable interface.
func NewMockDockerExecutable ¶
func NewMockDockerExecutable(ctrl *gomock.Controller) *MockDockerExecutable
NewMockDockerExecutable creates a new mock instance.
func (*MockDockerExecutable) AllocatedMemory ¶
func (m *MockDockerExecutable) AllocatedMemory(arg0 context.Context) (uint64, error)
AllocatedMemory mocks base method.
func (*MockDockerExecutable) EXPECT ¶
func (m *MockDockerExecutable) EXPECT() *MockDockerExecutableMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDockerExecutableMockRecorder ¶
type MockDockerExecutableMockRecorder struct {
// contains filtered or unexported fields
}
MockDockerExecutableMockRecorder is the mock recorder for MockDockerExecutable.
func (*MockDockerExecutableMockRecorder) AllocatedMemory ¶
func (mr *MockDockerExecutableMockRecorder) AllocatedMemory(arg0 interface{}) *gomock.Call
AllocatedMemory indicates an expected call of AllocatedMemory.
func (*MockDockerExecutableMockRecorder) Version ¶
func (mr *MockDockerExecutableMockRecorder) Version(arg0 interface{}) *gomock.Call
Version indicates an expected call of Version.
type MockKubectlClient ¶ added in v0.6.0
type MockKubectlClient struct {
// contains filtered or unexported fields
}
MockKubectlClient is a mock of KubectlClient interface.
func NewMockKubectlClient ¶ added in v0.6.0
func NewMockKubectlClient(ctrl *gomock.Controller) *MockKubectlClient
NewMockKubectlClient creates a new mock instance.
func (*MockKubectlClient) EXPECT ¶ added in v0.6.0
func (m *MockKubectlClient) EXPECT() *MockKubectlClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockKubectlClient) GetClusters ¶ added in v0.6.0
func (m *MockKubectlClient) GetClusters(ctx context.Context, cluster *types.Cluster) ([]types.CAPICluster, error)
GetClusters mocks base method.
func (*MockKubectlClient) GetEksaAWSIamConfig ¶ added in v0.6.0
func (m *MockKubectlClient) GetEksaAWSIamConfig(ctx context.Context, awsIamConfigName, kubeconfigFile, namespace string) (*v1alpha1.AWSIamConfig, error)
GetEksaAWSIamConfig mocks base method.
func (*MockKubectlClient) GetEksaCluster ¶ added in v0.6.0
func (m *MockKubectlClient) GetEksaCluster(ctx context.Context, cluster *types.Cluster, clusterName string) (*v1alpha1.Cluster, error)
GetEksaCluster mocks base method.
func (*MockKubectlClient) GetEksaGitOpsConfig ¶ added in v0.6.0
func (m *MockKubectlClient) GetEksaGitOpsConfig(ctx context.Context, gitOpsConfigName, kubeconfigFile, namespace string) (*v1alpha1.GitOpsConfig, error)
GetEksaGitOpsConfig mocks base method.
func (*MockKubectlClient) GetEksaOIDCConfig ¶ added in v0.6.0
func (m *MockKubectlClient) GetEksaOIDCConfig(ctx context.Context, oidcConfigName, kubeconfigFile, namespace string) (*v1alpha1.OIDCConfig, error)
GetEksaOIDCConfig mocks base method.
func (*MockKubectlClient) GetEksaVSphereDatacenterConfig ¶ added in v0.6.0
func (m *MockKubectlClient) GetEksaVSphereDatacenterConfig(ctx context.Context, vsphereDatacenterConfigName, kubeconfigFile, namespace string) (*v1alpha1.VSphereDatacenterConfig, error)
GetEksaVSphereDatacenterConfig mocks base method.
func (*MockKubectlClient) SearchEksaGitOpsConfig ¶ added in v0.6.0
func (m *MockKubectlClient) SearchEksaGitOpsConfig(ctx context.Context, gitOpsConfigName, kubeconfigFile, namespace string) ([]*v1alpha1.GitOpsConfig, error)
SearchEksaGitOpsConfig mocks base method.
func (*MockKubectlClient) SearchIdentityProviderConfig ¶ added in v0.6.0
func (m *MockKubectlClient) SearchIdentityProviderConfig(ctx context.Context, ipName, kind, kubeconfigFile, namespace string) ([]*v1alpha1.VSphereDatacenterConfig, error)
SearchIdentityProviderConfig mocks base method.
func (*MockKubectlClient) ValidateClustersCRD ¶ added in v0.6.0
ValidateClustersCRD mocks base method.
func (*MockKubectlClient) ValidateControlPlaneNodes ¶ added in v0.6.0
func (m *MockKubectlClient) ValidateControlPlaneNodes(ctx context.Context, cluster *types.Cluster, clusterName string) error
ValidateControlPlaneNodes mocks base method.
func (*MockKubectlClient) ValidateEKSAClustersCRD ¶ added in v0.6.0
func (m *MockKubectlClient) ValidateEKSAClustersCRD(ctx context.Context, cluster *types.Cluster) error
ValidateEKSAClustersCRD mocks base method.
func (*MockKubectlClient) ValidateNodes ¶ added in v0.6.0
func (m *MockKubectlClient) ValidateNodes(ctx context.Context, kubeconfig string) error
ValidateNodes mocks base method.
func (*MockKubectlClient) ValidateWorkerNodes ¶ added in v0.6.0
func (m *MockKubectlClient) ValidateWorkerNodes(ctx context.Context, cluster *types.Cluster, clusterName string) error
ValidateWorkerNodes mocks base method.
func (*MockKubectlClient) Version ¶ added in v0.6.0
func (m *MockKubectlClient) Version(ctx context.Context, cluster *types.Cluster) (*executables.VersionResponse, error)
Version mocks base method.
type MockKubectlClientMockRecorder ¶ added in v0.6.0
type MockKubectlClientMockRecorder struct {
// contains filtered or unexported fields
}
MockKubectlClientMockRecorder is the mock recorder for MockKubectlClient.
func (*MockKubectlClientMockRecorder) GetClusters ¶ added in v0.6.0
func (mr *MockKubectlClientMockRecorder) GetClusters(ctx, cluster interface{}) *gomock.Call
GetClusters indicates an expected call of GetClusters.
func (*MockKubectlClientMockRecorder) GetEksaAWSIamConfig ¶ added in v0.6.0
func (mr *MockKubectlClientMockRecorder) GetEksaAWSIamConfig(ctx, awsIamConfigName, kubeconfigFile, namespace interface{}) *gomock.Call
GetEksaAWSIamConfig indicates an expected call of GetEksaAWSIamConfig.
func (*MockKubectlClientMockRecorder) GetEksaCluster ¶ added in v0.6.0
func (mr *MockKubectlClientMockRecorder) GetEksaCluster(ctx, cluster, clusterName interface{}) *gomock.Call
GetEksaCluster indicates an expected call of GetEksaCluster.
func (*MockKubectlClientMockRecorder) GetEksaGitOpsConfig ¶ added in v0.6.0
func (mr *MockKubectlClientMockRecorder) GetEksaGitOpsConfig(ctx, gitOpsConfigName, kubeconfigFile, namespace interface{}) *gomock.Call
GetEksaGitOpsConfig indicates an expected call of GetEksaGitOpsConfig.
func (*MockKubectlClientMockRecorder) GetEksaOIDCConfig ¶ added in v0.6.0
func (mr *MockKubectlClientMockRecorder) GetEksaOIDCConfig(ctx, oidcConfigName, kubeconfigFile, namespace interface{}) *gomock.Call
GetEksaOIDCConfig indicates an expected call of GetEksaOIDCConfig.
func (*MockKubectlClientMockRecorder) GetEksaVSphereDatacenterConfig ¶ added in v0.6.0
func (mr *MockKubectlClientMockRecorder) GetEksaVSphereDatacenterConfig(ctx, vsphereDatacenterConfigName, kubeconfigFile, namespace interface{}) *gomock.Call
GetEksaVSphereDatacenterConfig indicates an expected call of GetEksaVSphereDatacenterConfig.
func (*MockKubectlClientMockRecorder) SearchEksaGitOpsConfig ¶ added in v0.6.0
func (mr *MockKubectlClientMockRecorder) SearchEksaGitOpsConfig(ctx, gitOpsConfigName, kubeconfigFile, namespace interface{}) *gomock.Call
SearchEksaGitOpsConfig indicates an expected call of SearchEksaGitOpsConfig.
func (*MockKubectlClientMockRecorder) SearchIdentityProviderConfig ¶ added in v0.6.0
func (mr *MockKubectlClientMockRecorder) SearchIdentityProviderConfig(ctx, ipName, kind, kubeconfigFile, namespace interface{}) *gomock.Call
SearchIdentityProviderConfig indicates an expected call of SearchIdentityProviderConfig.
func (*MockKubectlClientMockRecorder) ValidateClustersCRD ¶ added in v0.6.0
func (mr *MockKubectlClientMockRecorder) ValidateClustersCRD(ctx, cluster interface{}) *gomock.Call
ValidateClustersCRD indicates an expected call of ValidateClustersCRD.
func (*MockKubectlClientMockRecorder) ValidateControlPlaneNodes ¶ added in v0.6.0
func (mr *MockKubectlClientMockRecorder) ValidateControlPlaneNodes(ctx, cluster, clusterName interface{}) *gomock.Call
ValidateControlPlaneNodes indicates an expected call of ValidateControlPlaneNodes.
func (*MockKubectlClientMockRecorder) ValidateEKSAClustersCRD ¶ added in v0.6.0
func (mr *MockKubectlClientMockRecorder) ValidateEKSAClustersCRD(ctx, cluster interface{}) *gomock.Call
ValidateEKSAClustersCRD indicates an expected call of ValidateEKSAClustersCRD.
func (*MockKubectlClientMockRecorder) ValidateNodes ¶ added in v0.6.0
func (mr *MockKubectlClientMockRecorder) ValidateNodes(ctx, kubeconfig interface{}) *gomock.Call
ValidateNodes indicates an expected call of ValidateNodes.
func (*MockKubectlClientMockRecorder) ValidateWorkerNodes ¶ added in v0.6.0
func (mr *MockKubectlClientMockRecorder) ValidateWorkerNodes(ctx, cluster, clusterName interface{}) *gomock.Call
ValidateWorkerNodes indicates an expected call of ValidateWorkerNodes.
func (*MockKubectlClientMockRecorder) Version ¶ added in v0.6.0
func (mr *MockKubectlClientMockRecorder) Version(ctx, cluster interface{}) *gomock.Call
Version indicates an expected call of Version.