glacierdouble

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: 8 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 glacierdouble contains test double implementation of glacieriface.GlacierAPI

Package glacierdouble provides a TestDouble implementation of glacieriface.GlacierAPI

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

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 GlacierDouble

type GlacierDouble struct {
	glacieriface.GlacierAPI
	*awsdouble.AWSTestDouble
}

GlacierDouble is TestDouble for glacieriface.GlacierAPI

func NewDouble

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

Constructor for GlacierDouble 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 (*GlacierDouble) AbortMultipartUpload

func (*GlacierDouble) AbortMultipartUploadRequest

func (d *GlacierDouble) AbortMultipartUploadRequest(i0 *glacier.AbortMultipartUploadInput) (r0 *request.Request, r1 *glacier.AbortMultipartUploadOutput)

func (*GlacierDouble) AbortMultipartUploadWithContext

func (d *GlacierDouble) AbortMultipartUploadWithContext(i0 context.Context, i1 *glacier.AbortMultipartUploadInput, i2 ...request.Option) (r0 *glacier.AbortMultipartUploadOutput, r1 error)

func (*GlacierDouble) AbortVaultLock

func (*GlacierDouble) AbortVaultLockRequest

func (d *GlacierDouble) AbortVaultLockRequest(i0 *glacier.AbortVaultLockInput) (r0 *request.Request, r1 *glacier.AbortVaultLockOutput)

func (*GlacierDouble) AbortVaultLockWithContext

func (d *GlacierDouble) AbortVaultLockWithContext(i0 context.Context, i1 *glacier.AbortVaultLockInput, i2 ...request.Option) (r0 *glacier.AbortVaultLockOutput, r1 error)

func (*GlacierDouble) AddTagsToVault

func (*GlacierDouble) AddTagsToVaultRequest

func (d *GlacierDouble) AddTagsToVaultRequest(i0 *glacier.AddTagsToVaultInput) (r0 *request.Request, r1 *glacier.AddTagsToVaultOutput)

func (*GlacierDouble) AddTagsToVaultWithContext

func (d *GlacierDouble) AddTagsToVaultWithContext(i0 context.Context, i1 *glacier.AddTagsToVaultInput, i2 ...request.Option) (r0 *glacier.AddTagsToVaultOutput, r1 error)

func (*GlacierDouble) CompleteMultipartUpload

func (d *GlacierDouble) CompleteMultipartUpload(i0 *glacier.CompleteMultipartUploadInput) (r0 *glacier.ArchiveCreationOutput, r1 error)

func (*GlacierDouble) CompleteMultipartUploadRequest

func (d *GlacierDouble) CompleteMultipartUploadRequest(i0 *glacier.CompleteMultipartUploadInput) (r0 *request.Request, r1 *glacier.ArchiveCreationOutput)

func (*GlacierDouble) CompleteMultipartUploadWithContext

func (d *GlacierDouble) CompleteMultipartUploadWithContext(i0 context.Context, i1 *glacier.CompleteMultipartUploadInput, i2 ...request.Option) (r0 *glacier.ArchiveCreationOutput, r1 error)

func (*GlacierDouble) CompleteVaultLock

func (*GlacierDouble) CompleteVaultLockRequest

func (d *GlacierDouble) CompleteVaultLockRequest(i0 *glacier.CompleteVaultLockInput) (r0 *request.Request, r1 *glacier.CompleteVaultLockOutput)

func (*GlacierDouble) CompleteVaultLockWithContext

func (d *GlacierDouble) CompleteVaultLockWithContext(i0 context.Context, i1 *glacier.CompleteVaultLockInput, i2 ...request.Option) (r0 *glacier.CompleteVaultLockOutput, r1 error)

func (*GlacierDouble) CreateVault

func (d *GlacierDouble) CreateVault(i0 *glacier.CreateVaultInput) (r0 *glacier.CreateVaultOutput, r1 error)

func (*GlacierDouble) CreateVaultRequest

