s3controldouble

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 s3controldouble contains test double implementation of s3controliface.S3ControlAPI

Package s3controldouble provides a TestDouble implementation of s3controliface.S3ControlAPI

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 S3ControlDouble

type S3ControlDouble struct {
	s3controliface.S3ControlAPI
	*awsdouble.AWSTestDouble
}

S3ControlDouble is TestDouble for s3controliface.S3ControlAPI

func NewDouble

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

Constructor for S3ControlDouble 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 (*S3ControlDouble) CreateAccessPoint

func (*S3ControlDouble) CreateAccessPointRequest

func (*S3ControlDouble) CreateAccessPointWithContext

func (d *S3ControlDouble) CreateAccessPointWithContext(i0 context.Context, i1 *s3control.CreateAccessPointInput, i2 ...request.Option) (r0 *s3control.CreateAccessPointOutput, r1 error)

func (*S3ControlDouble) CreateJob

func (*S3ControlDouble) CreateJobRequest

func (d *S3ControlDouble) CreateJobRequest(i0 *s3control.CreateJobInput) (r0 *request.Request, r1 *s3control.CreateJobOutput)

func (*S3ControlDouble) CreateJobWithContext

func (d *S3ControlDouble) CreateJobWithContext(i0 context.Context, i1 *s3control.CreateJobInput, i2 ...request.Option) (r0 *s3control.CreateJobOutput, r1 error)

func (*S3ControlDouble) DeleteAccessPoint

func (*S3ControlDouble) DeleteAccessPointPolicy

func (*S3ControlDouble) DeleteAccessPointPolicyRequest

func (*S3ControlDouble) DeleteAccessPointPolicyWithContext

func (d *S3ControlDouble) DeleteAccessPointPolicyWithContext(i0 context.Context, i1 *s3control.DeleteAccessPointPolicyInput, i2 ...request.Option) (r0 *s3control.DeleteAccessPointPolicyOutput, r1 error)

func (*S3ControlDouble) DeleteAccessPointRequest

func (*S3ControlDouble) DeleteAccessPointWithContext

func (d *S3ControlDouble) DeleteAccessPointWithContext(i0 context.Context, i1 *s3control.DeleteAccessPointInput, i2 ...request.Option) (r0 *s3control.DeleteAccessPointOutput, r1 error)

func (*S3ControlDouble) DeletePublicAccessBlock

func (*S3ControlDouble) DeletePublicAccessBlockRequest

func (*S3ControlDouble) DeletePublicAccessBlockWithContext

func (d *S3ControlDouble) DeletePublicAccessBlockWithContext(i0 context.Context, i1 *s3control.DeletePublicAccessBlockInput, i2 ...request.Option) (r0 *s3control.DeletePublicAccessBlockOutput, r1 error)

func (*S3ControlDouble) DescribeJob

func (*S3ControlDouble) DescribeJobRequest

func (*S3ControlDouble) DescribeJobWithContext

func (d *S3ControlDouble) DescribeJobWithContext(i0 context.Context, i1 *s3control.DescribeJobInput, i2 ...request.Option) (r0 *s3control.DescribeJobOutput, r1 error)

func (*S3ControlDouble) GetAccessPoint

func (*S3ControlDouble) GetAccessPointPolicy

func (*S3ControlDouble) GetAccessPointPolicyRequest

func (*S3ControlDouble) GetAccessPointPolicyWithContext

func (d *S3ControlDouble) GetAccessPointPolicyWithContext(i0 context.Context, i1 *s3control.GetAccessPointPolicyInput, i2 ...request.Option) (r0 *s3control.GetAccessPointPolicyOutput, r1 error)

func (*S3ControlDouble) GetAccessPointRequest

func (*S3ControlDouble) GetAccessPointWithContext

func (d *S3ControlDouble) GetAccessPointWithContext(i0 context.Context, i1 *s3control.GetAccessPointInput, i2 ...request.Option) (r0 *s3control.GetAccessPointOutput, r1 error)

