Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockClusterClient
- func (m *MockClusterClient) ApplyKubeSpec(arg0 context.Context, arg1 *types.Cluster, arg2 string) error
- func (m *MockClusterClient) ApplyKubeSpecFromBytes(arg0 context.Context, arg1 *types.Cluster, arg2 []byte) error
- func (m *MockClusterClient) ApplyKubeSpecFromBytesForce(arg0 context.Context, arg1 *types.Cluster, arg2 []byte) error
- func (m *MockClusterClient) ApplyKubeSpecWithNamespace(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error
- func (m *MockClusterClient) DeleteCluster(arg0 context.Context, arg1, arg2 *types.Cluster) error
- func (m *MockClusterClient) EXPECT() *MockClusterClientMockRecorder
- func (m *MockClusterClient) GetClusters(arg0 context.Context, arg1 *types.Cluster) ([]types.CAPICluster, error)
- func (m *MockClusterClient) GetEksaCluster(arg0 context.Context, arg1 *types.Cluster) (*v1alpha1.Cluster, error)
- func (m *MockClusterClient) GetEksaVSphereDatacenterConfig(arg0 context.Context, arg1, arg2 string) (*v1alpha1.VSphereDatacenterConfig, error)
- func (m *MockClusterClient) GetEksaVSphereMachineConfig(arg0 context.Context, arg1, arg2 string) (*v1alpha1.VSphereMachineConfig, error)
- func (m *MockClusterClient) GetMachines(arg0 context.Context, arg1 *types.Cluster) ([]types.Machine, error)
- func (m *MockClusterClient) GetWorkloadKubeconfig(arg0 context.Context, arg1 string, arg2 *types.Cluster) ([]byte, error)
- func (m *MockClusterClient) InitInfrastructure(arg0 context.Context, arg1 *cluster.Spec, arg2 *types.Cluster, ...) error
- func (m *MockClusterClient) MoveManagement(arg0 context.Context, arg1, arg2 *types.Cluster) error
- func (m *MockClusterClient) RemoveAnnotationInNamespace(arg0 context.Context, arg1, arg2, arg3 string, arg4 *types.Cluster, ...) error
- func (m *MockClusterClient) SaveLog(arg0 context.Context, arg1 *types.Cluster, arg2 *types.Deployment, arg3 string, ...) error
- func (m *MockClusterClient) UpdateAnnotationInNamespace(arg0 context.Context, arg1, arg2 string, arg3 map[string]string, ...) error
- func (m *MockClusterClient) ValidateControlPlaneNodes(arg0 context.Context, arg1 *types.Cluster) error
- func (m *MockClusterClient) ValidateWorkerNodes(arg0 context.Context, arg1 *types.Cluster) error
- func (m *MockClusterClient) WaitForControlPlaneReady(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error
- func (m *MockClusterClient) WaitForDeployment(arg0 context.Context, arg1 *types.Cluster, arg2, arg3, arg4, arg5 string) error
- func (m *MockClusterClient) WaitForManagedExternalEtcdReady(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error
- type MockClusterClientMockRecorder
- func (mr *MockClusterClientMockRecorder) ApplyKubeSpec(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClusterClientMockRecorder) ApplyKubeSpecFromBytes(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClusterClientMockRecorder) ApplyKubeSpecFromBytesForce(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClusterClientMockRecorder) ApplyKubeSpecWithNamespace(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockClusterClientMockRecorder) DeleteCluster(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClusterClientMockRecorder) GetClusters(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClusterClientMockRecorder) GetEksaCluster(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClusterClientMockRecorder) GetEksaVSphereDatacenterConfig(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClusterClientMockRecorder) GetEksaVSphereMachineConfig(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClusterClientMockRecorder) GetMachines(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClusterClientMockRecorder) GetWorkloadKubeconfig(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClusterClientMockRecorder) InitInfrastructure(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockClusterClientMockRecorder) MoveManagement(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClusterClientMockRecorder) RemoveAnnotationInNamespace(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockClusterClientMockRecorder) SaveLog(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockClusterClientMockRecorder) UpdateAnnotationInNamespace(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockClusterClientMockRecorder) ValidateControlPlaneNodes(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClusterClientMockRecorder) ValidateWorkerNodes(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClusterClientMockRecorder) WaitForControlPlaneReady(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockClusterClientMockRecorder) WaitForDeployment(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockClusterClientMockRecorder) WaitForManagedExternalEtcdReady(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockNetworking
- type MockNetworkingMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) ApplyKubeSpec ¶
func (m *MockClusterClient) ApplyKubeSpec(arg0 context.Context, arg1 *types.Cluster, arg2 string) error
ApplyKubeSpec 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) ApplyKubeSpecWithNamespace ¶
func (m *MockClusterClient) ApplyKubeSpecWithNamespace(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error
ApplyKubeSpecWithNamespace mocks base method.
func (*MockClusterClient) DeleteCluster ¶
DeleteCluster mocks base method.
func (*MockClusterClient) EXPECT ¶
func (m *MockClusterClient) EXPECT() *MockClusterClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClusterClient) GetClusters ¶
func (m *MockClusterClient) GetClusters(arg0 context.Context, arg1 *types.Cluster) ([]types.CAPICluster, error)
GetClusters mocks base method.
func (*MockClusterClient) GetEksaCluster ¶
func (m *MockClusterClient) GetEksaCluster(arg0 context.Context, arg1 *types.Cluster) (*v1alpha1.Cluster, error)
GetEksaCluster mocks base method.
func (*MockClusterClient) GetEksaVSphereDatacenterConfig ¶
func (m *MockClusterClient) GetEksaVSphereDatacenterConfig(arg0 context.Context, arg1, arg2 string) (*v1alpha1.VSphereDatacenterConfig, error)
GetEksaVSphereDatacenterConfig mocks base method.
func (*MockClusterClient) GetEksaVSphereMachineConfig ¶
func (m *MockClusterClient) GetEksaVSphereMachineConfig(arg0 context.Context, arg1, arg2 string) (*v1alpha1.VSphereMachineConfig, error)
GetEksaVSphereMachineConfig mocks base method.
func (*MockClusterClient) GetMachines ¶
func (m *MockClusterClient) GetMachines(arg0 context.Context, arg1 *types.Cluster) ([]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) MoveManagement ¶
MoveManagement 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) 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) 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) ValidateControlPlaneNodes ¶
func (m *MockClusterClient) ValidateControlPlaneNodes(arg0 context.Context, arg1 *types.Cluster) error
ValidateControlPlaneNodes mocks base method.
func (*MockClusterClient) ValidateWorkerNodes ¶
ValidateWorkerNodes 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) 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) ApplyKubeSpec ¶
func (mr *MockClusterClientMockRecorder) ApplyKubeSpec(arg0, arg1, arg2 interface{}) *gomock.Call
ApplyKubeSpec indicates an expected call of ApplyKubeSpec.
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) ApplyKubeSpecWithNamespace ¶
func (mr *MockClusterClientMockRecorder) ApplyKubeSpecWithNamespace(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ApplyKubeSpecWithNamespace indicates an expected call of ApplyKubeSpecWithNamespace.
func (*MockClusterClientMockRecorder) DeleteCluster ¶
func (mr *MockClusterClientMockRecorder) DeleteCluster(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteCluster indicates an expected call of DeleteCluster.
func (*MockClusterClientMockRecorder) GetClusters ¶
func (mr *MockClusterClientMockRecorder) GetClusters(arg0, arg1 interface{}) *gomock.Call
GetClusters indicates an expected call of GetClusters.
func (*MockClusterClientMockRecorder) GetEksaCluster ¶
func (mr *MockClusterClientMockRecorder) GetEksaCluster(arg0, arg1 interface{}) *gomock.Call
GetEksaCluster indicates an expected call of GetEksaCluster.
func (*MockClusterClientMockRecorder) GetEksaVSphereDatacenterConfig ¶
func (mr *MockClusterClientMockRecorder) GetEksaVSphereDatacenterConfig(arg0, arg1, arg2 interface{}) *gomock.Call
GetEksaVSphereDatacenterConfig indicates an expected call of GetEksaVSphereDatacenterConfig.
func (*MockClusterClientMockRecorder) GetEksaVSphereMachineConfig ¶
func (mr *MockClusterClientMockRecorder) GetEksaVSphereMachineConfig(arg0, arg1, arg2 interface{}) *gomock.Call
GetEksaVSphereMachineConfig indicates an expected call of GetEksaVSphereMachineConfig.
func (*MockClusterClientMockRecorder) GetMachines ¶
func (mr *MockClusterClientMockRecorder) GetMachines(arg0, arg1 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) MoveManagement ¶
func (mr *MockClusterClientMockRecorder) MoveManagement(arg0, arg1, arg2 interface{}) *gomock.Call
MoveManagement indicates an expected call of MoveManagement.
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) SaveLog ¶
func (mr *MockClusterClientMockRecorder) SaveLog(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
SaveLog indicates an expected call of SaveLog.
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) ValidateControlPlaneNodes ¶
func (mr *MockClusterClientMockRecorder) ValidateControlPlaneNodes(arg0, arg1 interface{}) *gomock.Call
ValidateControlPlaneNodes indicates an expected call of ValidateControlPlaneNodes.
func (*MockClusterClientMockRecorder) ValidateWorkerNodes ¶
func (mr *MockClusterClientMockRecorder) ValidateWorkerNodes(arg0, arg1 interface{}) *gomock.Call
ValidateWorkerNodes indicates an expected call of ValidateWorkerNodes.
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) WaitForManagedExternalEtcdReady ¶
func (mr *MockClusterClientMockRecorder) WaitForManagedExternalEtcdReady(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
WaitForManagedExternalEtcdReady indicates an expected call of WaitForManagedExternalEtcdReady.
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 ¶
func (m *MockNetworking) EXPECT() *MockNetworkingMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNetworking) GenerateManifest ¶
func (m *MockNetworking) GenerateManifest(arg0 *cluster.Spec) ([]byte, error)
GenerateManifest mocks base method.
type MockNetworkingMockRecorder ¶
type MockNetworkingMockRecorder struct {
// contains filtered or unexported fields
}
MockNetworkingMockRecorder is the mock recorder for MockNetworking.
func (*MockNetworkingMockRecorder) GenerateManifest ¶
func (mr *MockNetworkingMockRecorder) GenerateManifest(arg0 interface{}) *gomock.Call
GenerateManifest indicates an expected call of GenerateManifest.