Documentation ¶
Index ¶
- type KubernetesService
- func (_m *KubernetesService) Create(_a0 context.Context, _a1 *godo.KubernetesClusterCreateRequest) (*godo.KubernetesCluster, *godo.Response, error)
- func (_m *KubernetesService) CreateNodePool(ctx context.Context, clusterID string, ...) (*godo.KubernetesNodePool, *godo.Response, error)
- func (_m *KubernetesService) Delete(_a0 context.Context, _a1 string) (*godo.Response, error)
- func (_m *KubernetesService) DeleteNodePool(ctx context.Context, clusterID string, poolID string) (*godo.Response, error)
- func (_m *KubernetesService) Get(_a0 context.Context, _a1 string) (*godo.KubernetesCluster, *godo.Response, error)
- func (_m *KubernetesService) GetKubeConfig(_a0 context.Context, _a1 string) (*godo.KubernetesClusterConfig, *godo.Response, error)
- func (_m *KubernetesService) GetNodePool(ctx context.Context, clusterID string, poolID string) (*godo.KubernetesNodePool, *godo.Response, error)
- func (_m *KubernetesService) GetOptions(_a0 context.Context) (*godo.KubernetesOptions, *godo.Response, error)
- func (_m *KubernetesService) List(_a0 context.Context, _a1 *godo.ListOptions) ([]*godo.KubernetesCluster, *godo.Response, error)
- func (_m *KubernetesService) ListNodePools(ctx context.Context, clusterID string, opts *godo.ListOptions) ([]*godo.KubernetesNodePool, *godo.Response, error)
- func (_m *KubernetesService) RecycleNodePoolNodes(ctx context.Context, clusterID string, poolID string, ...) (*godo.Response, error)
- func (_m *KubernetesService) Update(_a0 context.Context, _a1 string, _a2 *godo.KubernetesClusterUpdateRequest) (*godo.KubernetesCluster, *godo.Response, error)
- func (_m *KubernetesService) UpdateNodePool(ctx context.Context, clusterID string, poolID string, ...) (*godo.KubernetesNodePool, *godo.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubernetesService ¶
KubernetesService is an autogenerated mock type for the KubernetesService type
func (*KubernetesService) Create ¶
func (_m *KubernetesService) Create(_a0 context.Context, _a1 *godo.KubernetesClusterCreateRequest) (*godo.KubernetesCluster, *godo.Response, error)
Create provides a mock function with given fields: _a0, _a1
func (*KubernetesService) CreateNodePool ¶
func (_m *KubernetesService) CreateNodePool(ctx context.Context, clusterID string, req *godo.KubernetesNodePoolCreateRequest) (*godo.KubernetesNodePool, *godo.Response, error)
CreateNodePool provides a mock function with given fields: ctx, clusterID, req
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 ¶
func (_m *KubernetesService) Get(_a0 context.Context, _a1 string) (*godo.KubernetesCluster, *godo.Response, error)
Get provides a mock function with given fields: _a0, _a1
func (*KubernetesService) GetKubeConfig ¶
func (_m *KubernetesService) GetKubeConfig(_a0 context.Context, _a1 string) (*godo.KubernetesClusterConfig, *godo.Response, error)
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 ¶
func (_m *KubernetesService) GetOptions(_a0 context.Context) (*godo.KubernetesOptions, *godo.Response, error)
GetOptions provides a mock function with given fields: _a0
func (*KubernetesService) List ¶
func (_m *KubernetesService) List(_a0 context.Context, _a1 *godo.ListOptions) ([]*godo.KubernetesCluster, *godo.Response, error)
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 ¶
func (_m *KubernetesService) Update(_a0 context.Context, _a1 string, _a2 *godo.KubernetesClusterUpdateRequest) (*godo.KubernetesCluster, *godo.Response, error)
Update provides a mock function with given fields: _a0, _a1, _a2
func (*KubernetesService) UpdateNodePool ¶
func (_m *KubernetesService) UpdateNodePool(ctx context.Context, clusterID string, poolID string, req *godo.KubernetesNodePoolUpdateRequest) (*godo.KubernetesNodePool, *godo.Response, error)
UpdateNodePool provides a mock function with given fields: ctx, clusterID, poolID, req