func (d *GlacierDouble) CreateVaultRequest(i0 *glacier.CreateVaultInput) (r0 *request.Request, r1 *glacier.CreateVaultOutput)

func (*GlacierDouble) CreateVaultWithContext

func (d *GlacierDouble) CreateVaultWithContext(i0 context.Context, i1 *glacier.CreateVaultInput, i2 ...request.Option) (r0 *glacier.CreateVaultOutput, r1 error)

func (*GlacierDouble) DeleteArchive

func (d *GlacierDouble) DeleteArchive(i0 *glacier.DeleteArchiveInput) (r0 *glacier.DeleteArchiveOutput, r1 error)

func (*GlacierDouble) DeleteArchiveRequest

func (d *GlacierDouble) DeleteArchiveRequest(i0 *glacier.DeleteArchiveInput) (r0 *request.Request, r1 *glacier.DeleteArchiveOutput)

func (*GlacierDouble) DeleteArchiveWithContext

func (d *GlacierDouble) DeleteArchiveWithContext(i0 context.Context, i1 *glacier.DeleteArchiveInput, i2 ...request.Option) (r0 *glacier.DeleteArchiveOutput, r1 error)

func (*GlacierDouble) DeleteVault

func (d *GlacierDouble) DeleteVault(i0 *glacier.DeleteVaultInput) (r0 *glacier.DeleteVaultOutput, r1 error)

func (*GlacierDouble) DeleteVaultAccessPolicy

func (*GlacierDouble) DeleteVaultAccessPolicyRequest

func (*GlacierDouble) DeleteVaultAccessPolicyWithContext

func (d *GlacierDouble) DeleteVaultAccessPolicyWithContext(i0 context.Context, i1 *glacier.DeleteVaultAccessPolicyInput, i2 ...request.Option) (r0 *glacier.DeleteVaultAccessPolicyOutput, r1 error)

func (*GlacierDouble) DeleteVaultNotifications

func (*GlacierDouble) DeleteVaultNotificationsRequest

func (*GlacierDouble) DeleteVaultNotificationsWithContext

func (d *GlacierDouble) DeleteVaultNotificationsWithContext(i0 context.Context, i1 *glacier.DeleteVaultNotificationsInput, i2 ...request.Option) (r0 *glacier.DeleteVaultNotificationsOutput, r1 error)

func (*GlacierDouble) DeleteVaultRequest

func (d *GlacierDouble) DeleteVaultRequest(i0 *glacier.DeleteVaultInput) (r0 *request.Request, r1 *glacier.DeleteVaultOutput)

func (*GlacierDouble) DeleteVaultWithContext

func (d *GlacierDouble) DeleteVaultWithContext(i0 context.Context, i1 *glacier.DeleteVaultInput, i2 ...request.Option) (r0 *glacier.DeleteVaultOutput, r1 error)

func (*GlacierDouble) DescribeJob

func (d *GlacierDouble) DescribeJob(i0 *glacier.DescribeJobInput) (r0 *glacier.JobDescription, r1 error)

func (*GlacierDouble) DescribeJobRequest

func (d *GlacierDouble) DescribeJobRequest(i0 *glacier.DescribeJobInput) (r0 *request.Request, r1 *glacier.JobDescription)

func (*GlacierDouble) DescribeJobWithContext

func (d *GlacierDouble) DescribeJobWithContext(i0 context.Context, i1 *glacier.DescribeJobInput, i2 ...request.Option) (r0 *glacier.JobDescription, r1 error)

func (*GlacierDouble) DescribeVault

func (d *GlacierDouble) DescribeVault(i0 *glacier.DescribeVaultInput) (r0 *glacier.DescribeVaultOutput, r1 error)

func (*GlacierDouble) DescribeVaultRequest

func (d *GlacierDouble) DescribeVaultRequest(i0 *glacier.DescribeVaultInput) (r0 *request.Request, r1 *glacier.DescribeVaultOutput)

