k8snodepool

package
v0.3.4-test Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package k8snodepool 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) CheckDuplicateK8sNodePool

func (m *MockClient) CheckDuplicateK8sNodePool(ctx context.Context, clusterID, nodePoolName string, cr *v1alpha1.NodePool) (*ionoscloud.KubernetesNodePool, error)

CheckDuplicateK8sNodePool mocks base method.

func (*MockClient) CreateK8sNodePool

CreateK8sNodePool mocks base method.

func (*MockClient) DeleteK8sNodePool

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

DeleteK8sNodePool 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) GetK8sNodePool

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

GetK8sNodePool mocks base method.

func (*MockClient) GetK8sNodePoolID

func (m *MockClient) GetK8sNodePoolID(nodepool *ionoscloud.KubernetesNodePool) (string, error)

GetK8sNodePoolID mocks base method.

func (*MockClient) UpdateK8sNodePool

func (m *MockClient) UpdateK8sNodePool(ctx context.Context, clusterID, nodepoolID string, nodepool ionoscloud.KubernetesNodePoolForPut) (ionoscloud.KubernetesNodePool, *ionoscloud.APIResponse, error)

UpdateK8sNodePool mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) CheckDuplicateK8sNodePool

func (mr *MockClientMockRecorder) CheckDuplicateK8sNodePool(ctx, clusterID, nodePoolName, cr interface{}) *gomock.Call

CheckDuplicateK8sNodePool indicates an expected call of CheckDuplicateK8sNodePool.

func (*MockClientMockRecorder) CreateK8sNodePool

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

CreateK8sNodePool indicates an expected call of CreateK8sNodePool.

func (*MockClientMockRecorder) DeleteK8sNodePool

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

DeleteK8sNodePool indicates an expected call of DeleteK8sNodePool.

func (*MockClientMockRecorder) GetAPIClient

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

GetAPIClient indicates an expected call of GetAPIClient.

func (*MockClientMockRecorder) GetK8sNodePool

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

GetK8sNodePool indicates an expected call of GetK8sNodePool.

func (*MockClientMockRecorder) GetK8sNodePoolID

func (mr *MockClientMockRecorder) GetK8sNodePoolID(nodepool interface{}) *gomock.Call

GetK8sNodePoolID indicates an expected call of GetK8sNodePoolID.

func (*MockClientMockRecorder) UpdateK8sNodePool

func (mr *MockClientMockRecorder) UpdateK8sNodePool(ctx, clusterID, nodepoolID, nodepool interface{}) *gomock.Call

UpdateK8sNodePool indicates an expected call of UpdateK8sNodePool.

Jump to

Keyboard shortcuts

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