mocks

package
v0.6.1-alpha Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubernetesService

type KubernetesService struct {
	mock.Mock
}

KubernetesService is an autogenerated mock type for the KubernetesService type

func (*KubernetesService) Create

Create provides a mock function with given fields: _a0, _a1

func (*KubernetesService) CreateNodePool

CreateNodePool provides a mock function with given fields: ctx, clusterID, req

func (*KubernetesService) Delete

func (_m *KubernetesService) Delete(_a0 context.Context, _a1 string) (*godo.Response, error)

Delete provides a mock function with given fields: _a0, _a1

func (*KubernetesService) DeleteNodePool

func (_m *KubernetesService) DeleteNodePool(ctx context.Context, clusterID string, poolID string) (*godo.Response, error)

DeleteNodePool provides a mock function with given fields: ctx, clusterID, poolID

func (*KubernetesService) Get

Get provides a mock function with given fields: _a0, _a1

func (*KubernetesService) GetKubeConfig

GetKubeConfig provides a mock function with given fields: _a0, _a1

func (*KubernetesService) GetNodePool

func (_m *KubernetesService) GetNodePool(ctx context.Context, clusterID string, poolID string) (*godo.KubernetesNodePool, *godo.Response, error)

GetNodePool provides a mock function with given fields: ctx, clusterID, poolID

func (*KubernetesService) GetOptions

GetOptions provides a mock function with given fields: _a0

func (*KubernetesService) List

List provides a mock function with given fields: _a0, _a1

func (*KubernetesService) ListNodePools

func (_m *KubernetesService) ListNodePools(ctx context.Context, clusterID string, opts *godo.ListOptions) ([]*godo.KubernetesNodePool, *godo.Response, error)

ListNodePools provides a mock function with given fields: ctx, clusterID, opts

func (*KubernetesService) RecycleNodePoolNodes

func (_m *KubernetesService) RecycleNodePoolNodes(ctx context.Context, clusterID string, poolID string, req *godo.KubernetesNodePoolRecycleNodesRequest) (*godo.Response, error)

RecycleNodePoolNodes provides a mock function with given fields: ctx, clusterID, poolID, req

func (*KubernetesService) Update

Update provides a mock function with given fields: _a0, _a1, _a2

func (*KubernetesService) UpdateNodePool

UpdateNodePool provides a mock function with given fields: ctx, clusterID, poolID, req

Jump to

Keyboard shortcuts

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