cloud9double

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 cloud9double contains test double implementation of cloud9iface.Cloud9API

Package cloud9double provides a TestDouble implementation of cloud9iface.Cloud9API

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 Cloud9Double

type Cloud9Double struct {
	cloud9iface.Cloud9API
	*awsdouble.AWSTestDouble
}

Cloud9Double is TestDouble for cloud9iface.Cloud9API

func NewDouble

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

Constructor for Cloud9Double 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 (*Cloud9Double) CreateEnvironmentEC2

func (*Cloud9Double) CreateEnvironmentEC2Request

func (d *Cloud9Double) CreateEnvironmentEC2Request(i0 *cloud9.CreateEnvironmentEC2Input) (r0 *request.Request, r1 *cloud9.CreateEnvironmentEC2Output)

func (*Cloud9Double) CreateEnvironmentEC2WithContext

func (d *Cloud9Double) CreateEnvironmentEC2WithContext(i0 context.Context, i1 *cloud9.CreateEnvironmentEC2Input, i2 ...request.Option) (r0 *cloud9.CreateEnvironmentEC2Output, r1 error)

func (*Cloud9Double) CreateEnvironmentMembership

func (*Cloud9Double) CreateEnvironmentMembershipWithContext

func (d *Cloud9Double) CreateEnvironmentMembershipWithContext(i0 context.Context, i1 *cloud9.CreateEnvironmentMembershipInput, i2 ...request.Option) (r0 *cloud9.CreateEnvironmentMembershipOutput, r1 error)

func (*Cloud9Double) DeleteEnvironment

func (d *Cloud9Double) DeleteEnvironment(i0 *cloud9.DeleteEnvironmentInput) (r0 *cloud9.DeleteEnvironmentOutput, r1 error)

func (*Cloud9Double) DeleteEnvironmentMembership

func (*Cloud9Double) DeleteEnvironmentMembershipWithContext

func (d *Cloud9Double) DeleteEnvironmentMembershipWithContext(i0 context.Context, i1 *cloud9.DeleteEnvironmentMembershipInput, i2 ...request.Option) (r0 *cloud9.DeleteEnvironmentMembershipOutput, r1 error)

func (*Cloud9Double) DeleteEnvironmentRequest

func (d *Cloud9Double) DeleteEnvironmentRequest(i0 *cloud9.DeleteEnvironmentInput) (r0 *request.Request, r1 *cloud9.DeleteEnvironmentOutput)

func (*Cloud9Double) DeleteEnvironmentWithContext

func (d *Cloud9Double) DeleteEnvironmentWithContext(i0 context.Context, i1 *cloud9.DeleteEnvironmentInput, i2 ...request.Option) (r0 *cloud9.DeleteEnvironmentOutput, r1 error)

func (*Cloud9Double) DescribeEnvironmentMembershipsPages

func (d *Cloud9Double) DescribeEnvironmentMembershipsPages(i0 *cloud9.DescribeEnvironmentMembershipsInput, i1 func(*cloud9.DescribeEnvironmentMembershipsOutput, bool) bool) (r0 error)

func (*Cloud9Double) DescribeEnvironmentMembershipsPagesWithContext

func (d *Cloud9Double) DescribeEnvironmentMembershipsPagesWithContext(i0 context.Context, i1 *cloud9.DescribeEnvironmentMembershipsInput, i2 func(*cloud9.DescribeEnvironmentMembershipsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*Cloud9Double) DescribeEnvironmentStatus

func (*Cloud9Double) DescribeEnvironmentStatusRequest

func (d *Cloud9Double) DescribeEnvironmentStatusRequest(i0 *cloud9.DescribeEnvironmentStatusInput) (r0 *request.Request, r1 *cloud9.DescribeEnvironmentStatusOutput)

func (*Cloud9Double) DescribeEnvironmentStatusWithContext

func (d *Cloud9Double) DescribeEnvironmentStatusWithContext(i0 context.Context, i1 *cloud9.DescribeEnvironmentStatusInput, i2 ...request.Option) (r0 *cloud9.DescribeEnvironmentStatusOutput, r1 error)

func (*Cloud9Double) DescribeEnvironments

func (*Cloud9Double) DescribeEnvironmentsRequest

func (d *Cloud9Double) DescribeEnvironmentsRequest(i0 *cloud9.DescribeEnvironmentsInput) (r0 *request.Request, r1 *cloud9.DescribeEnvironmentsOutput)

func (*Cloud9Double) DescribeEnvironmentsWithContext

func (d *Cloud9Double) DescribeEnvironmentsWithContext(i0 context.Context, i1 *cloud9.DescribeEnvironmentsInput, i2 ...request.Option) (r0 *cloud9.DescribeEnvironmentsOutput, r1 error)

func (*Cloud9Double) ListEnvironments

func (d *Cloud9Double) ListEnvironments(i0 *cloud9.ListEnvironmentsInput) (r0 *cloud9.ListEnvironmentsOutput, r1 error)

func (*Cloud9Double) ListEnvironmentsPages

func (d *Cloud9Double) ListEnvironmentsPages(i0 *cloud9.ListEnvironmentsInput, i1 func(*cloud9.ListEnvironmentsOutput, bool) bool) (r0 error)

func (*Cloud9Double) ListEnvironmentsPagesWithContext

func (d *Cloud9Double) ListEnvironmentsPagesWithContext(i0 context.Context, i1 *cloud9.ListEnvironmentsInput, i2 func(*cloud9.ListEnvironmentsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*Cloud9Double) ListEnvironmentsRequest

func (d *Cloud9Double) ListEnvironmentsRequest(i0 *cloud9.ListEnvironmentsInput) (r0 *request.Request, r1 *cloud9.ListEnvironmentsOutput)

func (*Cloud9Double) ListEnvironmentsWithContext

func (d *Cloud9Double) ListEnvironmentsWithContext(i0 context.Context, i1 *cloud9.ListEnvironmentsInput, i2 ...request.Option) (r0 *cloud9.ListEnvironmentsOutput, r1 error)

func (*Cloud9Double) UpdateEnvironment

func (d *Cloud9Double) UpdateEnvironment(i0 *cloud9.UpdateEnvironmentInput) (r0 *cloud9.UpdateEnvironmentOutput, r1 error)

func (*Cloud9Double) UpdateEnvironmentMembership

func (*Cloud9Double) UpdateEnvironmentMembershipWithContext

func (d *Cloud9Double) UpdateEnvironmentMembershipWithContext(i0 context.Context, i1 *cloud9.UpdateEnvironmentMembershipInput, i2 ...request.Option) (r0 *cloud9.UpdateEnvironmentMembershipOutput, r1 error)

func (*Cloud9Double) UpdateEnvironmentRequest

func (d *Cloud9Double) UpdateEnvironmentRequest(i0 *cloud9.UpdateEnvironmentInput) (r0 *request.Request, r1 *cloud9.UpdateEnvironmentOutput)

func (*Cloud9Double) UpdateEnvironmentWithContext

func (d *Cloud9Double) UpdateEnvironmentWithContext(i0 context.Context, i1 *cloud9.UpdateEnvironmentInput, i2 ...request.Option) (r0 *cloud9.UpdateEnvironmentOutput, r1 error)

Jump to

Keyboard shortcuts

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