cloudfrontdouble

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 cloudfrontdouble contains test double implementation of cloudfrontiface.CloudFrontAPI

Package cloudfrontdouble provides a TestDouble implementation of cloudfrontiface.CloudFrontAPI

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 CloudFrontDouble

type CloudFrontDouble struct {
	cloudfrontiface.CloudFrontAPI
	*awsdouble.AWSTestDouble
}

CloudFrontDouble is TestDouble for cloudfrontiface.CloudFrontAPI

func NewDouble

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

Constructor for CloudFrontDouble 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 (*CloudFrontDouble) CreateDistribution

func (*CloudFrontDouble) CreateDistributionRequest

func (*CloudFrontDouble) CreateDistributionWithContext

func (d *CloudFrontDouble) CreateDistributionWithContext(i0 context.Context, i1 *cloudfront.CreateDistributionInput, i2 ...request.Option) (r0 *cloudfront.CreateDistributionOutput, r1 error)

func (*CloudFrontDouble) CreateInvalidation

func (*CloudFrontDouble) CreateInvalidationRequest

func (*CloudFrontDouble) CreateInvalidationWithContext

func (d *CloudFrontDouble) CreateInvalidationWithContext(i0 context.Context, i1 *cloudfront.CreateInvalidationInput, i2 ...request.Option) (r0 *cloudfront.CreateInvalidationOutput, r1 error)

func (*CloudFrontDouble) CreatePublicKey

func (*CloudFrontDouble) CreatePublicKeyRequest

func (*CloudFrontDouble) CreatePublicKeyWithContext

func (d *CloudFrontDouble) CreatePublicKeyWithContext(i0 context.Context, i1 *cloudfront.CreatePublicKeyInput, i2 ...request.Option) (r0 *cloudfront.CreatePublicKeyOutput, r1 error)

func (*CloudFrontDouble) DeleteDistribution

func (*CloudFrontDouble) DeleteDistributionRequest

func (*CloudFrontDouble) DeleteDistributionWithContext

func (d *CloudFrontDouble) DeleteDistributionWithContext(i0 context.Context, i1 *cloudfront.DeleteDistributionInput, i2 ...request.Option) (r0 *cloudfront.DeleteDistributionOutput, r1 error)

func (*CloudFrontDouble) DeletePublicKey

func (*CloudFrontDouble) DeletePublicKeyRequest

func (*CloudFrontDouble) DeletePublicKeyWithContext

func (d *CloudFrontDouble) DeletePublicKeyWithContext(i0 context.Context, i1 *cloudfront.DeletePublicKeyInput, i2 ...request.Option) (r0 *cloudfront.DeletePublicKeyOutput, r1 error)

func (*CloudFrontDouble) GetDistribution

func (*CloudFrontDouble) GetDistributionConfig

func (*CloudFrontDouble) GetDistributionConfigRequest

func (*CloudFrontDouble) GetDistributionConfigWithContext

func (*CloudFrontDouble) GetDistributionRequest

func (*CloudFrontDouble) GetDistributionWithContext

func (d *CloudFrontDouble) GetDistributionWithContext(i0 context.Context, i1 *cloudfront.GetDistributionInput, i2 ...request.Option) (r0 *cloudfront.GetDistributionOutput, r1 error)

func (*CloudFrontDouble) GetFieldLevelEncryption

func (*CloudFrontDouble) GetFieldLevelEncryptionWithContext

func (*CloudFrontDouble) GetInvalidation

func (*CloudFrontDouble) GetInvalidationRequest

func (*CloudFrontDouble) GetInvalidationWithContext

func (d *CloudFrontDouble) GetInvalidationWithContext(i0 context.Context, i1 *cloudfront.GetInvalidationInput, i2 ...request.Option) (r0 *cloudfront.GetInvalidationOutput, r1 error)

func (*CloudFrontDouble) GetPublicKey

func (*CloudFrontDouble) GetPublicKeyConfig

func (*CloudFrontDouble) GetPublicKeyConfigRequest

func (*CloudFrontDouble) GetPublicKeyConfigWithContext

func (d *CloudFrontDouble) GetPublicKeyConfigWithContext(i0 context.Context, i1 *cloudfront.GetPublicKeyConfigInput, i2 ...request.Option) (r0 *cloudfront.GetPublicKeyConfigOutput, r1 error)

func (*CloudFrontDouble) GetPublicKeyRequest

func (*CloudFrontDouble) GetPublicKeyWithContext

func (d *CloudFrontDouble) GetPublicKeyWithContext(i0 context.Context, i1 *cloudfront.GetPublicKeyInput, i2 ...request.Option) (r0 *cloudfront.GetPublicKeyOutput, r1 error)

func (*CloudFrontDouble) GetStreamingDistribution

func (*CloudFrontDouble) GetStreamingDistributionWithContext

func (*CloudFrontDouble) ListDistributions

func (*CloudFrontDouble) ListDistributionsPages

func (d *CloudFrontDouble) ListDistributionsPages(i0 *cloudfront.ListDistributionsInput, i1 func(*cloudfront.ListDistributionsOutput, bool) bool) (r0 error)

func (*CloudFrontDouble) ListDistributionsPagesWithContext

