Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockProviderClient
- type MockProviderClientMockRecorder
- type MockProviderKubectlClient
- func (m *MockProviderKubectlClient) EXPECT() *MockProviderKubectlClientMockRecorder
- func (m *MockProviderKubectlClient) GetEksaCluster(arg0 context.Context, arg1 *types.Cluster, arg2 string) (*v1alpha1.Cluster, 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 *types.Cluster, arg2 string, ...) (*v1beta10.MachineDeployment, error)
- func (m *MockProviderKubectlClient) UpdateAnnotation(arg0 context.Context, arg1, arg2 string, arg3 map[string]string, ...) error
- type MockProviderKubectlClientMockRecorder
- func (mr *MockProviderKubectlClientMockRecorder) GetEksaCluster(arg0, arg1, arg2 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, arg2 interface{}, arg3 ...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 MockProviderClient ¶
type MockProviderClient struct {
// contains filtered or unexported fields
}
MockProviderClient is a mock of ProviderClient interface.
func NewMockProviderClient ¶
func NewMockProviderClient(ctrl *gomock.Controller) *MockProviderClient
NewMockProviderClient creates a new mock instance.
func (*MockProviderClient) EXPECT ¶
func (m *MockProviderClient) EXPECT() *MockProviderClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProviderClient) GetDockerLBPort ¶
GetDockerLBPort mocks base method.
type MockProviderClientMockRecorder ¶
type MockProviderClientMockRecorder struct {
// contains filtered or unexported fields
}
MockProviderClientMockRecorder is the mock recorder for MockProviderClient.
func (*MockProviderClientMockRecorder) GetDockerLBPort ¶
func (mr *MockProviderClientMockRecorder) GetDockerLBPort(arg0, arg1 interface{}) *gomock.Call
GetDockerLBPort indicates an expected call of GetDockerLBPort.
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) 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) 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 *types.Cluster, arg2 string, arg3 ...executables.KubectlOpt) (*v1beta10.MachineDeployment, error)
GetMachineDeployment 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) GetEksaCluster ¶
func (mr *MockProviderKubectlClientMockRecorder) GetEksaCluster(arg0, arg1, arg2 interface{}) *gomock.Call
GetEksaCluster indicates an expected call of GetEksaCluster.
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, arg2 interface{}, arg3 ...interface{}) *gomock.Call
GetMachineDeployment indicates an expected call of GetMachineDeployment.
func (*MockProviderKubectlClientMockRecorder) UpdateAnnotation ¶
func (mr *MockProviderKubectlClientMockRecorder) UpdateAnnotation(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call
UpdateAnnotation indicates an expected call of UpdateAnnotation.