migrationhubdouble

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 migrationhubdouble contains test double implementation of migrationhubiface.MigrationHubAPI

Package migrationhubdouble provides a TestDouble implementation of migrationhubiface.MigrationHubAPI

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 MigrationHubDouble

type MigrationHubDouble struct {
	migrationhubiface.MigrationHubAPI
	*awsdouble.AWSTestDouble
}

MigrationHubDouble is TestDouble for migrationhubiface.MigrationHubAPI

func NewDouble

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

Constructor for MigrationHubDouble 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 (*MigrationHubDouble) DescribeMigrationTask

func (*MigrationHubDouble) DescribeMigrationTaskWithContext

func (*MigrationHubDouble) ImportMigrationTask

func (*MigrationHubDouble) ImportMigrationTaskRequest

func (*MigrationHubDouble) ImportMigrationTaskWithContext

func (*MigrationHubDouble) ListApplicationStates

func (*MigrationHubDouble) ListApplicationStatesPages

func (*MigrationHubDouble) ListApplicationStatesPagesWithContext

func (d *MigrationHubDouble) ListApplicationStatesPagesWithContext(i0 context.Context, i1 *migrationhub.ListApplicationStatesInput, i2 func(*migrationhub.ListApplicationStatesOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*MigrationHubDouble) ListApplicationStatesWithContext

func (*MigrationHubDouble) ListCreatedArtifacts

func (*MigrationHubDouble) ListCreatedArtifactsPages

func (*MigrationHubDouble) ListCreatedArtifactsPagesWithContext

func (d *MigrationHubDouble) ListCreatedArtifactsPagesWithContext(i0 context.Context, i1 *migrationhub.ListCreatedArtifactsInput, i2 func(*migrationhub.ListCreatedArtifactsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*MigrationHubDouble) ListCreatedArtifactsRequest

func (*MigrationHubDouble) ListCreatedArtifactsWithContext

func (*MigrationHubDouble) ListDiscoveredResourcesPages

func (*MigrationHubDouble) ListDiscoveredResourcesPagesWithContext

func (d *MigrationHubDouble) ListDiscoveredResourcesPagesWithContext(i0 context.Context, i1 *migrationhub.ListDiscoveredResourcesInput, i2 func(*migrationhub.ListDiscoveredResourcesOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*MigrationHubDouble) ListMigrationTasks

func (*MigrationHubDouble) ListMigrationTasksPages

func (*MigrationHubDouble) ListMigrationTasksPagesWithContext

func (d *MigrationHubDouble) ListMigrationTasksPagesWithContext(i0 context.Context, i1 *migrationhub.ListMigrationTasksInput, i2 func(*migrationhub.ListMigrationTasksOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*MigrationHubDouble) ListMigrationTasksRequest

func (*MigrationHubDouble) ListMigrationTasksWithContext

func (*MigrationHubDouble) ListProgressUpdateStreamsPages

func (*MigrationHubDouble) ListProgressUpdateStreamsPagesWithContext

func (d *MigrationHubDouble) ListProgressUpdateStreamsPagesWithContext(i0 context.Context, i1 *migrationhub.ListProgressUpdateStreamsInput, i2 func(*migrationhub.ListProgressUpdateStreamsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*MigrationHubDouble) NotifyApplicationState

func (*MigrationHubDouble) NotifyApplicationStateWithContext

func (*MigrationHubDouble) PutResourceAttributes

func (*MigrationHubDouble) PutResourceAttributesWithContext

Jump to

Keyboard shortcuts

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