func (d *CloudFrontDouble) ListDistributionsPagesWithContext(i0 context.Context, i1 *cloudfront.ListDistributionsInput, i2 func(*cloudfront.ListDistributionsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*CloudFrontDouble) ListDistributionsRequest

func (*CloudFrontDouble) ListDistributionsWithContext

func (d *CloudFrontDouble) ListDistributionsWithContext(i0 context.Context, i1 *cloudfront.ListDistributionsInput, i2 ...request.Option) (r0 *cloudfront.ListDistributionsOutput, r1 error)

func (*CloudFrontDouble) ListInvalidations

func (*CloudFrontDouble) ListInvalidationsPages

func (d *CloudFrontDouble) ListInvalidationsPages(i0 *cloudfront.ListInvalidationsInput, i1 func(*cloudfront.ListInvalidationsOutput, bool) bool) (r0 error)

func (*CloudFrontDouble) ListInvalidationsPagesWithContext

func (d *CloudFrontDouble) ListInvalidationsPagesWithContext(i0 context.Context, i1 *cloudfront.ListInvalidationsInput, i2 func(*cloudfront.ListInvalidationsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*CloudFrontDouble) ListInvalidationsRequest

func (*CloudFrontDouble) ListInvalidationsWithContext

func (d *CloudFrontDouble) ListInvalidationsWithContext(i0 context.Context, i1 *cloudfront.ListInvalidationsInput, i2 ...request.Option) (r0 *cloudfront.ListInvalidationsOutput, r1 error)

func (*CloudFrontDouble) ListPublicKeys

func (*CloudFrontDouble) ListPublicKeysRequest

func (*CloudFrontDouble) ListPublicKeysWithContext

func (d *CloudFrontDouble) ListPublicKeysWithContext(i0 context.Context, i1 *cloudfront.ListPublicKeysInput, i2 ...request.Option) (r0 *cloudfront.ListPublicKeysOutput, r1 error)

func (*CloudFrontDouble) ListStreamingDistributionsPages

func (*CloudFrontDouble) ListStreamingDistributionsPagesWithContext

func (d *CloudFrontDouble) ListStreamingDistributionsPagesWithContext(i0 context.Context, i1 *cloudfront.ListStreamingDistributionsInput, i2 func(*cloudfront.ListStreamingDistributionsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*CloudFrontDouble) ListTagsForResource

func (*CloudFrontDouble) ListTagsForResourceRequest

func (*CloudFrontDouble) ListTagsForResourceWithContext

func (d *CloudFrontDouble) ListTagsForResourceWithContext(i0 context.Context, i1 *cloudfront.ListTagsForResourceInput, i2 ...request.Option) (r0 *cloudfront.ListTagsForResourceOutput, r1 error)

func (*CloudFrontDouble) TagResource

func (*CloudFrontDouble) TagResourceRequest

func (*CloudFrontDouble) TagResourceWithContext

func (d *CloudFrontDouble) TagResourceWithContext(i0 context.Context, i1 *cloudfront.TagResourceInput, i2 ...request.Option) (r0 *cloudfront.TagResourceOutput, r1 error)

func (*CloudFrontDouble) UntagResource

func (*CloudFrontDouble) UntagResourceRequest

func (*CloudFrontDouble) UntagResourceWithContext

func (d *CloudFrontDouble) UntagResourceWithContext(i0 context.Context, i1 *cloudfront.UntagResourceInput, i2 ...request.Option) (r0 *cloudfront.UntagResourceOutput, r1 error)

func (*CloudFrontDouble) UpdateDistribution

func (*CloudFrontDouble) UpdateDistributionRequest

func (*CloudFrontDouble) UpdateDistributionWithContext

func (d *CloudFrontDouble) UpdateDistributionWithContext(i0 context.Context, i1 *cloudfront.UpdateDistributionInput, i2 ...request.Option) (r0 *cloudfront.UpdateDistributionOutput, r1 error)

func (*CloudFrontDouble) UpdatePublicKey

func (*CloudFrontDouble) UpdatePublicKeyRequest

func (*CloudFrontDouble) UpdatePublicKeyWithContext

func (d *CloudFrontDouble) UpdatePublicKeyWithContext(i0 context.Context, i1 *cloudfront.UpdatePublicKeyInput, i2 ...request.Option) (r0 *cloudfront.UpdatePublicKeyOutput, r1 error)

func (*CloudFrontDouble) WaitUntilDistributionDeployed

func (d *CloudFrontDouble) WaitUntilDistributionDeployed(i0 *cloudfront.GetDistributionInput) (r0 error)

func (*CloudFrontDouble) WaitUntilDistributionDeployedWithContext

func (d *CloudFrontDouble) WaitUntilDistributionDeployedWithContext(i0 context.Context, i1 *cloudfront.GetDistributionInput, i2 ...request.WaiterOption) (r0 error)

func (*CloudFrontDouble) WaitUntilInvalidationCompleted

func (d *CloudFrontDouble) WaitUntilInvalidationCompleted(i0 *cloudfront.GetInvalidationInput) (r0 error)

func (*CloudFrontDouble) WaitUntilInvalidationCompletedWithContext

func (d *CloudFrontDouble) WaitUntilInvalidationCompletedWithContext(i0 context.Context, i1 *cloudfront.GetInvalidationInput, i2 ...request.WaiterOption) (r0 error)

func (*CloudFrontDouble) WaitUntilStreamingDistributionDeployed

func (d *CloudFrontDouble) WaitUntilStreamingDistributionDeployed(i0 *cloudfront.GetStreamingDistributionInput) (r0 error)

func (*CloudFrontDouble) WaitUntilStreamingDistributionDeployedWithContext

func (d *CloudFrontDouble) WaitUntilStreamingDistributionDeployedWithContext(i0 context.Context, i1 *cloudfront.GetStreamingDistributionInput, i2 ...request.WaiterOption) (r0 error)

Jump to

Keyboard shortcuts

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