func (*GlacierDouble) DescribeVaultWithContext

func (d *GlacierDouble) DescribeVaultWithContext(i0 context.Context, i1 *glacier.DescribeVaultInput, i2 ...request.Option) (r0 *glacier.DescribeVaultOutput, r1 error)

func (*GlacierDouble) GetDataRetrievalPolicy

func (*GlacierDouble) GetDataRetrievalPolicyRequest

func (d *GlacierDouble) GetDataRetrievalPolicyRequest(i0 *glacier.GetDataRetrievalPolicyInput) (r0 *request.Request, r1 *glacier.GetDataRetrievalPolicyOutput)

func (*GlacierDouble) GetDataRetrievalPolicyWithContext

func (d *GlacierDouble) GetDataRetrievalPolicyWithContext(i0 context.Context, i1 *glacier.GetDataRetrievalPolicyInput, i2 ...request.Option) (r0 *glacier.GetDataRetrievalPolicyOutput, r1 error)

func (*GlacierDouble) GetJobOutput

func (d *GlacierDouble) GetJobOutput(i0 *glacier.GetJobOutputInput) (r0 *glacier.GetJobOutputOutput, r1 error)

func (*GlacierDouble) GetJobOutputRequest

func (d *GlacierDouble) GetJobOutputRequest(i0 *glacier.GetJobOutputInput) (r0 *request.Request, r1 *glacier.GetJobOutputOutput)

func (*GlacierDouble) GetJobOutputWithContext

func (d *GlacierDouble) GetJobOutputWithContext(i0 context.Context, i1 *glacier.GetJobOutputInput, i2 ...request.Option) (r0 *glacier.GetJobOutputOutput, r1 error)

func (*GlacierDouble) GetVaultAccessPolicy

func (*GlacierDouble) GetVaultAccessPolicyRequest

func (d *GlacierDouble) GetVaultAccessPolicyRequest(i0 *glacier.GetVaultAccessPolicyInput) (r0 *request.Request, r1 *glacier.GetVaultAccessPolicyOutput)

func (*GlacierDouble) GetVaultAccessPolicyWithContext

func (d *GlacierDouble) GetVaultAccessPolicyWithContext(i0 context.Context, i1 *glacier.GetVaultAccessPolicyInput, i2 ...request.Option) (r0 *glacier.GetVaultAccessPolicyOutput, r1 error)

func (*GlacierDouble) GetVaultLock

func (d *GlacierDouble) GetVaultLock(i0 *glacier.GetVaultLockInput) (r0 *glacier.GetVaultLockOutput, r1 error)

func (*GlacierDouble) GetVaultLockRequest

func (d *GlacierDouble) GetVaultLockRequest(i0 *glacier.GetVaultLockInput) (r0 *request.Request, r1 *glacier.GetVaultLockOutput)

func (*GlacierDouble) GetVaultLockWithContext

func (d *GlacierDouble) GetVaultLockWithContext(i0 context.Context, i1 *glacier.GetVaultLockInput, i2 ...request.Option) (r0 *glacier.GetVaultLockOutput, r1 error)

func (*GlacierDouble) GetVaultNotifications

func (*GlacierDouble) GetVaultNotificationsRequest

func (d *GlacierDouble) GetVaultNotificationsRequest(i0 *glacier.GetVaultNotificationsInput) (r0 *request.Request, r1 *glacier.GetVaultNotificationsOutput)

func (*GlacierDouble) GetVaultNotificationsWithContext

func (d *GlacierDouble) GetVaultNotificationsWithContext(i0 context.Context, i1 *glacier.GetVaultNotificationsInput, i2 ...request.Option) (r0 *glacier.GetVaultNotificationsOutput, r1 error)

func (*GlacierDouble) InitiateJob

func (d *GlacierDouble) InitiateJob(i0 *glacier.InitiateJobInput) (r0 *glacier.InitiateJobOutput, r1 error)

func (*GlacierDouble) InitiateJobRequest

