opsworkscmdouble

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: 8 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 opsworkscmdouble contains test double implementation of opsworkscmiface.OpsWorksCMAPI

Package opsworkscmdouble provides a TestDouble implementation of opsworkscmiface.OpsWorksCMAPI

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 OpsWorksCMDouble

type OpsWorksCMDouble struct {
	opsworkscmiface.OpsWorksCMAPI
	*awsdouble.AWSTestDouble
}

OpsWorksCMDouble is TestDouble for opsworkscmiface.OpsWorksCMAPI

func NewDouble

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

Constructor for OpsWorksCMDouble 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 (*OpsWorksCMDouble) AssociateNode

func (*OpsWorksCMDouble) AssociateNodeRequest

func (*OpsWorksCMDouble) AssociateNodeWithContext

func (d *OpsWorksCMDouble) AssociateNodeWithContext(i0 context.Context, i1 *opsworkscm.AssociateNodeInput, i2 ...request.Option) (r0 *opsworkscm.AssociateNodeOutput, r1 error)

func (*OpsWorksCMDouble) CreateBackup

func (*OpsWorksCMDouble) CreateBackupRequest

func (*OpsWorksCMDouble) CreateBackupWithContext

func (d *OpsWorksCMDouble) CreateBackupWithContext(i0 context.Context, i1 *opsworkscm.CreateBackupInput, i2 ...request.Option) (r0 *opsworkscm.CreateBackupOutput, r1 error)

func (*OpsWorksCMDouble) CreateServer

func (*OpsWorksCMDouble) CreateServerRequest

func (*OpsWorksCMDouble) CreateServerWithContext

func (d *OpsWorksCMDouble) CreateServerWithContext(i0 context.Context, i1 *opsworkscm.CreateServerInput, i2 ...request.Option) (r0 *opsworkscm.CreateServerOutput, r1 error)

func (*OpsWorksCMDouble) DeleteBackup

func (*OpsWorksCMDouble) DeleteBackupRequest

func (*OpsWorksCMDouble) DeleteBackupWithContext

func (d *OpsWorksCMDouble) DeleteBackupWithContext(i0 context.Context, i1 *opsworkscm.DeleteBackupInput, i2 ...request.Option) (r0 *opsworkscm.DeleteBackupOutput, r1 error)

func (*OpsWorksCMDouble) DeleteServer

func (*OpsWorksCMDouble) DeleteServerRequest

func (*OpsWorksCMDouble) DeleteServerWithContext

func (d *OpsWorksCMDouble) DeleteServerWithContext(i0 context.Context, i1 *opsworkscm.DeleteServerInput, i2 ...request.Option) (r0 *opsworkscm.DeleteServerOutput, r1 error)

func (*OpsWorksCMDouble) DescribeBackups

func (*OpsWorksCMDouble) DescribeBackupsRequest

func (*OpsWorksCMDouble) DescribeBackupsWithContext

func (d *OpsWorksCMDouble) DescribeBackupsWithContext(i0 context.Context, i1 *opsworkscm.DescribeBackupsInput, i2 ...request.Option) (r0 *opsworkscm.DescribeBackupsOutput, r1 error)

func (*OpsWorksCMDouble) DescribeEvents

func (*OpsWorksCMDouble) DescribeEventsRequest

func (*OpsWorksCMDouble) DescribeEventsWithContext

func (d *OpsWorksCMDouble) DescribeEventsWithContext(i0 context.Context, i1 *opsworkscm.DescribeEventsInput, i2 ...request.Option) (r0 *opsworkscm.DescribeEventsOutput, r1 error)

func (*OpsWorksCMDouble) DescribeServers

func (*OpsWorksCMDouble) DescribeServersRequest

func (*OpsWorksCMDouble) DescribeServersWithContext

func (d *OpsWorksCMDouble) DescribeServersWithContext(i0 context.Context, i1 *opsworkscm.DescribeServersInput, i2 ...request.Option) (r0 *opsworkscm.DescribeServersOutput, r1 error)

func (*OpsWorksCMDouble) DisassociateNode

func (*OpsWorksCMDouble) DisassociateNodeRequest

func (*OpsWorksCMDouble) DisassociateNodeWithContext

func (d *OpsWorksCMDouble) DisassociateNodeWithContext(i0 context.Context, i1 *opsworkscm.DisassociateNodeInput, i2 ...request.Option) (r0 *opsworkscm.DisassociateNodeOutput, r1 error)

func (*OpsWorksCMDouble) ListTagsForResource

func (*OpsWorksCMDouble) ListTagsForResourceRequest

func (*OpsWorksCMDouble) ListTagsForResourceWithContext

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

func (*OpsWorksCMDouble) RestoreServer

func (*OpsWorksCMDouble) RestoreServerRequest

func (*OpsWorksCMDouble) RestoreServerWithContext

func (d *OpsWorksCMDouble) RestoreServerWithContext(i0 context.Context, i1 *opsworkscm.RestoreServerInput, i2 ...request.Option) (r0 *opsworkscm.RestoreServerOutput, r1 error)

func (*OpsWorksCMDouble) StartMaintenance

func (*OpsWorksCMDouble) StartMaintenanceRequest

func (*OpsWorksCMDouble) StartMaintenanceWithContext

func (d *OpsWorksCMDouble) StartMaintenanceWithContext(i0 context.Context, i1 *opsworkscm.StartMaintenanceInput, i2 ...request.Option) (r0 *opsworkscm.StartMaintenanceOutput, r1 error)

func (*OpsWorksCMDouble) TagResource

func (*OpsWorksCMDouble) TagResourceRequest

func (*OpsWorksCMDouble) TagResourceWithContext

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

func (*OpsWorksCMDouble) UntagResource

func (*OpsWorksCMDouble) UntagResourceRequest

func (*OpsWorksCMDouble) UntagResourceWithContext

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

func (*OpsWorksCMDouble) UpdateServer

func (*OpsWorksCMDouble) UpdateServerRequest

func (*OpsWorksCMDouble) UpdateServerWithContext

func (d *OpsWorksCMDouble) UpdateServerWithContext(i0 context.Context, i1 *opsworkscm.UpdateServerInput, i2 ...request.Option) (r0 *opsworkscm.UpdateServerOutput, r1 error)

func (*OpsWorksCMDouble) WaitUntilNodeAssociated

func (d *OpsWorksCMDouble) WaitUntilNodeAssociated(i0 *opsworkscm.DescribeNodeAssociationStatusInput) (r0 error)

func (*OpsWorksCMDouble) WaitUntilNodeAssociatedWithContext

func (d *OpsWorksCMDouble) WaitUntilNodeAssociatedWithContext(i0 context.Context, i1 *opsworkscm.DescribeNodeAssociationStatusInput, i2 ...request.WaiterOption) (r0 error)

Jump to

Keyboard shortcuts

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