mocks

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IClient

type IClient struct {
	mock.Mock
}

IClient is an autogenerated mock type for the IClient type

func NewIClient

func NewIClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *IClient

NewIClient creates a new instance of IClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*IClient) CreateCluster

func (_m *IClient) CreateCluster(ctx context.Context, params *pcs.CreateClusterInput, optFns ...func(*pcs.Options)) (*pcs.CreateClusterOutput, error)

CreateCluster provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateComputeNodeGroup

func (_m *IClient) CreateComputeNodeGroup(ctx context.Context, params *pcs.CreateComputeNodeGroupInput, optFns ...func(*pcs.Options)) (*pcs.CreateComputeNodeGroupOutput, error)

CreateComputeNodeGroup provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateQueue

func (_m *IClient) CreateQueue(ctx context.Context, params *pcs.CreateQueueInput, optFns ...func(*pcs.Options)) (*pcs.CreateQueueOutput, error)

CreateQueue provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteCluster

func (_m *IClient) DeleteCluster(ctx context.Context, params *pcs.DeleteClusterInput, optFns ...func(*pcs.Options)) (*pcs.DeleteClusterOutput, error)

DeleteCluster provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteComputeNodeGroup

func (_m *IClient) DeleteComputeNodeGroup(ctx context.Context, params *pcs.DeleteComputeNodeGroupInput, optFns ...func(*pcs.Options)) (*pcs.DeleteComputeNodeGroupOutput, error)

DeleteComputeNodeGroup provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteQueue

func (_m *IClient) DeleteQueue(ctx context.Context, params *pcs.DeleteQueueInput, optFns ...func(*pcs.Options)) (*pcs.DeleteQueueOutput, error)

DeleteQueue provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetCluster

func (_m *IClient) GetCluster(ctx context.Context, params *pcs.GetClusterInput, optFns ...func(*pcs.Options)) (*pcs.GetClusterOutput, error)

GetCluster provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetComputeNodeGroup

func (_m *IClient) GetComputeNodeGroup(ctx context.Context, params *pcs.GetComputeNodeGroupInput, optFns ...func(*pcs.Options)) (*pcs.GetComputeNodeGroupOutput, error)

GetComputeNodeGroup provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetQueue

func (_m *IClient) GetQueue(ctx context.Context, params *pcs.GetQueueInput, optFns ...func(*pcs.Options)) (*pcs.GetQueueOutput, error)

GetQueue provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListClusters

func (_m *IClient) ListClusters(ctx context.Context, params *pcs.ListClustersInput, optFns ...func(*pcs.Options)) (*pcs.ListClustersOutput, error)

ListClusters provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListComputeNodeGroups

func (_m *IClient) ListComputeNodeGroups(ctx context.Context, params *pcs.ListComputeNodeGroupsInput, optFns ...func(*pcs.Options)) (*pcs.ListComputeNodeGroupsOutput, error)

ListComputeNodeGroups provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListQueues

func (_m *IClient) ListQueues(ctx context.Context, params *pcs.ListQueuesInput, optFns ...func(*pcs.Options)) (*pcs.ListQueuesOutput, error)

ListQueues provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListTagsForResource

func (_m *IClient) ListTagsForResource(ctx context.Context, params *pcs.ListTagsForResourceInput, optFns ...func(*pcs.Options)) (*pcs.ListTagsForResourceOutput, error)

ListTagsForResource provides a mock function with given fields: ctx, params, optFns

func (*IClient) Options

func (_m *IClient) Options() pcs.Options

Options provides a mock function with given fields:

func (*IClient) RegisterComputeNodeGroupInstance

func (_m *IClient) RegisterComputeNodeGroupInstance(ctx context.Context, params *pcs.RegisterComputeNodeGroupInstanceInput, optFns ...func(*pcs.Options)) (*pcs.RegisterComputeNodeGroupInstanceOutput, error)

RegisterComputeNodeGroupInstance provides a mock function with given fields: ctx, params, optFns

func (*IClient) TagResource

func (_m *IClient) TagResource(ctx context.Context, params *pcs.TagResourceInput, optFns ...func(*pcs.Options)) (*pcs.TagResourceOutput, error)

TagResource provides a mock function with given fields: ctx, params, optFns

func (*IClient) UntagResource

func (_m *IClient) UntagResource(ctx context.Context, params *pcs.UntagResourceInput, optFns ...func(*pcs.Options)) (*pcs.UntagResourceOutput, error)

UntagResource provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateComputeNodeGroup

func (_m *IClient) UpdateComputeNodeGroup(ctx context.Context, params *pcs.UpdateComputeNodeGroupInput, optFns ...func(*pcs.Options)) (*pcs.UpdateComputeNodeGroupOutput, error)

UpdateComputeNodeGroup provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateQueue

func (_m *IClient) UpdateQueue(ctx context.Context, params *pcs.UpdateQueueInput, optFns ...func(*pcs.Options)) (*pcs.UpdateQueueOutput, error)

UpdateQueue provides a mock function with given fields: ctx, params, optFns

Jump to

Keyboard shortcuts

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