func (d *GlacierDouble) InitiateJobRequest(i0 *glacier.InitiateJobInput) (r0 *request.Request, r1 *glacier.InitiateJobOutput)

func (*GlacierDouble) InitiateJobWithContext

func (d *GlacierDouble) InitiateJobWithContext(i0 context.Context, i1 *glacier.InitiateJobInput, i2 ...request.Option) (r0 *glacier.InitiateJobOutput, r1 error)

func (*GlacierDouble) InitiateMultipartUpload

func (*GlacierDouble) InitiateMultipartUploadRequest

func (*GlacierDouble) InitiateMultipartUploadWithContext

func (d *GlacierDouble) InitiateMultipartUploadWithContext(i0 context.Context, i1 *glacier.InitiateMultipartUploadInput, i2 ...request.Option) (r0 *glacier.InitiateMultipartUploadOutput, r1 error)

func (*GlacierDouble) InitiateVaultLock

func (*GlacierDouble) InitiateVaultLockRequest

func (d *GlacierDouble) InitiateVaultLockRequest(i0 *glacier.InitiateVaultLockInput) (r0 *request.Request, r1 *glacier.InitiateVaultLockOutput)

func (*GlacierDouble) InitiateVaultLockWithContext

func (d *GlacierDouble) InitiateVaultLockWithContext(i0 context.Context, i1 *glacier.InitiateVaultLockInput, i2 ...request.Option) (r0 *glacier.InitiateVaultLockOutput, r1 error)

func (*GlacierDouble) ListJobs

func (d *GlacierDouble) ListJobs(i0 *glacier.ListJobsInput) (r0 *glacier.ListJobsOutput, r1 error)

func (*GlacierDouble) ListJobsPages

func (d *GlacierDouble) ListJobsPages(i0 *glacier.ListJobsInput, i1 func(*glacier.ListJobsOutput, bool) bool) (r0 error)

func (*GlacierDouble) ListJobsPagesWithContext

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

func (*GlacierDouble) ListJobsRequest

func (d *GlacierDouble) ListJobsRequest(i0 *glacier.ListJobsInput) (r0 *request.Request, r1 *glacier.ListJobsOutput)

func (*GlacierDouble) ListJobsWithContext

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

func (*GlacierDouble) ListMultipartUploads

func (*GlacierDouble) ListMultipartUploadsPages

func (d *GlacierDouble) ListMultipartUploadsPages(i0 *glacier.ListMultipartUploadsInput, i1 func(*glacier.ListMultipartUploadsOutput, bool) bool) (r0 error)

func (*GlacierDouble) ListMultipartUploadsPagesWithContext

