mocks

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2024 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) CancelJob

func (_m *IClient) CancelJob(ctx context.Context, params *batch.CancelJobInput, optFns ...func(*batch.Options)) (*batch.CancelJobOutput, error)

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

func (*IClient) CreateComputeEnvironment

func (_m *IClient) CreateComputeEnvironment(ctx context.Context, params *batch.CreateComputeEnvironmentInput, optFns ...func(*batch.Options)) (*batch.CreateComputeEnvironmentOutput, error)

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

func (*IClient) CreateJobQueue

func (_m *IClient) CreateJobQueue(ctx context.Context, params *batch.CreateJobQueueInput, optFns ...func(*batch.Options)) (*batch.CreateJobQueueOutput, error)

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

func (*IClient) CreateSchedulingPolicy

func (_m *IClient) CreateSchedulingPolicy(ctx context.Context, params *batch.CreateSchedulingPolicyInput, optFns ...func(*batch.Options)) (*batch.CreateSchedulingPolicyOutput, error)

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

func (*IClient) DeleteComputeEnvironment

func (_m *IClient) DeleteComputeEnvironment(ctx context.Context, params *batch.DeleteComputeEnvironmentInput, optFns ...func(*batch.Options)) (*batch.DeleteComputeEnvironmentOutput, error)

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

func (*IClient) DeleteJobQueue

func (_m *IClient) DeleteJobQueue(ctx context.Context, params *batch.DeleteJobQueueInput, optFns ...func(*batch.Options)) (*batch.DeleteJobQueueOutput, error)

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

func (*IClient) DeleteSchedulingPolicy

func (_m *IClient) DeleteSchedulingPolicy(ctx context.Context, params *batch.DeleteSchedulingPolicyInput, optFns ...func(*batch.Options)) (*batch.DeleteSchedulingPolicyOutput, error)

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

func (*IClient) DeregisterJobDefinition

func (_m *IClient) DeregisterJobDefinition(ctx context.Context, params *batch.DeregisterJobDefinitionInput, optFns ...func(*batch.Options)) (*batch.DeregisterJobDefinitionOutput, error)

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

func (*IClient) DescribeComputeEnvironments

func (_m *IClient) DescribeComputeEnvironments(ctx context.Context, params *batch.DescribeComputeEnvironmentsInput, optFns ...func(*batch.Options)) (*batch.DescribeComputeEnvironmentsOutput, error)

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

func (*IClient) DescribeJobDefinitions

func (_m *IClient) DescribeJobDefinitions(ctx context.Context, params *batch.DescribeJobDefinitionsInput, optFns ...func(*batch.Options)) (*batch.DescribeJobDefinitionsOutput, error)

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

func (*IClient) DescribeJobQueues

func (_m *IClient) DescribeJobQueues(ctx context.Context, params *batch.DescribeJobQueuesInput, optFns ...func(*batch.Options)) (*batch.DescribeJobQueuesOutput, error)

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

func (*IClient) DescribeJobs

func (_m *IClient) DescribeJobs(ctx context.Context, params *batch.DescribeJobsInput, optFns ...func(*batch.Options)) (*batch.DescribeJobsOutput, error)

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

func (*IClient) DescribeSchedulingPolicies

func (_m *IClient) DescribeSchedulingPolicies(ctx context.Context, params *batch.DescribeSchedulingPoliciesInput, optFns ...func(*batch.Options)) (*batch.DescribeSchedulingPoliciesOutput, error)

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

func (*IClient) GetJobQueueSnapshot

func (_m *IClient) GetJobQueueSnapshot(ctx context.Context, params *batch.GetJobQueueSnapshotInput, optFns ...func(*batch.Options)) (*batch.GetJobQueueSnapshotOutput, error)

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

func (*IClient) ListJobs

func (_m *IClient) ListJobs(ctx context.Context, params *batch.ListJobsInput, optFns ...func(*batch.Options)) (*batch.ListJobsOutput, error)

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

func (*IClient) ListSchedulingPolicies

func (_m *IClient) ListSchedulingPolicies(ctx context.Context, params *batch.ListSchedulingPoliciesInput, optFns ...func(*batch.Options)) (*batch.ListSchedulingPoliciesOutput, error)

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

func (*IClient) ListTagsForResource

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

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) RegisterJobDefinition

func (_m *IClient) RegisterJobDefinition(ctx context.Context, params *batch.RegisterJobDefinitionInput, optFns ...func(*batch.Options)) (*batch.RegisterJobDefinitionOutput, error)

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

func (*IClient) SubmitJob

func (_m *IClient) SubmitJob(ctx context.Context, params *batch.SubmitJobInput, optFns ...func(*batch.Options)) (*batch.SubmitJobOutput, error)

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

func (*IClient) TagResource

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

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

func (*IClient) TerminateJob

func (_m *IClient) TerminateJob(ctx context.Context, params *batch.TerminateJobInput, optFns ...func(*batch.Options)) (*batch.TerminateJobOutput, error)

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateComputeEnvironment

func (_m *IClient) UpdateComputeEnvironment(ctx context.Context, params *batch.UpdateComputeEnvironmentInput, optFns ...func(*batch.Options)) (*batch.UpdateComputeEnvironmentOutput, error)

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

func (*IClient) UpdateJobQueue

func (_m *IClient) UpdateJobQueue(ctx context.Context, params *batch.UpdateJobQueueInput, optFns ...func(*batch.Options)) (*batch.UpdateJobQueueOutput, error)

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

func (*IClient) UpdateSchedulingPolicy

func (_m *IClient) UpdateSchedulingPolicy(ctx context.Context, params *batch.UpdateSchedulingPolicyInput, optFns ...func(*batch.Options)) (*batch.UpdateSchedulingPolicyOutput, error)

UpdateSchedulingPolicy 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