batchdouble

package
v0.0.0-...-8548fdf Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Code generated by go awsdoublegen; DO NOT EDIT. This file was generated at 2020-01-29T21:22:05+11:00 For SDKVersion 1.28.13 Package batchdouble contains test double implementation of batchiface.BatchAPI

Package batchdouble provides a TestDouble implementation of batchiface.BatchAPI

Code generated by go awsdoublegen; DO NOT EDIT. This file was generated at 2020-01-29T21:22:05+11:00

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchDouble

type BatchDouble struct {
	batchiface.BatchAPI
	*awsdouble.AWSTestDouble
}

BatchDouble is TestDouble for batchiface.BatchAPI

func NewDouble

func NewDouble(t godouble.T, configurators ...func(*awsdouble.AWSTestDouble)) *BatchDouble

Constructor for BatchDouble Default configuration will ensure

  • API operations not explicitly stubbed will return an empty output struct pointer, and nil error. To simulate long polling, "Poll" operations will return these values after a random delay of up to 100ms.

  • WithContext methods implement a 'Fake' method that returns a cancellation error if the context is cancelled before the method is called.

  • Pages and PagesWithContext methods similarly implement a 'Fake' method that paginates over the underlying method.

    This allows tests to only stub the simple api methods and be generally unconcerned whether the SUT is using the Context or Pagination forms of the API.

func (*BatchDouble) CancelJob

func (d *BatchDouble) CancelJob(i0 *batch.CancelJobInput) (r0 *batch.CancelJobOutput, r1 error)

func (*BatchDouble) CancelJobRequest

func (d *BatchDouble) CancelJobRequest(i0 *batch.CancelJobInput) (r0 *request.Request, r1 *batch.CancelJobOutput)

func (*BatchDouble) CancelJobWithContext

func (d *BatchDouble) CancelJobWithContext(i0 context.Context, i1 *batch.CancelJobInput, i2 ...request.Option) (r0 *batch.CancelJobOutput, r1 error)

func (*BatchDouble) CreateComputeEnvironment

func (d *BatchDouble) CreateComputeEnvironment(i0 *batch.CreateComputeEnvironmentInput) (r0 *batch.CreateComputeEnvironmentOutput, r1 error)

func (*BatchDouble) CreateComputeEnvironmentRequest

func (d *BatchDouble) CreateComputeEnvironmentRequest(i0 *batch.CreateComputeEnvironmentInput) (r0 *request.Request, r1 *batch.CreateComputeEnvironmentOutput)

func (*BatchDouble) CreateComputeEnvironmentWithContext

func (d *BatchDouble) CreateComputeEnvironmentWithContext(i0 context.Context, i1 *batch.CreateComputeEnvironmentInput, i2 ...request.Option) (r0 *batch.CreateComputeEnvironmentOutput, r1 error)

func (*BatchDouble) CreateJobQueue

func (d *BatchDouble) CreateJobQueue(i0 *batch.CreateJobQueueInput) (r0 *batch.CreateJobQueueOutput, r1 error)

func (*BatchDouble) CreateJobQueueRequest

func (d *BatchDouble) CreateJobQueueRequest(i0 *batch.CreateJobQueueInput) (r0 *request.Request, r1 *batch.CreateJobQueueOutput)

func (*BatchDouble) CreateJobQueueWithContext

func (d *BatchDouble) CreateJobQueueWithContext(i0 context.Context, i1 *batch.CreateJobQueueInput, i2 ...request.Option) (r0 *batch.CreateJobQueueOutput, r1 error)

func (*BatchDouble) DeleteComputeEnvironment

func (d *BatchDouble) DeleteComputeEnvironment(i0 *batch.DeleteComputeEnvironmentInput) (r0 *batch.DeleteComputeEnvironmentOutput, r1 error)

func (*BatchDouble) DeleteComputeEnvironmentRequest

func (d *BatchDouble) DeleteComputeEnvironmentRequest(i0 *batch.DeleteComputeEnvironmentInput) (r0 *request.Request, r1 *batch.DeleteComputeEnvironmentOutput)

func (*BatchDouble) DeleteComputeEnvironmentWithContext

func (d *BatchDouble) DeleteComputeEnvironmentWithContext(i0 context.Context, i1 *batch.DeleteComputeEnvironmentInput, i2 ...request.Option) (r0 *batch.DeleteComputeEnvironmentOutput, r1 error)

func (*BatchDouble) DeleteJobQueue

func (d *BatchDouble) DeleteJobQueue(i0 *batch.DeleteJobQueueInput) (r0 *batch.DeleteJobQueueOutput, r1 error)

func (*BatchDouble) DeleteJobQueueRequest

func (d *BatchDouble) DeleteJobQueueRequest(i0 *batch.DeleteJobQueueInput) (r0 *request.Request, r1 *batch.DeleteJobQueueOutput)

func (*BatchDouble) DeleteJobQueueWithContext

func (d *BatchDouble) DeleteJobQueueWithContext(i0 context.Context, i1 *batch.DeleteJobQueueInput, i2 ...request.Option) (r0 *batch.DeleteJobQueueOutput, r1 error)

