Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockClusterResourceSetManager
- type MockClusterResourceSetManagerMockRecorder
- type MockProviderGovcClient
- func (m *MockProviderGovcClient) AddTag(arg0 context.Context, arg1, arg2 string) error
- func (m *MockProviderGovcClient) ConfigureCertThumbprint(arg0 context.Context, arg1, arg2 string) error
- func (m *MockProviderGovcClient) CreateCategoryForVM(arg0 context.Context, arg1 string) error
- func (m *MockProviderGovcClient) CreateLibrary(arg0 context.Context, arg1, arg2 string) error
- func (m *MockProviderGovcClient) CreateTag(arg0 context.Context, arg1, arg2 string) error
- func (m *MockProviderGovcClient) DatacenterExists(arg0 context.Context, arg1 string) (bool, error)
- func (m *MockProviderGovcClient) DeleteLibraryElement(arg0 context.Context, arg1 string) error
- func (m *MockProviderGovcClient) DeployTemplateFromLibrary(arg0 context.Context, arg1, arg2, arg3, arg4, arg5, arg6, arg7 string, ...) error
- func (m *MockProviderGovcClient) EXPECT() *MockProviderGovcClientMockRecorder
- func (m *MockProviderGovcClient) GetCertThumbprint(arg0 context.Context) (string, error)
- func (m *MockProviderGovcClient) GetLibraryElementContentVersion(arg0 context.Context, arg1 string) (string, error)
- func (m *MockProviderGovcClient) GetTags(arg0 context.Context, arg1 string) ([]string, error)
- func (m *MockProviderGovcClient) GetWorkloadAvailableSpace(arg0 context.Context, arg1 string) (float64, error)
- func (m *MockProviderGovcClient) ImportTemplate(arg0 context.Context, arg1, arg2, arg3 string) error
- func (m *MockProviderGovcClient) IsCertSelfSigned(arg0 context.Context) bool
- func (m *MockProviderGovcClient) LibraryElementExists(arg0 context.Context, arg1 string) (bool, error)
- func (m *MockProviderGovcClient) ListCategories(arg0 context.Context) ([]string, error)
- func (m *MockProviderGovcClient) ListTags(arg0 context.Context) ([]string, error)
- func (m *MockProviderGovcClient) NetworkExists(arg0 context.Context, arg1 string) (bool, error)
- func (m *MockProviderGovcClient) SearchTemplate(arg0 context.Context, arg1 string, arg2 *v1alpha1.VSphereMachineConfig) (string, error)
- func (m *MockProviderGovcClient) TemplateHasSnapshot(arg0 context.Context, arg1 string) (bool, error)
- func (m *MockProviderGovcClient) ValidateVCenterAuthentication(arg0 context.Context) error
- func (m *MockProviderGovcClient) ValidateVCenterConnection(arg0 context.Context, arg1 string) error
- func (m *MockProviderGovcClient) ValidateVCenterSetupMachineConfig(arg0 context.Context, arg1 *v1alpha1.VSphereDatacenterConfig, ...) error
- type MockProviderGovcClientMockRecorder
- func (mr *MockProviderGovcClientMockRecorder) AddTag(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockProviderGovcClientMockRecorder) ConfigureCertThumbprint(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockProviderGovcClientMockRecorder) CreateCategoryForVM(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProviderGovcClientMockRecorder) CreateLibrary(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockProviderGovcClientMockRecorder) CreateTag(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockProviderGovcClientMockRecorder) DatacenterExists(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProviderGovcClientMockRecorder) DeleteLibraryElement(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProviderGovcClientMockRecorder) DeployTemplateFromLibrary(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8 interface{}) *gomock.Call
- func (mr *MockProviderGovcClientMockRecorder) GetCertThumbprint(arg0 interface{}) *gomock.Call
- func (mr *MockProviderGovcClientMockRecorder) GetLibraryElementContentVersion(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProviderGovcClientMockRecorder) GetTags(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProviderGovcClientMockRecorder) GetWorkloadAvailableSpace(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProviderGovcClientMockRecorder) ImportTemplate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockProviderGovcClientMockRecorder) IsCertSelfSigned(arg0 interface{}) *gomock.Call
- func (mr *MockProviderGovcClientMockRecorder) LibraryElementExists(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProviderGovcClientMockRecorder) ListCategories(arg0 interface{}) *gomock.Call
- func (mr *MockProviderGovcClientMockRecorder) ListTags(arg0 interface{}) *gomock.Call
- func (mr *MockProviderGovcClientMockRecorder) NetworkExists(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProviderGovcClientMockRecorder) SearchTemplate(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockProviderGovcClientMockRecorder) TemplateHasSnapshot(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProviderGovcClientMockRecorder) ValidateVCenterAuthentication(arg0 interface{}) *gomock.Call
- func (mr *MockProviderGovcClientMockRecorder) ValidateVCenterConnection(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProviderGovcClientMockRecorder) ValidateVCenterSetupMachineConfig(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockProviderKubectlClient
- func (m *MockProviderKubectlClient) ApplyKubeSpecFromBytes(arg0 context.Context, arg1 *types.Cluster, arg2 []byte) error
- func (m *MockProviderKubectlClient) ApplyTolerationsFromTaintsToDaemonSet(arg0 context.Context, arg1, arg2 []v1.Taint, arg3, arg4 string) error
- func (m *MockProviderKubectlClient) CreateNamespaceIfNotPresent(arg0 context.Context, arg1, arg2 string) error
- func (m *MockProviderKubectlClient) DeleteEksaDatacenterConfig(arg0 context.Context, arg1, arg2, arg3, arg4 string) error
- func (m *MockProviderKubectlClient) DeleteEksaMachineConfig(arg0 context.Context, arg1, arg2, arg3, arg4 string) error
- func (m *MockProviderKubectlClient) EXPECT() *MockProviderKubectlClientMockRecorder
- func (m *MockProviderKubectlClient) GetEksaCluster(arg0 context.Context, arg1 *types.Cluster, arg2 string) (*v1alpha1.Cluster, error)
- func (m *MockProviderKubectlClient) GetEksaVSphereDatacenterConfig(arg0 context.Context, arg1, arg2, arg3 string) (*v1alpha1.VSphereDatacenterConfig, error)
- func (m *MockProviderKubectlClient) GetEksaVSphereMachineConfig(arg0 context.Context, arg1, arg2, arg3 string) (*v1alpha1.VSphereMachineConfig, error)
- func (m *MockProviderKubectlClient) GetEtcdadmCluster(arg0 context.Context, arg1 *types.Cluster, arg2 string, ...) (*v1beta1.EtcdadmCluster, error)
- func (m *MockProviderKubectlClient) GetKubeadmControlPlane(arg0 context.Context, arg1 *types.Cluster, arg2 string, ...) (*v1beta11.KubeadmControlPlane, error)
- func (m *MockProviderKubectlClient) GetMachineDeployment(arg0 context.Context, arg1 string, arg2 ...executables.KubectlOpt) (*v1beta10.MachineDeployment, error)
- func (m *MockProviderKubectlClient) GetSecretFromNamespace(arg0 context.Context, arg1, arg2, arg3 string) (*v1.Secret, error)
- func (m *MockProviderKubectlClient) LoadSecret(arg0 context.Context, arg1, arg2, arg3, arg4 string) error
- func (m *MockProviderKubectlClient) RemoveAnnotationInNamespace(arg0 context.Context, arg1, arg2, arg3 string, arg4 *types.Cluster, ...) error
- func (m *MockProviderKubectlClient) SearchVsphereDatacenterConfig(arg0 context.Context, arg1, arg2, arg3 string) ([]*v1alpha1.VSphereDatacenterConfig, error)
- func (m *MockProviderKubectlClient) SearchVsphereMachineConfig(arg0 context.Context, arg1, arg2, arg3 string) ([]*v1alpha1.VSphereMachineConfig, error)
- func (m *MockProviderKubectlClient) SetDaemonSetImage(arg0 context.Context, arg1, arg2, arg3, arg4, arg5 string) error
- func (m *MockProviderKubectlClient) UpdateAnnotation(arg0 context.Context, arg1, arg2 string, arg3 map[string]string, ...) error
- type MockProviderKubectlClientMockRecorder
- func (mr *MockProviderKubectlClientMockRecorder) ApplyKubeSpecFromBytes(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockProviderKubectlClientMockRecorder) ApplyTolerationsFromTaintsToDaemonSet(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockProviderKubectlClientMockRecorder) CreateNamespaceIfNotPresent(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockProviderKubectlClientMockRecorder) DeleteEksaDatacenterConfig(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockProviderKubectlClientMockRecorder) DeleteEksaMachineConfig(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockProviderKubectlClientMockRecorder) GetEksaCluster(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockProviderKubectlClientMockRecorder) GetEksaVSphereDatacenterConfig(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockProviderKubectlClientMockRecorder) GetEksaVSphereMachineConfig(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockProviderKubectlClientMockRecorder) GetEtcdadmCluster(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockProviderKubectlClientMockRecorder) GetKubeadmControlPlane(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockProviderKubectlClientMockRecorder) GetMachineDeployment(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockProviderKubectlClientMockRecorder) GetSecretFromNamespace(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockProviderKubectlClientMockRecorder) LoadSecret(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockProviderKubectlClientMockRecorder) RemoveAnnotationInNamespace(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockProviderKubectlClientMockRecorder) SearchVsphereDatacenterConfig(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockProviderKubectlClientMockRecorder) SearchVsphereMachineConfig(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockProviderKubectlClientMockRecorder) SetDaemonSetImage(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockProviderKubectlClientMockRecorder) UpdateAnnotation(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClusterResourceSetManager ¶ added in v0.6.0
type MockClusterResourceSetManager struct {
// contains filtered or unexported fields
}
MockClusterResourceSetManager is a mock of ClusterResourceSetManager interface.
func NewMockClusterResourceSetManager ¶ added in v0.6.0
func NewMockClusterResourceSetManager(ctrl *gomock.Controller) *MockClusterResourceSetManager
NewMockClusterResourceSetManager creates a new mock instance.
func (*MockClusterResourceSetManager) EXPECT ¶ added in v0.6.0
func (m *MockClusterResourceSetManager) EXPECT() *MockClusterResourceSetManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClusterResourceSetManager) ForceUpdate ¶ added in v0.6.0
func (m *MockClusterResourceSetManager) ForceUpdate(arg0 context.Context, arg1, arg2 string, arg3, arg4 *types.Cluster) error
ForceUpdate mocks base method.
type MockClusterResourceSetManagerMockRecorder ¶ added in v0.6.0
type MockClusterResourceSetManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockClusterResourceSetManagerMockRecorder is the mock recorder for MockClusterResourceSetManager.
func (*MockClusterResourceSetManagerMockRecorder) ForceUpdate ¶ added in v0.6.0
func (mr *MockClusterResourceSetManagerMockRecorder) ForceUpdate(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
ForceUpdate indicates an expected call of ForceUpdate.
type MockProviderGovcClient ¶
type MockProviderGovcClient struct {
// contains filtered or unexported fields
}
MockProviderGovcClient is a mock of ProviderGovcClient interface.
func NewMockProviderGovcClient ¶
func NewMockProviderGovcClient(ctrl *gomock.Controller) *MockProviderGovcClient
NewMockProviderGovcClient creates a new mock instance.
func (*MockProviderGovcClient) AddTag ¶
func (m *MockProviderGovcClient) AddTag(arg0 context.Context, arg1, arg2 string) error
AddTag mocks base method.
func (*MockProviderGovcClient) ConfigureCertThumbprint ¶ added in v0.7.0
func (m *MockProviderGovcClient) ConfigureCertThumbprint(arg0 context.Context, arg1, arg2 string) error
ConfigureCertThumbprint mocks base method.
func (*MockProviderGovcClient) CreateCategoryForVM ¶
func (m *MockProviderGovcClient) CreateCategoryForVM(arg0 context.Context, arg1 string) error
CreateCategoryForVM mocks base method.
func (*MockProviderGovcClient) CreateLibrary ¶
func (m *MockProviderGovcClient) CreateLibrary(arg0 context.Context, arg1, arg2 string) error
CreateLibrary mocks base method.
func (*MockProviderGovcClient) CreateTag ¶
func (m *MockProviderGovcClient) CreateTag(arg0 context.Context, arg1, arg2 string) error
CreateTag mocks base method.
func (*MockProviderGovcClient) DatacenterExists ¶ added in v0.7.0
DatacenterExists mocks base method.
func (*MockProviderGovcClient) DeleteLibraryElement ¶ added in v0.6.0
func (m *MockProviderGovcClient) DeleteLibraryElement(arg0 context.Context, arg1 string) error
DeleteLibraryElement mocks base method.
func (*MockProviderGovcClient) DeployTemplateFromLibrary ¶
func (m *MockProviderGovcClient) DeployTemplateFromLibrary(arg0 context.Context, arg1, arg2, arg3, arg4, arg5, arg6, arg7 string, arg8 bool) error
DeployTemplateFromLibrary mocks base method.
func (*MockProviderGovcClient) EXPECT ¶
func (m *MockProviderGovcClient) EXPECT() *MockProviderGovcClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProviderGovcClient) GetCertThumbprint ¶ added in v0.7.0
func (m *MockProviderGovcClient) GetCertThumbprint(arg0 context.Context) (string, error)
GetCertThumbprint mocks base method.
func (*MockProviderGovcClient) GetLibraryElementContentVersion ¶ added in v0.6.0
func (m *MockProviderGovcClient) GetLibraryElementContentVersion(arg0 context.Context, arg1 string) (string, error)
GetLibraryElementContentVersion mocks base method.
func (*MockProviderGovcClient) GetWorkloadAvailableSpace ¶
func (m *MockProviderGovcClient) GetWorkloadAvailableSpace(arg0 context.Context, arg1 string) (float64, error)
GetWorkloadAvailableSpace mocks base method.
func (*MockProviderGovcClient) ImportTemplate ¶
func (m *MockProviderGovcClient) ImportTemplate(arg0 context.Context, arg1, arg2, arg3 string) error
ImportTemplate mocks base method.
func (*MockProviderGovcClient) IsCertSelfSigned ¶ added in v0.7.0
func (m *MockProviderGovcClient) IsCertSelfSigned(arg0 context.Context) bool
IsCertSelfSigned mocks base method.
func (*MockProviderGovcClient) LibraryElementExists ¶
func (m *MockProviderGovcClient) LibraryElementExists(arg0 context.Context, arg1 string) (bool, error)
LibraryElementExists mocks base method.
func (*MockProviderGovcClient) ListCategories ¶
func (m *MockProviderGovcClient) ListCategories(arg0 context.Context) ([]string, error)
ListCategories mocks base method.
func (*MockProviderGovcClient) ListTags ¶
func (m *MockProviderGovcClient) ListTags(arg0 context.Context) ([]string, error)
ListTags mocks base method.
func (*MockProviderGovcClient) NetworkExists ¶ added in v0.7.0
NetworkExists mocks base method.
func (*MockProviderGovcClient) SearchTemplate ¶
func (m *MockProviderGovcClient) SearchTemplate(arg0 context.Context, arg1 string, arg2 *v1alpha1.VSphereMachineConfig) (string, error)
SearchTemplate mocks base method.
func (*MockProviderGovcClient) TemplateHasSnapshot ¶
func (m *MockProviderGovcClient) TemplateHasSnapshot(arg0 context.Context, arg1 string) (bool, error)
TemplateHasSnapshot mocks base method.
func (*MockProviderGovcClient) ValidateVCenterAuthentication ¶ added in v0.7.0
func (m *MockProviderGovcClient) ValidateVCenterAuthentication(arg0 context.Context) error
ValidateVCenterAuthentication mocks base method.
func (*MockProviderGovcClient) ValidateVCenterConnection ¶ added in v0.7.0
func (m *MockProviderGovcClient) ValidateVCenterConnection(arg0 context.Context, arg1 string) error
ValidateVCenterConnection mocks base method.
func (*MockProviderGovcClient) ValidateVCenterSetupMachineConfig ¶
func (m *MockProviderGovcClient) ValidateVCenterSetupMachineConfig(arg0 context.Context, arg1 *v1alpha1.VSphereDatacenterConfig, arg2 *v1alpha1.VSphereMachineConfig, arg3 *bool) error
ValidateVCenterSetupMachineConfig mocks base method.
type MockProviderGovcClientMockRecorder ¶
type MockProviderGovcClientMockRecorder struct {
// contains filtered or unexported fields
}
MockProviderGovcClientMockRecorder is the mock recorder for MockProviderGovcClient.
func (*MockProviderGovcClientMockRecorder) AddTag ¶
func (mr *MockProviderGovcClientMockRecorder) AddTag(arg0, arg1, arg2 interface{}) *gomock.Call
AddTag indicates an expected call of AddTag.
func (*MockProviderGovcClientMockRecorder) ConfigureCertThumbprint ¶ added in v0.7.0
func (mr *MockProviderGovcClientMockRecorder) ConfigureCertThumbprint(arg0, arg1, arg2 interface{}) *gomock.Call
ConfigureCertThumbprint indicates an expected call of ConfigureCertThumbprint.
func (*MockProviderGovcClientMockRecorder) CreateCategoryForVM ¶
func (mr *MockProviderGovcClientMockRecorder) CreateCategoryForVM(arg0, arg1 interface{}) *gomock.Call
CreateCategoryForVM indicates an expected call of CreateCategoryForVM.
func (*MockProviderGovcClientMockRecorder) CreateLibrary ¶
func (mr *MockProviderGovcClientMockRecorder) CreateLibrary(arg0, arg1, arg2 interface{}) *gomock.Call
CreateLibrary indicates an expected call of CreateLibrary.
func (*MockProviderGovcClientMockRecorder) CreateTag ¶
func (mr *MockProviderGovcClientMockRecorder) CreateTag(arg0, arg1, arg2 interface{}) *gomock.Call
CreateTag indicates an expected call of CreateTag.
func (*MockProviderGovcClientMockRecorder) DatacenterExists ¶ added in v0.7.0
func (mr *MockProviderGovcClientMockRecorder) DatacenterExists(arg0, arg1 interface{}) *gomock.Call
DatacenterExists indicates an expected call of DatacenterExists.
func (*MockProviderGovcClientMockRecorder) DeleteLibraryElement ¶ added in v0.6.0
func (mr *MockProviderGovcClientMockRecorder) DeleteLibraryElement(arg0, arg1 interface{}) *gomock.Call
DeleteLibraryElement indicates an expected call of DeleteLibraryElement.
func (*MockProviderGovcClientMockRecorder) DeployTemplateFromLibrary ¶
func (mr *MockProviderGovcClientMockRecorder) DeployTemplateFromLibrary(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8 interface{}) *gomock.Call
DeployTemplateFromLibrary indicates an expected call of DeployTemplateFromLibrary.
func (*MockProviderGovcClientMockRecorder) GetCertThumbprint ¶ added in v0.7.0
func (mr *MockProviderGovcClientMockRecorder) GetCertThumbprint(arg0 interface{}) *gomock.Call
GetCertThumbprint indicates an expected call of GetCertThumbprint.
func (*MockProviderGovcClientMockRecorder) GetLibraryElementContentVersion ¶ added in v0.6.0
func (mr *MockProviderGovcClientMockRecorder) GetLibraryElementContentVersion(arg0, arg1 interface{}) *gomock.Call
GetLibraryElementContentVersion indicates an expected call of GetLibraryElementContentVersion.
func (*MockProviderGovcClientMockRecorder) GetTags ¶
func (mr *MockProviderGovcClientMockRecorder) GetTags(arg0, arg1 interface{}) *gomock.Call
GetTags indicates an expected call of GetTags.
func (*MockProviderGovcClientMockRecorder) GetWorkloadAvailableSpace ¶
func (mr *MockProviderGovcClientMockRecorder) GetWorkloadAvailableSpace(arg0, arg1 interface{}) *gomock.Call
GetWorkloadAvailableSpace indicates an expected call of GetWorkloadAvailableSpace.
func (*MockProviderGovcClientMockRecorder) ImportTemplate ¶
func (mr *MockProviderGovcClientMockRecorder) ImportTemplate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ImportTemplate indicates an expected call of ImportTemplate.
func (*MockProviderGovcClientMockRecorder) IsCertSelfSigned ¶ added in v0.7.0
func (mr *MockProviderGovcClientMockRecorder) IsCertSelfSigned(arg0 interface{}) *gomock.Call
IsCertSelfSigned indicates an expected call of IsCertSelfSigned.
func (*MockProviderGovcClientMockRecorder) LibraryElementExists ¶
func (mr *MockProviderGovcClientMockRecorder) LibraryElementExists(arg0, arg1 interface{}) *gomock.Call
LibraryElementExists indicates an expected call of LibraryElementExists.
func (*MockProviderGovcClientMockRecorder) ListCategories ¶
func (mr *MockProviderGovcClientMockRecorder) ListCategories(arg0 interface{}) *gomock.Call
ListCategories indicates an expected call of ListCategories.
func (*MockProviderGovcClientMockRecorder) ListTags ¶
func (mr *MockProviderGovcClientMockRecorder) ListTags(arg0 interface{}) *gomock.Call
ListTags indicates an expected call of ListTags.
func (*MockProviderGovcClientMockRecorder) NetworkExists ¶ added in v0.7.0
func (mr *MockProviderGovcClientMockRecorder) NetworkExists(arg0, arg1 interface{}) *gomock.Call
NetworkExists indicates an expected call of NetworkExists.
func (*MockProviderGovcClientMockRecorder) SearchTemplate ¶
func (mr *MockProviderGovcClientMockRecorder) SearchTemplate(arg0, arg1, arg2 interface{}) *gomock.Call
SearchTemplate indicates an expected call of SearchTemplate.
func (*MockProviderGovcClientMockRecorder) TemplateHasSnapshot ¶
func (mr *MockProviderGovcClientMockRecorder) TemplateHasSnapshot(arg0, arg1 interface{}) *gomock.Call
TemplateHasSnapshot indicates an expected call of TemplateHasSnapshot.
func (*MockProviderGovcClientMockRecorder) ValidateVCenterAuthentication ¶ added in v0.7.0
func (mr *MockProviderGovcClientMockRecorder) ValidateVCenterAuthentication(arg0 interface{}) *gomock.Call
ValidateVCenterAuthentication indicates an expected call of ValidateVCenterAuthentication.
func (*MockProviderGovcClientMockRecorder) ValidateVCenterConnection ¶ added in v0.7.0
func (mr *MockProviderGovcClientMockRecorder) ValidateVCenterConnection(arg0, arg1 interface{}) *gomock.Call
ValidateVCenterConnection indicates an expected call of ValidateVCenterConnection.
func (*MockProviderGovcClientMockRecorder) ValidateVCenterSetupMachineConfig ¶
func (mr *MockProviderGovcClientMockRecorder) ValidateVCenterSetupMachineConfig(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ValidateVCenterSetupMachineConfig indicates an expected call of ValidateVCenterSetupMachineConfig.
type MockProviderKubectlClient ¶
type MockProviderKubectlClient struct {
// contains filtered or unexported fields
}
MockProviderKubectlClient is a mock of ProviderKubectlClient interface.
func NewMockProviderKubectlClient ¶
func NewMockProviderKubectlClient(ctrl *gomock.Controller) *MockProviderKubectlClient
NewMockProviderKubectlClient creates a new mock instance.
func (*MockProviderKubectlClient) ApplyKubeSpecFromBytes ¶
func (m *MockProviderKubectlClient) ApplyKubeSpecFromBytes(arg0 context.Context, arg1 *types.Cluster, arg2 []byte) error
ApplyKubeSpecFromBytes mocks base method.
func (*MockProviderKubectlClient) ApplyTolerationsFromTaintsToDaemonSet ¶ added in v0.6.1
func (m *MockProviderKubectlClient) ApplyTolerationsFromTaintsToDaemonSet(arg0 context.Context, arg1, arg2 []v1.Taint, arg3, arg4 string) error
ApplyTolerationsFromTaintsToDaemonSet mocks base method.
func (*MockProviderKubectlClient) CreateNamespaceIfNotPresent ¶ added in v0.11.0
func (m *MockProviderKubectlClient) CreateNamespaceIfNotPresent(arg0 context.Context, arg1, arg2 string) error
CreateNamespaceIfNotPresent mocks base method.
func (*MockProviderKubectlClient) DeleteEksaDatacenterConfig ¶ added in v0.7.0
func (m *MockProviderKubectlClient) DeleteEksaDatacenterConfig(arg0 context.Context, arg1, arg2, arg3, arg4 string) error
DeleteEksaDatacenterConfig mocks base method.
func (*MockProviderKubectlClient) DeleteEksaMachineConfig ¶ added in v0.7.0
func (m *MockProviderKubectlClient) DeleteEksaMachineConfig(arg0 context.Context, arg1, arg2, arg3, arg4 string) error
DeleteEksaMachineConfig mocks base method.
func (*MockProviderKubectlClient) EXPECT ¶
func (m *MockProviderKubectlClient) EXPECT() *MockProviderKubectlClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProviderKubectlClient) GetEksaCluster ¶
func (m *MockProviderKubectlClient) GetEksaCluster(arg0 context.Context, arg1 *types.Cluster, arg2 string) (*v1alpha1.Cluster, error)
GetEksaCluster mocks base method.
func (*MockProviderKubectlClient) GetEksaVSphereDatacenterConfig ¶
func (m *MockProviderKubectlClient) GetEksaVSphereDatacenterConfig(arg0 context.Context, arg1, arg2, arg3 string) (*v1alpha1.VSphereDatacenterConfig, error)
GetEksaVSphereDatacenterConfig mocks base method.
func (*MockProviderKubectlClient) GetEksaVSphereMachineConfig ¶
func (m *MockProviderKubectlClient) GetEksaVSphereMachineConfig(arg0 context.Context, arg1, arg2, arg3 string) (*v1alpha1.VSphereMachineConfig, error)
GetEksaVSphereMachineConfig mocks base method.
func (*MockProviderKubectlClient) GetEtcdadmCluster ¶
func (m *MockProviderKubectlClient) GetEtcdadmCluster(arg0 context.Context, arg1 *types.Cluster, arg2 string, arg3 ...executables.KubectlOpt) (*v1beta1.EtcdadmCluster, error)
GetEtcdadmCluster mocks base method.
func (*MockProviderKubectlClient) GetKubeadmControlPlane ¶
func (m *MockProviderKubectlClient) GetKubeadmControlPlane(arg0 context.Context, arg1 *types.Cluster, arg2 string, arg3 ...executables.KubectlOpt) (*v1beta11.KubeadmControlPlane, error)
GetKubeadmControlPlane mocks base method.
func (*MockProviderKubectlClient) GetMachineDeployment ¶
func (m *MockProviderKubectlClient) GetMachineDeployment(arg0 context.Context, arg1 string, arg2 ...executables.KubectlOpt) (*v1beta10.MachineDeployment, error)
GetMachineDeployment mocks base method.
func (*MockProviderKubectlClient) GetSecretFromNamespace ¶ added in v0.11.0
func (m *MockProviderKubectlClient) GetSecretFromNamespace(arg0 context.Context, arg1, arg2, arg3 string) (*v1.Secret, error)
GetSecretFromNamespace mocks base method.
func (*MockProviderKubectlClient) LoadSecret ¶
func (m *MockProviderKubectlClient) LoadSecret(arg0 context.Context, arg1, arg2, arg3, arg4 string) error
LoadSecret mocks base method.
func (*MockProviderKubectlClient) RemoveAnnotationInNamespace ¶ added in v0.11.0
func (m *MockProviderKubectlClient) RemoveAnnotationInNamespace(arg0 context.Context, arg1, arg2, arg3 string, arg4 *types.Cluster, arg5 string) error
RemoveAnnotationInNamespace mocks base method.
func (*MockProviderKubectlClient) SearchVsphereDatacenterConfig ¶ added in v0.6.0
func (m *MockProviderKubectlClient) SearchVsphereDatacenterConfig(arg0 context.Context, arg1, arg2, arg3 string) ([]*v1alpha1.VSphereDatacenterConfig, error)
SearchVsphereDatacenterConfig mocks base method.
func (*MockProviderKubectlClient) SearchVsphereMachineConfig ¶ added in v0.6.0
func (m *MockProviderKubectlClient) SearchVsphereMachineConfig(arg0 context.Context, arg1, arg2, arg3 string) ([]*v1alpha1.VSphereMachineConfig, error)
SearchVsphereMachineConfig mocks base method.
func (*MockProviderKubectlClient) SetDaemonSetImage ¶ added in v0.6.0
func (m *MockProviderKubectlClient) SetDaemonSetImage(arg0 context.Context, arg1, arg2, arg3, arg4, arg5 string) error
SetDaemonSetImage mocks base method.
func (*MockProviderKubectlClient) UpdateAnnotation ¶
func (m *MockProviderKubectlClient) UpdateAnnotation(arg0 context.Context, arg1, arg2 string, arg3 map[string]string, arg4 ...executables.KubectlOpt) error
UpdateAnnotation mocks base method.
type MockProviderKubectlClientMockRecorder ¶
type MockProviderKubectlClientMockRecorder struct {
// contains filtered or unexported fields
}
MockProviderKubectlClientMockRecorder is the mock recorder for MockProviderKubectlClient.
func (*MockProviderKubectlClientMockRecorder) ApplyKubeSpecFromBytes ¶
func (mr *MockProviderKubectlClientMockRecorder) ApplyKubeSpecFromBytes(arg0, arg1, arg2 interface{}) *gomock.Call
ApplyKubeSpecFromBytes indicates an expected call of ApplyKubeSpecFromBytes.
func (*MockProviderKubectlClientMockRecorder) ApplyTolerationsFromTaintsToDaemonSet ¶ added in v0.6.1
func (mr *MockProviderKubectlClientMockRecorder) ApplyTolerationsFromTaintsToDaemonSet(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
ApplyTolerationsFromTaintsToDaemonSet indicates an expected call of ApplyTolerationsFromTaintsToDaemonSet.
func (*MockProviderKubectlClientMockRecorder) CreateNamespaceIfNotPresent ¶ added in v0.11.0
func (mr *MockProviderKubectlClientMockRecorder) CreateNamespaceIfNotPresent(arg0, arg1, arg2 interface{}) *gomock.Call
CreateNamespaceIfNotPresent indicates an expected call of CreateNamespaceIfNotPresent.
func (*MockProviderKubectlClientMockRecorder) DeleteEksaDatacenterConfig ¶ added in v0.7.0
func (mr *MockProviderKubectlClientMockRecorder) DeleteEksaDatacenterConfig(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
DeleteEksaDatacenterConfig indicates an expected call of DeleteEksaDatacenterConfig.
func (*MockProviderKubectlClientMockRecorder) DeleteEksaMachineConfig ¶ added in v0.7.0
func (mr *MockProviderKubectlClientMockRecorder) DeleteEksaMachineConfig(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
DeleteEksaMachineConfig indicates an expected call of DeleteEksaMachineConfig.
func (*MockProviderKubectlClientMockRecorder) GetEksaCluster ¶
func (mr *MockProviderKubectlClientMockRecorder) GetEksaCluster(arg0, arg1, arg2 interface{}) *gomock.Call
GetEksaCluster indicates an expected call of GetEksaCluster.
func (*MockProviderKubectlClientMockRecorder) GetEksaVSphereDatacenterConfig ¶
func (mr *MockProviderKubectlClientMockRecorder) GetEksaVSphereDatacenterConfig(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetEksaVSphereDatacenterConfig indicates an expected call of GetEksaVSphereDatacenterConfig.
func (*MockProviderKubectlClientMockRecorder) GetEksaVSphereMachineConfig ¶
func (mr *MockProviderKubectlClientMockRecorder) GetEksaVSphereMachineConfig(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetEksaVSphereMachineConfig indicates an expected call of GetEksaVSphereMachineConfig.
func (*MockProviderKubectlClientMockRecorder) GetEtcdadmCluster ¶
func (mr *MockProviderKubectlClientMockRecorder) GetEtcdadmCluster(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
GetEtcdadmCluster indicates an expected call of GetEtcdadmCluster.
func (*MockProviderKubectlClientMockRecorder) GetKubeadmControlPlane ¶
func (mr *MockProviderKubectlClientMockRecorder) GetKubeadmControlPlane(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
GetKubeadmControlPlane indicates an expected call of GetKubeadmControlPlane.
func (*MockProviderKubectlClientMockRecorder) GetMachineDeployment ¶
func (mr *MockProviderKubectlClientMockRecorder) GetMachineDeployment(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetMachineDeployment indicates an expected call of GetMachineDeployment.
func (*MockProviderKubectlClientMockRecorder) GetSecretFromNamespace ¶ added in v0.11.0
func (mr *MockProviderKubectlClientMockRecorder) GetSecretFromNamespace(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetSecretFromNamespace indicates an expected call of GetSecretFromNamespace.
func (*MockProviderKubectlClientMockRecorder) LoadSecret ¶
func (mr *MockProviderKubectlClientMockRecorder) LoadSecret(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
LoadSecret indicates an expected call of LoadSecret.
func (*MockProviderKubectlClientMockRecorder) RemoveAnnotationInNamespace ¶ added in v0.11.0
func (mr *MockProviderKubectlClientMockRecorder) RemoveAnnotationInNamespace(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
RemoveAnnotationInNamespace indicates an expected call of RemoveAnnotationInNamespace.
func (*MockProviderKubectlClientMockRecorder) SearchVsphereDatacenterConfig ¶ added in v0.6.0
func (mr *MockProviderKubectlClientMockRecorder) SearchVsphereDatacenterConfig(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SearchVsphereDatacenterConfig indicates an expected call of SearchVsphereDatacenterConfig.
func (*MockProviderKubectlClientMockRecorder) SearchVsphereMachineConfig ¶ added in v0.6.0
func (mr *MockProviderKubectlClientMockRecorder) SearchVsphereMachineConfig(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SearchVsphereMachineConfig indicates an expected call of SearchVsphereMachineConfig.
func (*MockProviderKubectlClientMockRecorder) SetDaemonSetImage ¶ added in v0.6.0
func (mr *MockProviderKubectlClientMockRecorder) SetDaemonSetImage(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
SetDaemonSetImage indicates an expected call of SetDaemonSetImage.
func (*MockProviderKubectlClientMockRecorder) UpdateAnnotation ¶
func (mr *MockProviderKubectlClientMockRecorder) UpdateAnnotation(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call
UpdateAnnotation indicates an expected call of UpdateAnnotation.