func (*S3ControlDouble) GetPublicAccessBlock

func (*S3ControlDouble) GetPublicAccessBlockRequest

func (*S3ControlDouble) GetPublicAccessBlockWithContext

func (d *S3ControlDouble) GetPublicAccessBlockWithContext(i0 context.Context, i1 *s3control.GetPublicAccessBlockInput, i2 ...request.Option) (r0 *s3control.GetPublicAccessBlockOutput, r1 error)

func (*S3ControlDouble) ListAccessPoints

func (*S3ControlDouble) ListAccessPointsPages

func (d *S3ControlDouble) ListAccessPointsPages(i0 *s3control.ListAccessPointsInput, i1 func(*s3control.ListAccessPointsOutput, bool) bool) (r0 error)

func (*S3ControlDouble) ListAccessPointsPagesWithContext

func (d *S3ControlDouble) ListAccessPointsPagesWithContext(i0 context.Context, i1 *s3control.ListAccessPointsInput, i2 func(*s3control.ListAccessPointsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*S3ControlDouble) ListAccessPointsRequest

func (*S3ControlDouble) ListAccessPointsWithContext

func (d *S3ControlDouble) ListAccessPointsWithContext(i0 context.Context, i1 *s3control.ListAccessPointsInput, i2 ...request.Option) (r0 *s3control.ListAccessPointsOutput, r1 error)

func (*S3ControlDouble) ListJobs

func (*S3ControlDouble) ListJobsPages

func (d *S3ControlDouble) ListJobsPages(i0 *s3control.ListJobsInput, i1 func(*s3control.ListJobsOutput, bool) bool) (r0 error)

func (*S3ControlDouble) ListJobsPagesWithContext

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

func (*S3ControlDouble) ListJobsRequest

func (d *S3ControlDouble) ListJobsRequest(i0 *s3control.ListJobsInput) (r0 *request.Request, r1 *s3control.ListJobsOutput)

func (*S3ControlDouble) ListJobsWithContext

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

func (*S3ControlDouble) PutAccessPointPolicy

func (*S3ControlDouble) PutAccessPointPolicyRequest

func (*S3ControlDouble) PutAccessPointPolicyWithContext

func (d *S3ControlDouble) PutAccessPointPolicyWithContext(i0 context.Context, i1 *s3control.PutAccessPointPolicyInput, i2 ...request.Option) (r0 *s3control.PutAccessPointPolicyOutput, r1 error)

func (*S3ControlDouble) PutPublicAccessBlock

func (*S3ControlDouble) PutPublicAccessBlockRequest

func (*S3ControlDouble) PutPublicAccessBlockWithContext

func (d *S3ControlDouble) PutPublicAccessBlockWithContext(i0 context.Context, i1 *s3control.PutPublicAccessBlockInput, i2 ...request.Option) (r0 *s3control.PutPublicAccessBlockOutput, r1 error)

func (*S3ControlDouble) UpdateJobPriority

func (*S3ControlDouble) UpdateJobPriorityRequest

func (*S3ControlDouble) UpdateJobPriorityWithContext

func (d *S3ControlDouble) UpdateJobPriorityWithContext(i0 context.Context, i1 *s3control.UpdateJobPriorityInput, i2 ...request.Option) (r0 *s3control.UpdateJobPriorityOutput, r1 error)

func (*S3ControlDouble) UpdateJobStatus

func (*S3ControlDouble) UpdateJobStatusRequest

func (*S3ControlDouble) UpdateJobStatusWithContext

func (d *S3ControlDouble) UpdateJobStatusWithContext(i0 context.Context, i1 *s3control.UpdateJobStatusInput, i2 ...request.Option) (r0 *s3control.UpdateJobStatusOutput, r1 error)

Jump to

Keyboard shortcuts

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