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 ec2double contains test double implementation of ec2iface.EC2API

Package ec2double provides a TestDouble implementation of ec2iface.EC2API

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 EC2Double

type EC2Double struct {
	ec2iface.EC2API
	*awsdouble.AWSTestDouble
}

    EC2Double is TestDouble for ec2iface.EC2API

    func NewDouble

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

      Constructor for EC2Double 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 (*EC2Double) AcceptVpcEndpointConnections

      func (d *EC2Double) AcceptVpcEndpointConnections(i0 *ec2.AcceptVpcEndpointConnectionsInput) (r0 *ec2.AcceptVpcEndpointConnectionsOutput, r1 error)

      func (*EC2Double) AcceptVpcEndpointConnectionsRequest

      func (d *EC2Double) AcceptVpcEndpointConnectionsRequest(i0 *ec2.AcceptVpcEndpointConnectionsInput) (r0 *request.Request, r1 *ec2.AcceptVpcEndpointConnectionsOutput)

      func (*EC2Double) AcceptVpcEndpointConnectionsWithContext

      func (d *EC2Double) AcceptVpcEndpointConnectionsWithContext(i0 context.Context, i1 *ec2.AcceptVpcEndpointConnectionsInput, i2 ...request.Option) (r0 *ec2.AcceptVpcEndpointConnectionsOutput, r1 error)

      func (*EC2Double) AcceptVpcPeeringConnection

      func (d *EC2Double) AcceptVpcPeeringConnection(i0 *ec2.AcceptVpcPeeringConnectionInput) (r0 *ec2.AcceptVpcPeeringConnectionOutput, r1 error)

      func (*EC2Double) AcceptVpcPeeringConnectionRequest

      func (d *EC2Double) AcceptVpcPeeringConnectionRequest(i0 *ec2.AcceptVpcPeeringConnectionInput) (r0 *request.Request, r1 *ec2.AcceptVpcPeeringConnectionOutput)

      func (*EC2Double) AcceptVpcPeeringConnectionWithContext

      func (d *EC2Double) AcceptVpcPeeringConnectionWithContext(i0 context.Context, i1 *ec2.AcceptVpcPeeringConnectionInput, i2 ...request.Option) (r0 *ec2.AcceptVpcPeeringConnectionOutput, r1 error)

      func (*EC2Double) AdvertiseByoipCidr

      func (d *EC2Double) AdvertiseByoipCidr(i0 *ec2.AdvertiseByoipCidrInput) (r0 *ec2.AdvertiseByoipCidrOutput, r1 error)

      func (*EC2Double) AdvertiseByoipCidrRequest

      func (d *EC2Double) AdvertiseByoipCidrRequest(i0 *ec2.AdvertiseByoipCidrInput) (r0 *request.Request, r1 *ec2.AdvertiseByoipCidrOutput)

      func (*EC2Double) AdvertiseByoipCidrWithContext

      func (d *EC2Double) AdvertiseByoipCidrWithContext(i0 context.Context, i1 *ec2.AdvertiseByoipCidrInput, i2 ...request.Option) (r0 *ec2.AdvertiseByoipCidrOutput, r1 error)

      func (*EC2Double) AllocateAddress

      func (d *EC2Double) AllocateAddress(i0 *ec2.AllocateAddressInput) (r0 *ec2.AllocateAddressOutput, r1 error)

      func (*EC2Double) AllocateAddressRequest

      func (d *EC2Double) AllocateAddressRequest(i0 *ec2.AllocateAddressInput) (r0 *request.Request, r1 *ec2.AllocateAddressOutput)

      func (*EC2Double) AllocateAddressWithContext

      func (d *EC2Double) AllocateAddressWithContext(i0 context.Context, i1 *ec2.AllocateAddressInput, i2 ...request.Option) (r0 *ec2.AllocateAddressOutput, r1 error)

      func (*EC2Double) AllocateHosts

      func (d *EC2Double) AllocateHosts(i0 *ec2.AllocateHostsInput) (r0 *ec2.AllocateHostsOutput, r1 error)

      func (*EC2Double) AllocateHostsRequest

      func (d *EC2Double) AllocateHostsRequest(i0 *ec2.AllocateHostsInput) (r0 *request.Request, r1 *ec2.AllocateHostsOutput)

      func (*EC2Double) AllocateHostsWithContext

      func (d *EC2Double) AllocateHostsWithContext(i0 context.Context, i1 *ec2.AllocateHostsInput, i2 ...request.Option) (r0 *ec2.AllocateHostsOutput, r1 error)