servicediscoverydouble

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 servicediscoverydouble contains test double implementation of servicediscoveryiface.ServiceDiscoveryAPI

Package servicediscoverydouble provides a TestDouble implementation of servicediscoveryiface.ServiceDiscoveryAPI

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 ServiceDiscoveryDouble

type ServiceDiscoveryDouble struct {
	servicediscoveryiface.ServiceDiscoveryAPI
	*awsdouble.AWSTestDouble
}

ServiceDiscoveryDouble is TestDouble for servicediscoveryiface.ServiceDiscoveryAPI

func NewDouble

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

Constructor for ServiceDiscoveryDouble 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 (*ServiceDiscoveryDouble) CreateService

func (*ServiceDiscoveryDouble) CreateServiceRequest

func (*ServiceDiscoveryDouble) CreateServiceWithContext

func (*ServiceDiscoveryDouble) DeleteNamespace

func (*ServiceDiscoveryDouble) DeleteNamespaceRequest

func (*ServiceDiscoveryDouble) DeleteNamespaceWithContext

func (*ServiceDiscoveryDouble) DeleteService

func (*ServiceDiscoveryDouble) DeleteServiceRequest

func (*ServiceDiscoveryDouble) DeleteServiceWithContext

func (*ServiceDiscoveryDouble) DeregisterInstance

func (*ServiceDiscoveryDouble) DeregisterInstanceWithContext

func (*ServiceDiscoveryDouble) DiscoverInstances

func (*ServiceDiscoveryDouble) DiscoverInstancesWithContext

func (*ServiceDiscoveryDouble) GetInstance

func (*ServiceDiscoveryDouble) GetInstanceRequest

func (*ServiceDiscoveryDouble) GetInstanceWithContext

func (*ServiceDiscoveryDouble) GetInstancesHealthStatusPagesWithContext

func (*ServiceDiscoveryDouble) GetNamespace

func (*ServiceDiscoveryDouble) GetNamespaceRequest

func (*ServiceDiscoveryDouble) GetNamespaceWithContext

func (*ServiceDiscoveryDouble) GetOperation

func (*ServiceDiscoveryDouble) GetOperationRequest

func (*ServiceDiscoveryDouble) GetOperationWithContext

func (*ServiceDiscoveryDouble) GetService

func (*ServiceDiscoveryDouble) GetServiceRequest

func (*ServiceDiscoveryDouble) GetServiceWithContext

func (*ServiceDiscoveryDouble) ListInstances

func (*ServiceDiscoveryDouble) ListInstancesPages

func (*ServiceDiscoveryDouble) ListInstancesPagesWithContext

func (*ServiceDiscoveryDouble) ListInstancesRequest

func (*ServiceDiscoveryDouble) ListInstancesWithContext

func (*ServiceDiscoveryDouble) ListNamespaces

func (*ServiceDiscoveryDouble) ListNamespacesPages

func (*ServiceDiscoveryDouble) ListNamespacesPagesWithContext

func (*ServiceDiscoveryDouble) ListNamespacesRequest

func (*ServiceDiscoveryDouble) ListNamespacesWithContext

func (*ServiceDiscoveryDouble) ListOperations

func (*ServiceDiscoveryDouble) ListOperationsPages

func (*ServiceDiscoveryDouble) ListOperationsPagesWithContext

func (*ServiceDiscoveryDouble) ListOperationsRequest

func (*ServiceDiscoveryDouble) ListOperationsWithContext

func (*ServiceDiscoveryDouble) ListServices

func (*ServiceDiscoveryDouble) ListServicesPages

func (*ServiceDiscoveryDouble) ListServicesPagesWithContext

func (*ServiceDiscoveryDouble) ListServicesRequest

func (*ServiceDiscoveryDouble) ListServicesWithContext

func (*ServiceDiscoveryDouble) RegisterInstance

func (*ServiceDiscoveryDouble) RegisterInstanceRequest

func (*ServiceDiscoveryDouble) RegisterInstanceWithContext

func (*ServiceDiscoveryDouble) UpdateService

func (*ServiceDiscoveryDouble) UpdateServiceRequest

func (*ServiceDiscoveryDouble) UpdateServiceWithContext

Jump to

Keyboard shortcuts

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