directconnectdouble

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 directconnectdouble contains test double implementation of directconnectiface.DirectConnectAPI

Package directconnectdouble provides a TestDouble implementation of directconnectiface.DirectConnectAPI

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 DirectConnectDouble

type DirectConnectDouble struct {
	directconnectiface.DirectConnectAPI
	*awsdouble.AWSTestDouble
}

DirectConnectDouble is TestDouble for directconnectiface.DirectConnectAPI

func NewDouble

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

Constructor for DirectConnectDouble 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 (*DirectConnectDouble) AllocateConnectionOnInterconnect

func (d *DirectConnectDouble) AllocateConnectionOnInterconnect(i0 *directconnect.AllocateConnectionOnInterconnectInput) (r0 *directconnect.Connection, r1 error)

func (*DirectConnectDouble) AllocateConnectionOnInterconnectRequest

func (d *DirectConnectDouble) AllocateConnectionOnInterconnectRequest(i0 *directconnect.AllocateConnectionOnInterconnectInput) (r0 *request.Request, r1 *directconnect.Connection)

func (*DirectConnectDouble) AllocateConnectionOnInterconnectWithContext

func (d *DirectConnectDouble) AllocateConnectionOnInterconnectWithContext(i0 context.Context, i1 *directconnect.AllocateConnectionOnInterconnectInput, i2 ...request.Option) (r0 *directconnect.Connection, r1 error)

func (*DirectConnectDouble) AllocateHostedConnection

func (*DirectConnectDouble) AllocateHostedConnectionRequest

func (d *DirectConnectDouble) AllocateHostedConnectionRequest(i0 *directconnect.AllocateHostedConnectionInput) (r0 *request.Request, r1 *directconnect.Connection)

func (*DirectConnectDouble) AllocateHostedConnectionWithContext

func (d *DirectConnectDouble) AllocateHostedConnectionWithContext(i0 context.Context, i1 *directconnect.AllocateHostedConnectionInput, i2 ...request.Option) (r0 *directconnect.Connection, r1 error)

func (*DirectConnectDouble) AllocatePrivateVirtualInterface

func (*DirectConnectDouble) AllocatePrivateVirtualInterfaceRequest

func (*DirectConnectDouble) AllocatePrivateVirtualInterfaceWithContext

func (d *DirectConnectDouble) AllocatePrivateVirtualInterfaceWithContext(i0 context.Context, i1 *directconnect.AllocatePrivateVirtualInterfaceInput, i2 ...request.Option) (r0 *directconnect.VirtualInterface, r1 error)

func (*DirectConnectDouble) AllocatePublicVirtualInterface

func (*DirectConnectDouble) AllocatePublicVirtualInterfaceRequest

func (*DirectConnectDouble) AllocatePublicVirtualInterfaceWithContext

func (d *DirectConnectDouble) AllocatePublicVirtualInterfaceWithContext(i0 context.Context, i1 *directconnect.AllocatePublicVirtualInterfaceInput, i2 ...request.Option) (r0 *directconnect.VirtualInterface, r1 error)

func (*DirectConnectDouble) AssociateConnectionWithLag

func (*DirectConnectDouble) AssociateConnectionWithLagRequest

func (d *DirectConnectDouble) AssociateConnectionWithLagRequest(i0 *directconnect.AssociateConnectionWithLagInput) (r0 *request.Request, r1 *directconnect.Connection)

func (*DirectConnectDouble) AssociateConnectionWithLagWithContext

func (d *DirectConnectDouble) AssociateConnectionWithLagWithContext(i0 context.Context, i1 *directconnect.AssociateConnectionWithLagInput, i2 ...request.Option) (r0 *directconnect.Connection, r1 error)

func (*DirectConnectDouble) AssociateHostedConnection

func (*DirectConnectDouble) AssociateHostedConnectionRequest

func (d *DirectConnectDouble) AssociateHostedConnectionRequest(i0 *directconnect.AssociateHostedConnectionInput) (r0 *request.Request, r1 *directconnect.Connection)

func (*DirectConnectDouble) AssociateHostedConnectionWithContext

func (d *DirectConnectDouble) AssociateHostedConnectionWithContext(i0 context.Context, i1 *directconnect.AssociateHostedConnectionInput, i2 ...request.Option) (r0 *directconnect.Connection, r1 error)

func (*DirectConnectDouble) AssociateVirtualInterface

func (*DirectConnectDouble) AssociateVirtualInterfaceRequest

func (*DirectConnectDouble) AssociateVirtualInterfaceWithContext

