mediastoredouble

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 mediastoredouble contains test double implementation of mediastoreiface.MediaStoreAPI

Package mediastoredouble provides a TestDouble implementation of mediastoreiface.MediaStoreAPI

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 MediaStoreDouble

type MediaStoreDouble struct {
	mediastoreiface.MediaStoreAPI
	*awsdouble.AWSTestDouble
}

MediaStoreDouble is TestDouble for mediastoreiface.MediaStoreAPI

func NewDouble

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

Constructor for MediaStoreDouble 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 (*MediaStoreDouble) CreateContainer

func (*MediaStoreDouble) CreateContainerRequest

func (*MediaStoreDouble) CreateContainerWithContext

func (d *MediaStoreDouble) CreateContainerWithContext(i0 context.Context, i1 *mediastore.CreateContainerInput, i2 ...request.Option) (r0 *mediastore.CreateContainerOutput, r1 error)

func (*MediaStoreDouble) DeleteContainer

func (*MediaStoreDouble) DeleteContainerPolicy

func (*MediaStoreDouble) DeleteContainerPolicyRequest

func (*MediaStoreDouble) DeleteContainerPolicyWithContext

func (*MediaStoreDouble) DeleteContainerRequest

func (*MediaStoreDouble) DeleteContainerWithContext

func (d *MediaStoreDouble) DeleteContainerWithContext(i0 context.Context, i1 *mediastore.DeleteContainerInput, i2 ...request.Option) (r0 *mediastore.DeleteContainerOutput, r1 error)

func (*MediaStoreDouble) DeleteCorsPolicy

func (*MediaStoreDouble) DeleteCorsPolicyRequest

func (*MediaStoreDouble) DeleteCorsPolicyWithContext

func (d *MediaStoreDouble) DeleteCorsPolicyWithContext(i0 context.Context, i1 *mediastore.DeleteCorsPolicyInput, i2 ...request.Option) (r0 *mediastore.DeleteCorsPolicyOutput, r1 error)

func (*MediaStoreDouble) DeleteLifecyclePolicy

func (*MediaStoreDouble) DeleteLifecyclePolicyRequest

func (*MediaStoreDouble) DeleteLifecyclePolicyWithContext

func (*MediaStoreDouble) DescribeContainer

func (*MediaStoreDouble) DescribeContainerRequest

func (*MediaStoreDouble) DescribeContainerWithContext

func (d *MediaStoreDouble) DescribeContainerWithContext(i0 context.Context, i1 *mediastore.DescribeContainerInput, i2 ...request.Option) (r0 *mediastore.DescribeContainerOutput, r1 error)

func (*MediaStoreDouble) GetContainerPolicy

func (*MediaStoreDouble) GetContainerPolicyRequest

func (*MediaStoreDouble) GetContainerPolicyWithContext

func (d *MediaStoreDouble) GetContainerPolicyWithContext(i0 context.Context, i1 *mediastore.GetContainerPolicyInput, i2 ...request.Option) (r0 *mediastore.GetContainerPolicyOutput, r1 error)

func (*MediaStoreDouble) GetCorsPolicy

func (*MediaStoreDouble) GetCorsPolicyRequest

func (*MediaStoreDouble) GetCorsPolicyWithContext

func (d *MediaStoreDouble) GetCorsPolicyWithContext(i0 context.Context, i1 *mediastore.GetCorsPolicyInput, i2 ...request.Option) (r0 *mediastore.GetCorsPolicyOutput, r1 error)

func (*MediaStoreDouble) GetLifecyclePolicy

func (*MediaStoreDouble) GetLifecyclePolicyRequest

func (*MediaStoreDouble) GetLifecyclePolicyWithContext

func (d *MediaStoreDouble) GetLifecyclePolicyWithContext(i0 context.Context, i1 *mediastore.GetLifecyclePolicyInput, i2 ...request.Option) (r0 *mediastore.GetLifecyclePolicyOutput, r1 error)

func (*MediaStoreDouble) ListContainers

func (*MediaStoreDouble) ListContainersPages

func (d *MediaStoreDouble) ListContainersPages(i0 *mediastore.ListContainersInput, i1 func(*mediastore.ListContainersOutput, bool) bool) (r0 error)

func (*MediaStoreDouble) ListContainersPagesWithContext

func (d *MediaStoreDouble) ListContainersPagesWithContext(i0 context.Context, i1 *mediastore.ListContainersInput, i2 func(*mediastore.ListContainersOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*MediaStoreDouble) ListContainersRequest

func (*MediaStoreDouble) ListContainersWithContext

func (d *MediaStoreDouble) ListContainersWithContext(i0 context.Context, i1 *mediastore.ListContainersInput, i2 ...request.Option) (r0 *mediastore.ListContainersOutput, r1 error)

func (*MediaStoreDouble) ListTagsForResource

func (*MediaStoreDouble) ListTagsForResourceRequest

func (*MediaStoreDouble) ListTagsForResourceWithContext

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

func (*MediaStoreDouble) PutContainerPolicy

func (*MediaStoreDouble) PutContainerPolicyRequest

func (*MediaStoreDouble) PutContainerPolicyWithContext

func (d *MediaStoreDouble) PutContainerPolicyWithContext(i0 context.Context, i1 *mediastore.PutContainerPolicyInput, i2 ...request.Option) (r0 *mediastore.PutContainerPolicyOutput, r1 error)

func (*MediaStoreDouble) PutCorsPolicy

func (*MediaStoreDouble) PutCorsPolicyRequest

func (*MediaStoreDouble) PutCorsPolicyWithContext

func (d *MediaStoreDouble) PutCorsPolicyWithContext(i0 context.Context, i1 *mediastore.PutCorsPolicyInput, i2 ...request.Option) (r0 *mediastore.PutCorsPolicyOutput, r1 error)

func (*MediaStoreDouble) PutLifecyclePolicy

func (*MediaStoreDouble) PutLifecyclePolicyRequest

func (*MediaStoreDouble) PutLifecyclePolicyWithContext

func (d *MediaStoreDouble) PutLifecyclePolicyWithContext(i0 context.Context, i1 *mediastore.PutLifecyclePolicyInput, i2 ...request.Option) (r0 *mediastore.PutLifecyclePolicyOutput, r1 error)

func (*MediaStoreDouble) StartAccessLogging

func (*MediaStoreDouble) StartAccessLoggingRequest

func (*MediaStoreDouble) StartAccessLoggingWithContext

func (d *MediaStoreDouble) StartAccessLoggingWithContext(i0 context.Context, i1 *mediastore.StartAccessLoggingInput, i2 ...request.Option) (r0 *mediastore.StartAccessLoggingOutput, r1 error)

func (*MediaStoreDouble) StopAccessLogging

func (*MediaStoreDouble) StopAccessLoggingRequest

func (*MediaStoreDouble) StopAccessLoggingWithContext

func (d *MediaStoreDouble) StopAccessLoggingWithContext(i0 context.Context, i1 *mediastore.StopAccessLoggingInput, i2 ...request.Option) (r0 *mediastore.StopAccessLoggingOutput, r1 error)

func (*MediaStoreDouble) TagResource

func (*MediaStoreDouble) TagResourceRequest

func (*MediaStoreDouble) TagResourceWithContext

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

func (*MediaStoreDouble) UntagResource

func (*MediaStoreDouble) UntagResourceRequest

func (*MediaStoreDouble) UntagResourceWithContext

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

Jump to

Keyboard shortcuts

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