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 MockCAPIClient ¶
type MockCAPIClient struct {
// contains filtered or unexported fields
}
MockCAPIClient is a mock of CAPIClient interface.
func NewMockCAPIClient ¶
func NewMockCAPIClient(ctrl *gomock.Controller) *MockCAPIClient
NewMockCAPIClient creates a new mock instance.
func (*MockCAPIClient) EXPECT ¶
func (m *MockCAPIClient) EXPECT() *MockCAPIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCAPIClient) InstallEtcdadmProviders ¶
func (m *MockCAPIClient) InstallEtcdadmProviders(ctx context.Context, managementComponents *cluster.ManagementComponents, clusterSpec *cluster.Spec, cluster *types.Cluster, provider providers.Provider, installProviders []string) error
InstallEtcdadmProviders mocks base method.
func (*MockCAPIClient) Upgrade ¶
func (m *MockCAPIClient) Upgrade(ctx context.Context, managementCluster *types.Cluster, provider providers.Provider, managementComponents *cluster.ManagementComponents, newSpec *cluster.Spec, changeDiff *clusterapi.CAPIChangeDiff) error
Upgrade mocks base method.
type MockCAPIClientMockRecorder ¶
type MockCAPIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockCAPIClientMockRecorder is the mock recorder for MockCAPIClient.
func (*MockCAPIClientMockRecorder) InstallEtcdadmProviders ¶
func (mr *MockCAPIClientMockRecorder) InstallEtcdadmProviders(ctx, managementComponents, clusterSpec, cluster, provider, installProviders interface{}) *gomock.Call
InstallEtcdadmProviders indicates an expected call of InstallEtcdadmProviders.
func (*MockCAPIClientMockRecorder) Upgrade ¶
func (mr *MockCAPIClientMockRecorder) Upgrade(ctx, managementCluster, provider, managementComponents, newSpec, changeDiff interface{}) *gomock.Call
Upgrade indicates an expected call of Upgrade.
type MockKubectlClient ¶
type MockKubectlClient struct {
// contains filtered or unexported fields
}
MockKubectlClient is a mock of KubectlClient interface.
func NewMockKubectlClient ¶
func NewMockKubectlClient(ctrl *gomock.Controller) *MockKubectlClient
NewMockKubectlClient creates a new mock instance.
func (*MockKubectlClient) CheckProviderExists ¶
func (m *MockKubectlClient) CheckProviderExists(ctx context.Context, kubeconfigFile, name, namespace string) (bool, error)
CheckProviderExists mocks base method.
func (*MockKubectlClient) EXPECT ¶
func (m *MockKubectlClient) EXPECT() *MockKubectlClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockKubectlClientMockRecorder ¶
type MockKubectlClientMockRecorder struct {
// contains filtered or unexported fields
}
MockKubectlClientMockRecorder is the mock recorder for MockKubectlClient.
func (*MockKubectlClientMockRecorder) CheckProviderExists ¶
func (mr *MockKubectlClientMockRecorder) CheckProviderExists(ctx, kubeconfigFile, name, namespace interface{}) *gomock.Call
CheckProviderExists indicates an expected call of CheckProviderExists.