func (d *DirectConnectDouble) AssociateVirtualInterfaceWithContext(i0 context.Context, i1 *directconnect.AssociateVirtualInterfaceInput, i2 ...request.Option) (r0 *directconnect.VirtualInterface, r1 error)

func (*DirectConnectDouble) ConfirmConnection

func (*DirectConnectDouble) ConfirmConnectionRequest

func (*DirectConnectDouble) ConfirmConnectionWithContext

func (*DirectConnectDouble) CreateBGPPeer

func (*DirectConnectDouble) CreateBGPPeerRequest

func (*DirectConnectDouble) CreateBGPPeerWithContext

func (*DirectConnectDouble) CreateConnection

func (*DirectConnectDouble) CreateConnectionRequest

func (*DirectConnectDouble) CreateConnectionWithContext

func (d *DirectConnectDouble) CreateConnectionWithContext(i0 context.Context, i1 *directconnect.CreateConnectionInput, i2 ...request.Option) (r0 *directconnect.Connection, r1 error)

func (*DirectConnectDouble) CreateInterconnect

func (*DirectConnectDouble) CreateInterconnectRequest

func (*DirectConnectDouble) CreateInterconnectWithContext

func (d *DirectConnectDouble) CreateInterconnectWithContext(i0 context.Context, i1 *directconnect.CreateInterconnectInput, i2 ...request.Option) (r0 *directconnect.Interconnect, r1 error)

func (*DirectConnectDouble) CreateLag

func (*DirectConnectDouble) CreateLagRequest

func (d *DirectConnectDouble) CreateLagRequest(i0 *directconnect.CreateLagInput) (r0 *request.Request, r1 *directconnect.Lag)

func (*DirectConnectDouble) CreateLagWithContext

func (d *DirectConnectDouble) CreateLagWithContext(i0 context.Context, i1 *directconnect.CreateLagInput, i2 ...request.Option) (r0 *directconnect.Lag, r1 error)

func (*DirectConnectDouble) CreatePrivateVirtualInterface

func (*DirectConnectDouble) CreatePrivateVirtualInterfaceRequest

func (*DirectConnectDouble) CreatePrivateVirtualInterfaceWithContext

func (d *DirectConnectDouble) CreatePrivateVirtualInterfaceWithContext(i0 context.Context, i1 *directconnect.CreatePrivateVirtualInterfaceInput, i2 ...request.Option) (r0 *directconnect.VirtualInterface, r1 error)

func (*DirectConnectDouble) CreatePublicVirtualInterface

func (*DirectConnectDouble) CreatePublicVirtualInterfaceRequest

func (*DirectConnectDouble) CreatePublicVirtualInterfaceWithContext

func (d *DirectConnectDouble) CreatePublicVirtualInterfaceWithContext(i0 context.Context, i1 *directconnect.CreatePublicVirtualInterfaceInput, i2 ...request.Option) (r0 *directconnect.VirtualInterface, r1 error)

func (*DirectConnectDouble) DeleteBGPPeer

func (*DirectConnectDouble) DeleteBGPPeerRequest

func (*DirectConnectDouble) DeleteBGPPeerWithContext

func (*DirectConnectDouble) DeleteConnection

func (*DirectConnectDouble) DeleteConnectionRequest

func (*DirectConnectDouble) DeleteConnectionWithContext

func (d *DirectConnectDouble) DeleteConnectionWithContext(i0 context.Context, i1 *directconnect.DeleteConnectionInput, i2 ...request.Option) (r0 *directconnect.Connection, r1 error)

func (*DirectConnectDouble) DeleteInterconnect

func (*DirectConnectDouble) DeleteInterconnectRequest

func (*DirectConnectDouble) DeleteInterconnectWithContext

func (*DirectConnectDouble) DeleteLag

func (*DirectConnectDouble) DeleteLagRequest

func (d *DirectConnectDouble) DeleteLagRequest(i0 *directconnect.DeleteLagInput) (r0 *request.Request, r1 *directconnect.Lag)

func (*DirectConnectDouble) DeleteLagWithContext

func (d *DirectConnectDouble) DeleteLagWithContext(i0 context.Context, i1 *directconnect.DeleteLagInput, i2 ...request.Option) (r0 *directconnect.Lag, r1 error)

func (*DirectConnectDouble) DescribeConnectionLoa

func (*DirectConnectDouble) DescribeConnectionLoaWithContext

func (*DirectConnectDouble) DescribeConnections

func (*DirectConnectDouble) DescribeConnectionsOnInterconnect

func (d *DirectConnectDouble) DescribeConnectionsOnInterconnect(i0 *directconnect.DescribeConnectionsOnInterconnectInput) (r0 *directconnect.Connections, r1 error)

func (*DirectConnectDouble) DescribeConnectionsOnInterconnectRequest

func (d *DirectConnectDouble) DescribeConnectionsOnInterconnectRequest(i0 *directconnect.DescribeConnectionsOnInterconnectInput) (r0 *request.Request, r1 *directconnect.Connections)

func (*DirectConnectDouble) DescribeConnectionsOnInterconnectWithContext

func (d *DirectConnectDouble) DescribeConnectionsOnInterconnectWithContext(i0 context.Context, i1 *directconnect.DescribeConnectionsOnInterconnectInput, i2 ...request.Option) (r0 *directconnect.Connections, r1 error)

func (*DirectConnectDouble) DescribeConnectionsRequest

func (*DirectConnectDouble) DescribeConnectionsWithContext

func (d *DirectConnectDouble) DescribeConnectionsWithContext(i0 context.Context, i1 *directconnect.DescribeConnectionsInput, i2 ...request.Option) (r0 *directconnect.Connections, r1 error)

func (*DirectConnectDouble) DescribeHostedConnections

func (*DirectConnectDouble) DescribeHostedConnectionsRequest

func (d *DirectConnectDouble) DescribeHostedConnectionsRequest(i0 *directconnect.DescribeHostedConnectionsInput) (r0 *request.Request, r1 *directconnect.Connections)

func (*DirectConnectDouble) DescribeHostedConnectionsWithContext

func (d *DirectConnectDouble) DescribeHostedConnectionsWithContext(i0 context.Context, i1 *directconnect.DescribeHostedConnectionsInput, i2 ...request.Option) (r0 *directconnect.Connections, r1 error)

func (*DirectConnectDouble) DescribeInterconnects

func (*DirectConnectDouble) DescribeInterconnectsWithContext

func (*DirectConnectDouble) DescribeLags

func (*DirectConnectDouble) DescribeLagsRequest

func (*DirectConnectDouble) DescribeLagsWithContext

func (*DirectConnectDouble) DescribeLoa

func (*DirectConnectDouble) DescribeLoaRequest

func (d *DirectConnectDouble) DescribeLoaRequest(i0 *directconnect.DescribeLoaInput) (r0 *request.Request, r1 *directconnect.Loa)

func (*DirectConnectDouble) DescribeLoaWithContext

func (d *DirectConnectDouble) DescribeLoaWithContext(i0 context.Context, i1 *directconnect.DescribeLoaInput, i2 ...request.Option) (r0 *directconnect.Loa, r1 error)

func (*DirectConnectDouble) DescribeLocations

func (*DirectConnectDouble) DescribeLocationsRequest

func (*DirectConnectDouble) DescribeLocationsWithContext

func (*DirectConnectDouble) DescribeTags

func (*DirectConnectDouble) DescribeTagsRequest

func (*DirectConnectDouble) DescribeTagsWithContext

func (*DirectConnectDouble) DisassociateConnectionFromLag

func (*DirectConnectDouble) DisassociateConnectionFromLagRequest

func (d *DirectConnectDouble) DisassociateConnectionFromLagRequest(i0 *directconnect.DisassociateConnectionFromLagInput) (r0 *request.Request, r1 *directconnect.Connection)

func (*DirectConnectDouble) DisassociateConnectionFromLagWithContext

func (d *DirectConnectDouble) DisassociateConnectionFromLagWithContext(i0 context.Context, i1 *directconnect.DisassociateConnectionFromLagInput, i2 ...request.Option) (r0 *directconnect.Connection, r1 error)

func (*DirectConnectDouble) TagResource

func (*DirectConnectDouble) TagResourceRequest

func (*DirectConnectDouble) TagResourceWithContext

func (*DirectConnectDouble) UntagResource

func (*DirectConnectDouble) UntagResourceRequest

func (*DirectConnectDouble) UntagResourceWithContext

func (*DirectConnectDouble) UpdateLag

func (*DirectConnectDouble) UpdateLagRequest

func (d *DirectConnectDouble) UpdateLagRequest(i0 *directconnect.UpdateLagInput) (r0 *request.Request, r1 *directconnect.Lag)

func (*DirectConnectDouble) UpdateLagWithContext

func (d *DirectConnectDouble) UpdateLagWithContext(i0 context.Context, i1 *directconnect.UpdateLagInput, i2 ...request.Option) (r0 *directconnect.Lag, r1 error)

Jump to

Keyboard shortcuts

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