k8scluster

package
v1.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package k8scluster is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

type MockClient struct {
	// contains filtered or unexported fields
}

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) CheckDuplicateK8sCluster

func (m *MockClient) CheckDuplicateK8sCluster(ctx context.Context, clusterName string) (*ionoscloud.KubernetesCluster, error)

CheckDuplicateK8sCluster mocks base method.

func (*MockClient) CreateK8sCluster

CreateK8sCluster mocks base method.

func (*MockClient) DeleteK8sCluster

func (m *MockClient) DeleteK8sCluster(ctx context.Context, clusterID string) (*ionoscloud.APIResponse, error)

DeleteK8sCluster mocks base method.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockClient) GetAPIClient

func (m *MockClient) GetAPIClient() *ionoscloud.APIClient

GetAPIClient mocks base method.

func (*MockClient) GetK8sCluster

GetK8sCluster mocks base method.

func (*MockClient) GetK8sClusterID

func (m *MockClient) GetK8sClusterID(cluster *ionoscloud.KubernetesCluster) (string, error)

GetK8sClusterID mocks base method.

func (*MockClient) GetKubeConfig

func (m *MockClient) GetKubeConfig(ctx context.Context, clusterID string) (string, *ionoscloud.APIResponse, error)

GetKubeConfig mocks base method.

func (*MockClient) HasActiveK8sNodePools

func (m *MockClient) HasActiveK8sNodePools(ctx context.Context, clusterID string) (bool, error)

HasActiveK8sNodePools mocks base method.

func (*MockClient) UpdateK8sCluster

UpdateK8sCluster mocks base method.

type MockClientMockRecorder

type MockClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) CheckDuplicateK8sCluster

func (mr *MockClientMockRecorder) CheckDuplicateK8sCluster(ctx, clusterName interface{}) *gomock.Call

CheckDuplicateK8sCluster indicates an expected call of CheckDuplicateK8sCluster.

func (*MockClientMockRecorder) CreateK8sCluster

func (mr *MockClientMockRecorder) CreateK8sCluster(ctx, cluster interface{}) *gomock.Call

CreateK8sCluster indicates an expected call of CreateK8sCluster.

func (*MockClientMockRecorder) DeleteK8sCluster

func (mr *MockClientMockRecorder) DeleteK8sCluster(ctx, clusterID interface{}) *gomock.Call

DeleteK8sCluster indicates an expected call of DeleteK8sCluster.

func (*MockClientMockRecorder) GetAPIClient

func (mr *MockClientMockRecorder) GetAPIClient() *gomock.Call

GetAPIClient indicates an expected call of GetAPIClient.

func (*MockClientMockRecorder) GetK8sCluster

func (mr *MockClientMockRecorder) GetK8sCluster(ctx, clusterID interface{}) *gomock.Call

GetK8sCluster indicates an expected call of GetK8sCluster.

func (*MockClientMockRecorder) GetK8sClusterID

func (mr *MockClientMockRecorder) GetK8sClusterID(cluster interface{}) *gomock.Call

GetK8sClusterID indicates an expected call of GetK8sClusterID.

func (*MockClientMockRecorder) GetKubeConfig

func (mr *MockClientMockRecorder) GetKubeConfig(ctx, clusterID interface{}) *gomock.Call

GetKubeConfig indicates an expected call of GetKubeConfig.

func (*MockClientMockRecorder) HasActiveK8sNodePools

func (mr *MockClientMockRecorder) HasActiveK8sNodePools(ctx, clusterID interface{}) *gomock.Call

HasActiveK8sNodePools indicates an expected call of HasActiveK8sNodePools.

func (*MockClientMockRecorder) UpdateK8sCluster

func (mr *MockClientMockRecorder) UpdateK8sCluster(ctx, clusterID, cluster interface{}) *gomock.Call

UpdateK8sCluster indicates an expected call of UpdateK8sCluster.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL