worklinkdouble

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 worklinkdouble contains test double implementation of worklinkiface.WorkLinkAPI

Package worklinkdouble provides a TestDouble implementation of worklinkiface.WorkLinkAPI

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 WorkLinkDouble

type WorkLinkDouble struct {
	worklinkiface.WorkLinkAPI
	*awsdouble.AWSTestDouble
}

WorkLinkDouble is TestDouble for worklinkiface.WorkLinkAPI

func NewDouble

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

Constructor for WorkLinkDouble 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 (*WorkLinkDouble) AssociateDomain

func (*WorkLinkDouble) AssociateDomainRequest

func (d *WorkLinkDouble) AssociateDomainRequest(i0 *worklink.AssociateDomainInput) (r0 *request.Request, r1 *worklink.AssociateDomainOutput)

func (*WorkLinkDouble) AssociateDomainWithContext

func (d *WorkLinkDouble) AssociateDomainWithContext(i0 context.Context, i1 *worklink.AssociateDomainInput, i2 ...request.Option) (r0 *worklink.AssociateDomainOutput, r1 error)

func (*WorkLinkDouble) CreateFleet

func (*WorkLinkDouble) CreateFleetRequest

func (d *WorkLinkDouble) CreateFleetRequest(i0 *worklink.CreateFleetInput) (r0 *request.Request, r1 *worklink.CreateFleetOutput)

func (*WorkLinkDouble) CreateFleetWithContext

func (d *WorkLinkDouble) CreateFleetWithContext(i0 context.Context, i1 *worklink.CreateFleetInput, i2 ...request.Option) (r0 *worklink.CreateFleetOutput, r1 error)

func (*WorkLinkDouble) DeleteFleet

func (*WorkLinkDouble) DeleteFleetRequest

func (d *WorkLinkDouble) DeleteFleetRequest(i0 *worklink.DeleteFleetInput) (r0 *request.Request, r1 *worklink.DeleteFleetOutput)

func (*WorkLinkDouble) DeleteFleetWithContext

func (d *WorkLinkDouble) DeleteFleetWithContext(i0 context.Context, i1 *worklink.DeleteFleetInput, i2 ...request.Option) (r0 *worklink.DeleteFleetOutput, r1 error)

func (*WorkLinkDouble) DescribeDevice

func (*WorkLinkDouble) DescribeDeviceRequest

func (d *WorkLinkDouble) DescribeDeviceRequest(i0 *worklink.DescribeDeviceInput) (r0 *request.Request, r1 *worklink.DescribeDeviceOutput)

func (*WorkLinkDouble) DescribeDeviceWithContext

func (d *WorkLinkDouble) DescribeDeviceWithContext(i0 context.Context, i1 *worklink.DescribeDeviceInput, i2 ...request.Option) (r0 *worklink.DescribeDeviceOutput, r1 error)

func (*WorkLinkDouble) DescribeDomain

func (*WorkLinkDouble) DescribeDomainRequest

func (d *WorkLinkDouble) DescribeDomainRequest(i0 *worklink.DescribeDomainInput) (r0 *request.Request, r1 *worklink.DescribeDomainOutput)

func (*WorkLinkDouble) DescribeDomainWithContext

func (d *WorkLinkDouble) DescribeDomainWithContext(i0 context.Context, i1 *worklink.DescribeDomainInput, i2 ...request.Option) (r0 *worklink.DescribeDomainOutput, r1 error)

func (*WorkLinkDouble) DescribeFleetMetadata

func (*WorkLinkDouble) DescribeFleetMetadataRequest

func (*WorkLinkDouble) DescribeFleetMetadataWithContext

func (d *WorkLinkDouble) DescribeFleetMetadataWithContext(i0 context.Context, i1 *worklink.DescribeFleetMetadataInput, i2 ...request.Option) (r0 *worklink.DescribeFleetMetadataOutput, r1 error)

func (*WorkLinkDouble) DisassociateDomain

func (*WorkLinkDouble) DisassociateDomainRequest

func (*WorkLinkDouble) DisassociateDomainWithContext

func (d *WorkLinkDouble) DisassociateDomainWithContext(i0 context.Context, i1 *worklink.DisassociateDomainInput, i2 ...request.Option) (r0 *worklink.DisassociateDomainOutput, r1 error)

func (*WorkLinkDouble) ListDevices

func (*WorkLinkDouble) ListDevicesPages

func (d *WorkLinkDouble) ListDevicesPages(i0 *worklink.ListDevicesInput, i1 func(*worklink.ListDevicesOutput, bool) bool) (r0 error)

func (*WorkLinkDouble) ListDevicesPagesWithContext

func (d *WorkLinkDouble) ListDevicesPagesWithContext(i0 context.Context, i1 *worklink.ListDevicesInput, i2 func(*worklink.ListDevicesOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*WorkLinkDouble) ListDevicesRequest

func (d *WorkLinkDouble) ListDevicesRequest(i0 *worklink.ListDevicesInput) (r0 *request.Request, r1 *worklink.ListDevicesOutput)

func (*WorkLinkDouble) ListDevicesWithContext

func (d *WorkLinkDouble) ListDevicesWithContext(i0 context.Context, i1 *worklink.ListDevicesInput, i2 ...request.Option) (r0 *worklink.ListDevicesOutput, r1 error)

func (*WorkLinkDouble) ListDomains

func (*WorkLinkDouble) ListDomainsPages

func (d *WorkLinkDouble) ListDomainsPages(i0 *worklink.ListDomainsInput, i1 func(*worklink.ListDomainsOutput, bool) bool) (r0 error)

func (*WorkLinkDouble) ListDomainsPagesWithContext

func (d *WorkLinkDouble) ListDomainsPagesWithContext(i0 context.Context, i1 *worklink.ListDomainsInput, i2 func(*worklink.ListDomainsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*WorkLinkDouble) ListDomainsRequest

func (d *WorkLinkDouble) ListDomainsRequest(i0 *worklink.ListDomainsInput) (r0 *request.Request, r1 *worklink.ListDomainsOutput)

func (*WorkLinkDouble) ListDomainsWithContext

func (d *WorkLinkDouble) ListDomainsWithContext(i0 context.Context, i1 *worklink.ListDomainsInput, i2 ...request.Option) (r0 *worklink.ListDomainsOutput, r1 error)

func (*WorkLinkDouble) ListFleets

func (*WorkLinkDouble) ListFleetsPages

func (d *WorkLinkDouble) ListFleetsPages(i0 *worklink.ListFleetsInput, i1 func(*worklink.ListFleetsOutput, bool) bool) (r0 error)

func (*WorkLinkDouble) ListFleetsPagesWithContext

func (d *WorkLinkDouble) ListFleetsPagesWithContext(i0 context.Context, i1 *worklink.ListFleetsInput, i2 func(*worklink.ListFleetsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*WorkLinkDouble) ListFleetsRequest

func (d *WorkLinkDouble) ListFleetsRequest(i0 *worklink.ListFleetsInput) (r0 *request.Request, r1 *worklink.ListFleetsOutput)

func (*WorkLinkDouble) ListFleetsWithContext

func (d *WorkLinkDouble) ListFleetsWithContext(i0 context.Context, i1 *worklink.ListFleetsInput, i2 ...request.Option) (r0 *worklink.ListFleetsOutput, r1 error)

func (*WorkLinkDouble) RestoreDomainAccess

func (*WorkLinkDouble) RestoreDomainAccessRequest

func (*WorkLinkDouble) RestoreDomainAccessWithContext

func (d *WorkLinkDouble) RestoreDomainAccessWithContext(i0 context.Context, i1 *worklink.RestoreDomainAccessInput, i2 ...request.Option) (r0 *worklink.RestoreDomainAccessOutput, r1 error)

func (*WorkLinkDouble) RevokeDomainAccess

func (*WorkLinkDouble) RevokeDomainAccessRequest

func (*WorkLinkDouble) RevokeDomainAccessWithContext

func (d *WorkLinkDouble) RevokeDomainAccessWithContext(i0 context.Context, i1 *worklink.RevokeDomainAccessInput, i2 ...request.Option) (r0 *worklink.RevokeDomainAccessOutput, r1 error)

func (*WorkLinkDouble) SignOutUser

func (*WorkLinkDouble) SignOutUserRequest

func (d *WorkLinkDouble) SignOutUserRequest(i0 *worklink.SignOutUserInput) (r0 *request.Request, r1 *worklink.SignOutUserOutput)

func (*WorkLinkDouble) SignOutUserWithContext

func (d *WorkLinkDouble) SignOutUserWithContext(i0 context.Context, i1 *worklink.SignOutUserInput, i2 ...request.Option) (r0 *worklink.SignOutUserOutput, r1 error)

func (*WorkLinkDouble) UpdateDomainMetadata

func (*WorkLinkDouble) UpdateDomainMetadataRequest

func (*WorkLinkDouble) UpdateDomainMetadataWithContext

func (d *WorkLinkDouble) UpdateDomainMetadataWithContext(i0 context.Context, i1 *worklink.UpdateDomainMetadataInput, i2 ...request.Option) (r0 *worklink.UpdateDomainMetadataOutput, r1 error)

func (*WorkLinkDouble) UpdateFleetMetadata

func (*WorkLinkDouble) UpdateFleetMetadataRequest

func (*WorkLinkDouble) UpdateFleetMetadataWithContext

func (d *WorkLinkDouble) UpdateFleetMetadataWithContext(i0 context.Context, i1 *worklink.UpdateFleetMetadataInput, i2 ...request.Option) (r0 *worklink.UpdateFleetMetadataOutput, r1 error)

Jump to

Keyboard shortcuts

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