func (*BatchDouble) DeregisterJobDefinition

func (d *BatchDouble) DeregisterJobDefinition(i0 *batch.DeregisterJobDefinitionInput) (r0 *batch.DeregisterJobDefinitionOutput, r1 error)

func (*BatchDouble) DeregisterJobDefinitionRequest

func (d *BatchDouble) DeregisterJobDefinitionRequest(i0 *batch.DeregisterJobDefinitionInput) (r0 *request.Request, r1 *batch.DeregisterJobDefinitionOutput)

func (*BatchDouble) DeregisterJobDefinitionWithContext

func (d *BatchDouble) DeregisterJobDefinitionWithContext(i0 context.Context, i1 *batch.DeregisterJobDefinitionInput, i2 ...request.Option) (r0 *batch.DeregisterJobDefinitionOutput, r1 error)

func (*BatchDouble) DescribeComputeEnvironments

func (*BatchDouble) DescribeComputeEnvironmentsPages

func (d *BatchDouble) DescribeComputeEnvironmentsPages(i0 *batch.DescribeComputeEnvironmentsInput, i1 func(*batch.DescribeComputeEnvironmentsOutput, bool) bool) (r0 error)

func (*BatchDouble) DescribeComputeEnvironmentsPagesWithContext

func (d *BatchDouble) DescribeComputeEnvironmentsPagesWithContext(i0 context.Context, i1 *batch.DescribeComputeEnvironmentsInput, i2 func(*batch.DescribeComputeEnvironmentsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*BatchDouble) DescribeComputeEnvironmentsRequest

func (d *BatchDouble) DescribeComputeEnvironmentsRequest(i0 *batch.DescribeComputeEnvironmentsInput) (r0 *request.Request, r1 *batch.DescribeComputeEnvironmentsOutput)

func (*BatchDouble) DescribeComputeEnvironmentsWithContext

func (d *BatchDouble) DescribeComputeEnvironmentsWithContext(i0 context.Context, i1 *batch.DescribeComputeEnvironmentsInput, i2 ...request.Option) (r0 *batch.DescribeComputeEnvironmentsOutput, r1 error)

func (*BatchDouble) DescribeJobDefinitions

func (d *BatchDouble) DescribeJobDefinitions(i0 *batch.DescribeJobDefinitionsInput) (r0 *batch.DescribeJobDefinitionsOutput, r1 error)

func (*BatchDouble) DescribeJobDefinitionsPages

func (d *BatchDouble) DescribeJobDefinitionsPages(i0 *batch.DescribeJobDefinitionsInput, i1 func(*batch.DescribeJobDefinitionsOutput, bool) bool) (r0 error)

func (*BatchDouble) DescribeJobDefinitionsPagesWithContext

func (d *BatchDouble) DescribeJobDefinitionsPagesWithContext(i0 context.Context, i1 *batch.DescribeJobDefinitionsInput, i2 func(*batch.DescribeJobDefinitionsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*BatchDouble) DescribeJobDefinitionsRequest

func (d *BatchDouble) DescribeJobDefinitionsRequest(i0 *batch.DescribeJobDefinitionsInput) (r0 *request.Request, r1 *batch.DescribeJobDefinitionsOutput)

func (*BatchDouble) DescribeJobDefinitionsWithContext

func (d *BatchDouble) DescribeJobDefinitionsWithContext(i0 context.Context, i1 *batch.DescribeJobDefinitionsInput, i2 ...request.Option) (r0 *batch.DescribeJobDefinitionsOutput, r1 error)

func (*BatchDouble) DescribeJobQueues

func (d *BatchDouble) DescribeJobQueues(i0 *batch.DescribeJobQueuesInput) (r0 *batch.DescribeJobQueuesOutput, r1 error)

func (*BatchDouble) DescribeJobQueuesPages

func (d *BatchDouble) DescribeJobQueuesPages(i0 *batch.DescribeJobQueuesInput, i1 func(*batch.DescribeJobQueuesOutput, bool) bool) (r0 error)

func (*BatchDouble) DescribeJobQueuesPagesWithContext

func (d *BatchDouble) DescribeJobQueuesPagesWithContext(i0 context.Context, i1 *batch.DescribeJobQueuesInput, i2 func(*batch.DescribeJobQueuesOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*BatchDouble) DescribeJobQueuesRequest

func (d *BatchDouble) DescribeJobQueuesRequest(i0 *batch.DescribeJobQueuesInput) (r0 *request.Request, r1 *batch.DescribeJobQueuesOutput)

func (*BatchDouble) DescribeJobQueuesWithContext

func (d *BatchDouble) DescribeJobQueuesWithContext(i0 context.Context, i1 *batch.DescribeJobQueuesInput, i2 ...request.Option) (r0 *batch.DescribeJobQueuesOutput, r1 error)

func (*BatchDouble) DescribeJobs

func (d *BatchDouble) DescribeJobs(i0 *batch.DescribeJobsInput) (r0 *batch.DescribeJobsOutput, r1 error)

func (*BatchDouble) DescribeJobsRequest

func (d *BatchDouble) DescribeJobsRequest(i0 *batch.DescribeJobsInput) (r0 *request.Request, r1 *batch.DescribeJobsOutput)

func (*BatchDouble) DescribeJobsWithContext

func (d *BatchDouble) DescribeJobsWithContext(i0 context.Context, i1 *batch.DescribeJobsInput, i2 ...request.Option) (r0 *batch.DescribeJobsOutput, r1 error)

func (*BatchDouble) ListJobs

func (d *BatchDouble) ListJobs(i0 *batch.ListJobsInput) (r0 *batch.ListJobsOutput, r1 error)

func (*BatchDouble) ListJobsPages

func (d *BatchDouble) ListJobsPages(i0 *batch.ListJobsInput, i1 func(*batch.ListJobsOutput, bool) bool) (r0 error)

func (*BatchDouble) ListJobsPagesWithContext

func (d *BatchDouble) ListJobsPagesWithContext(i0 context.Context, i1 *batch.ListJobsInput, i2 func(*batch.ListJobsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*BatchDouble) ListJobsRequest

func (d *BatchDouble) ListJobsRequest(i0 *batch.ListJobsInput) (r0 *request.Request, r1 *batch.ListJobsOutput)

func (*BatchDouble) ListJobsWithContext

func (d *BatchDouble) ListJobsWithContext(i0 context.Context, i1 *batch.ListJobsInput, i2 ...request.Option) (r0 *batch.ListJobsOutput, r1 error)

func (*BatchDouble) RegisterJobDefinition

func (d *BatchDouble) RegisterJobDefinition(i0 *batch.RegisterJobDefinitionInput) (r0 *batch.RegisterJobDefinitionOutput, r1 error)

func (*BatchDouble) RegisterJobDefinitionRequest

func (d *BatchDouble) RegisterJobDefinitionRequest(i0 *batch.RegisterJobDefinitionInput) (r0 *request.Request, r1 *batch.RegisterJobDefinitionOutput)

func (*BatchDouble) RegisterJobDefinitionWithContext

func (d *BatchDouble) RegisterJobDefinitionWithContext(i0 context.Context, i1 *batch.RegisterJobDefinitionInput, i2 ...request.Option) (r0 *batch.RegisterJobDefinitionOutput, r1 error)

func (*BatchDouble) SubmitJob

func (d *BatchDouble) SubmitJob(i0 *batch.SubmitJobInput) (r0 *batch.SubmitJobOutput, r1 error)

func (*BatchDouble) SubmitJobRequest

func (d *BatchDouble) SubmitJobRequest(i0 *batch.SubmitJobInput) (r0 *request.Request, r1 *batch.SubmitJobOutput)

func (*BatchDouble) SubmitJobWithContext

func (d *BatchDouble) SubmitJobWithContext(i0 context.Context, i1 *batch.SubmitJobInput, i2 ...request.Option) (r0 *batch.SubmitJobOutput, r1 error)

func (*BatchDouble) TerminateJob

func (d *BatchDouble) TerminateJob(i0 *batch.TerminateJobInput) (r0 *batch.TerminateJobOutput, r1 error)

func (*BatchDouble) TerminateJobRequest

func (d *BatchDouble) TerminateJobRequest(i0 *batch.TerminateJobInput) (r0 *request.Request, r1 *batch.TerminateJobOutput)

func (*BatchDouble) TerminateJobWithContext

func (d *BatchDouble) TerminateJobWithContext(i0 context.Context, i1 *batch.TerminateJobInput, i2 ...request.Option) (r0 *batch.TerminateJobOutput, r1 error)

func (*BatchDouble) UpdateComputeEnvironment

func (d *BatchDouble) UpdateComputeEnvironment(i0 *batch.UpdateComputeEnvironmentInput) (r0 *batch.UpdateComputeEnvironmentOutput, r1 error)

func (*BatchDouble) UpdateComputeEnvironmentRequest

func (d *BatchDouble) UpdateComputeEnvironmentRequest(i0 *batch.UpdateComputeEnvironmentInput) (r0 *request.Request, r1 *batch.UpdateComputeEnvironmentOutput)

func (*BatchDouble) UpdateComputeEnvironmentWithContext

func (d *BatchDouble) UpdateComputeEnvironmentWithContext(i0 context.Context, i1 *batch.UpdateComputeEnvironmentInput, i2 ...request.Option) (r0 *batch.UpdateComputeEnvironmentOutput, r1 error)

func (*BatchDouble) UpdateJobQueue

func (d *BatchDouble) UpdateJobQueue(i0 *batch.UpdateJobQueueInput) (r0 *batch.UpdateJobQueueOutput, r1 error)

func (*BatchDouble) UpdateJobQueueRequest

func (d *BatchDouble) UpdateJobQueueRequest(i0 *batch.UpdateJobQueueInput) (r0 *request.Request, r1 *batch.UpdateJobQueueOutput)

func (*BatchDouble) UpdateJobQueueWithContext

func (d *BatchDouble) UpdateJobQueueWithContext(i0 context.Context, i1 *batch.UpdateJobQueueInput, i2 ...request.Option) (r0 *batch.UpdateJobQueueOutput, r1 error)

Jump to

Keyboard shortcuts

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