func (d *GlacierDouble) ListMultipartUploadsPagesWithContext(i0 context.Context, i1 *glacier.ListMultipartUploadsInput, i2 func(*glacier.ListMultipartUploadsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*GlacierDouble) ListMultipartUploadsRequest

func (d *GlacierDouble) ListMultipartUploadsRequest(i0 *glacier.ListMultipartUploadsInput) (r0 *request.Request, r1 *glacier.ListMultipartUploadsOutput)

func (*GlacierDouble) ListMultipartUploadsWithContext

func (d *GlacierDouble) ListMultipartUploadsWithContext(i0 context.Context, i1 *glacier.ListMultipartUploadsInput, i2 ...request.Option) (r0 *glacier.ListMultipartUploadsOutput, r1 error)

func (*GlacierDouble) ListParts

func (d *GlacierDouble) ListParts(i0 *glacier.ListPartsInput) (r0 *glacier.ListPartsOutput, r1 error)

func (*GlacierDouble) ListPartsPages

func (d *GlacierDouble) ListPartsPages(i0 *glacier.ListPartsInput, i1 func(*glacier.ListPartsOutput, bool) bool) (r0 error)

func (*GlacierDouble) ListPartsPagesWithContext

func (d *GlacierDouble) ListPartsPagesWithContext(i0 context.Context, i1 *glacier.ListPartsInput, i2 func(*glacier.ListPartsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*GlacierDouble) ListPartsRequest

func (d *GlacierDouble) ListPartsRequest(i0 *glacier.ListPartsInput) (r0 *request.Request, r1 *glacier.ListPartsOutput)

func (*GlacierDouble) ListPartsWithContext

func (d *GlacierDouble) ListPartsWithContext(i0 context.Context, i1 *glacier.ListPartsInput, i2 ...request.Option) (r0 *glacier.ListPartsOutput, r1 error)

func (*GlacierDouble) ListProvisionedCapacity

func (*GlacierDouble) ListProvisionedCapacityRequest

func (*GlacierDouble) ListProvisionedCapacityWithContext

func (d *GlacierDouble) ListProvisionedCapacityWithContext(i0 context.Context, i1 *glacier.ListProvisionedCapacityInput, i2 ...request.Option) (r0 *glacier.ListProvisionedCapacityOutput, r1 error)

func (*GlacierDouble) ListTagsForVault

func (*GlacierDouble) ListTagsForVaultRequest

func (d *GlacierDouble) ListTagsForVaultRequest(i0 *glacier.ListTagsForVaultInput) (r0 *request.Request, r1 *glacier.ListTagsForVaultOutput)

func (*GlacierDouble) ListTagsForVaultWithContext

func (d *GlacierDouble) ListTagsForVaultWithContext(i0 context.Context, i1 *glacier.ListTagsForVaultInput, i2 ...request.Option) (r0 *glacier.ListTagsForVaultOutput, r1 error)

func (*GlacierDouble) ListVaults

func (d *GlacierDouble) ListVaults(i0 *glacier.ListVaultsInput) (r0 *glacier.ListVaultsOutput, r1 error)

func (*GlacierDouble) ListVaultsPages

func (d *GlacierDouble) ListVaultsPages(i0 *glacier.ListVaultsInput, i1 func(*glacier.ListVaultsOutput, bool) bool) (r0 error)

func (*GlacierDouble) ListVaultsPagesWithContext

func (d *GlacierDouble) ListVaultsPagesWithContext(i0 context.Context, i1 *glacier.ListVaultsInput, i2 func(*glacier.ListVaultsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*GlacierDouble) ListVaultsRequest

func (d *GlacierDouble) ListVaultsRequest(i0 *glacier.ListVaultsInput) (r0 *request.Request, r1 *glacier.ListVaultsOutput)

func (*GlacierDouble) ListVaultsWithContext

func (d *GlacierDouble) ListVaultsWithContext(i0 context.Context, i1 *glacier.ListVaultsInput, i2 ...request.Option) (r0 *glacier.ListVaultsOutput, r1 error)

func (*GlacierDouble) PurchaseProvisionedCapacity

func (*GlacierDouble) PurchaseProvisionedCapacityWithContext

func (d *GlacierDouble) PurchaseProvisionedCapacityWithContext(i0 context.Context, i1 *glacier.PurchaseProvisionedCapacityInput, i2 ...request.Option) (r0 *glacier.PurchaseProvisionedCapacityOutput, r1 error)

func (*GlacierDouble) RemoveTagsFromVault

func (*GlacierDouble) RemoveTagsFromVaultRequest

func (d *GlacierDouble) RemoveTagsFromVaultRequest(i0 *glacier.RemoveTagsFromVaultInput) (r0 *request.Request, r1 *glacier.RemoveTagsFromVaultOutput)

func (*GlacierDouble) RemoveTagsFromVaultWithContext

func (d *GlacierDouble) RemoveTagsFromVaultWithContext(i0 context.Context, i1 *glacier.RemoveTagsFromVaultInput, i2 ...request.Option) (r0 *glacier.RemoveTagsFromVaultOutput, r1 error)

func (*GlacierDouble) SetDataRetrievalPolicy

func (*GlacierDouble) SetDataRetrievalPolicyRequest

func (d *GlacierDouble) SetDataRetrievalPolicyRequest(i0 *glacier.SetDataRetrievalPolicyInput) (r0 *request.Request, r1 *glacier.SetDataRetrievalPolicyOutput)

func (*GlacierDouble) SetDataRetrievalPolicyWithContext

func (d *GlacierDouble) SetDataRetrievalPolicyWithContext(i0 context.Context, i1 *glacier.SetDataRetrievalPolicyInput, i2 ...request.Option) (r0 *glacier.SetDataRetrievalPolicyOutput, r1 error)

func (*GlacierDouble) SetVaultAccessPolicy

func (*GlacierDouble) SetVaultAccessPolicyRequest

func (d *GlacierDouble) SetVaultAccessPolicyRequest(i0 *glacier.SetVaultAccessPolicyInput) (r0 *request.Request, r1 *glacier.SetVaultAccessPolicyOutput)

func (*GlacierDouble) SetVaultAccessPolicyWithContext

func (d *GlacierDouble) SetVaultAccessPolicyWithContext(i0 context.Context, i1 *glacier.SetVaultAccessPolicyInput, i2 ...request.Option) (r0 *glacier.SetVaultAccessPolicyOutput, r1 error)

func (*GlacierDouble) SetVaultNotifications

func (*GlacierDouble) SetVaultNotificationsRequest

func (d *GlacierDouble) SetVaultNotificationsRequest(i0 *glacier.SetVaultNotificationsInput) (r0 *request.Request, r1 *glacier.SetVaultNotificationsOutput)

func (*GlacierDouble) SetVaultNotificationsWithContext

func (d *GlacierDouble) SetVaultNotificationsWithContext(i0 context.Context, i1 *glacier.SetVaultNotificationsInput, i2 ...request.Option) (r0 *glacier.SetVaultNotificationsOutput, r1 error)

func (*GlacierDouble) UploadArchive

func (*GlacierDouble) UploadArchiveRequest

func (d *GlacierDouble) UploadArchiveRequest(i0 *glacier.UploadArchiveInput) (r0 *request.Request, r1 *glacier.ArchiveCreationOutput)

func (*GlacierDouble) UploadArchiveWithContext

func (d *GlacierDouble) UploadArchiveWithContext(i0 context.Context, i1 *glacier.UploadArchiveInput, i2 ...request.Option) (r0 *glacier.ArchiveCreationOutput, r1 error)

func (*GlacierDouble) UploadMultipartPart

func (*GlacierDouble) UploadMultipartPartRequest

func (d *GlacierDouble) UploadMultipartPartRequest(i0 *glacier.UploadMultipartPartInput) (r0 *request.Request, r1 *glacier.UploadMultipartPartOutput)

func (*GlacierDouble) UploadMultipartPartWithContext

func (d *GlacierDouble) UploadMultipartPartWithContext(i0 context.Context, i1 *glacier.UploadMultipartPartInput, i2 ...request.Option) (r0 *glacier.UploadMultipartPartOutput, r1 error)

func (*GlacierDouble) WaitUntilVaultExists

func (d *GlacierDouble) WaitUntilVaultExists(i0 *glacier.DescribeVaultInput) (r0 error)

func (*GlacierDouble) WaitUntilVaultExistsWithContext

func (d *GlacierDouble) WaitUntilVaultExistsWithContext(i0 context.Context, i1 *glacier.DescribeVaultInput, i2 ...request.WaiterOption) (r0 error)

func (*GlacierDouble) WaitUntilVaultNotExists

func (d *GlacierDouble) WaitUntilVaultNotExists(i0 *glacier.DescribeVaultInput) (r0 error)

func (*GlacierDouble) WaitUntilVaultNotExistsWithContext

func (d *GlacierDouble) WaitUntilVaultNotExistsWithContext(i0 context.Context, i1 *glacier.DescribeVaultInput, i2 ...request.WaiterOption) (r0 error)

Jump to

Keyboard shortcuts

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