supportdouble

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 supportdouble contains test double implementation of supportiface.SupportAPI

Package supportdouble provides a TestDouble implementation of supportiface.SupportAPI

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 SupportDouble

type SupportDouble struct {
	supportiface.SupportAPI
	*awsdouble.AWSTestDouble
}

SupportDouble is TestDouble for supportiface.SupportAPI

func NewDouble

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

Constructor for SupportDouble 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 (*SupportDouble) AddAttachmentsToSet

func (*SupportDouble) AddAttachmentsToSetRequest

func (d *SupportDouble) AddAttachmentsToSetRequest(i0 *support.AddAttachmentsToSetInput) (r0 *request.Request, r1 *support.AddAttachmentsToSetOutput)

func (*SupportDouble) AddAttachmentsToSetWithContext

func (d *SupportDouble) AddAttachmentsToSetWithContext(i0 context.Context, i1 *support.AddAttachmentsToSetInput, i2 ...request.Option) (r0 *support.AddAttachmentsToSetOutput, r1 error)

func (*SupportDouble) AddCommunicationToCase

func (*SupportDouble) AddCommunicationToCaseRequest

func (d *SupportDouble) AddCommunicationToCaseRequest(i0 *support.AddCommunicationToCaseInput) (r0 *request.Request, r1 *support.AddCommunicationToCaseOutput)

func (*SupportDouble) AddCommunicationToCaseWithContext

func (d *SupportDouble) AddCommunicationToCaseWithContext(i0 context.Context, i1 *support.AddCommunicationToCaseInput, i2 ...request.Option) (r0 *support.AddCommunicationToCaseOutput, r1 error)

func (*SupportDouble) CreateCase

func (d *SupportDouble) CreateCase(i0 *support.CreateCaseInput) (r0 *support.CreateCaseOutput, r1 error)

func (*SupportDouble) CreateCaseRequest

func (d *SupportDouble) CreateCaseRequest(i0 *support.CreateCaseInput) (r0 *request.Request, r1 *support.CreateCaseOutput)

func (*SupportDouble) CreateCaseWithContext

func (d *SupportDouble) CreateCaseWithContext(i0 context.Context, i1 *support.CreateCaseInput, i2 ...request.Option) (r0 *support.CreateCaseOutput, r1 error)

func (*SupportDouble) DescribeAttachment

func (*SupportDouble) DescribeAttachmentRequest

func (d *SupportDouble) DescribeAttachmentRequest(i0 *support.DescribeAttachmentInput) (r0 *request.Request, r1 *support.DescribeAttachmentOutput)

func (*SupportDouble) DescribeAttachmentWithContext

func (d *SupportDouble) DescribeAttachmentWithContext(i0 context.Context, i1 *support.DescribeAttachmentInput, i2 ...request.Option) (r0 *support.DescribeAttachmentOutput, r1 error)

func (*SupportDouble) DescribeCases

func (d *SupportDouble) DescribeCases(i0 *support.DescribeCasesInput) (r0 *support.DescribeCasesOutput, r1 error)

func (*SupportDouble) DescribeCasesPages

func (d *SupportDouble) DescribeCasesPages(i0 *support.DescribeCasesInput, i1 func(*support.DescribeCasesOutput, bool) bool) (r0 error)

func (*SupportDouble) DescribeCasesPagesWithContext

func (d *SupportDouble) DescribeCasesPagesWithContext(i0 context.Context, i1 *support.DescribeCasesInput, i2 func(*support.DescribeCasesOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*SupportDouble) DescribeCasesRequest

func (d *SupportDouble) DescribeCasesRequest(i0 *support.DescribeCasesInput) (r0 *request.Request, r1 *support.DescribeCasesOutput)

func (*SupportDouble) DescribeCasesWithContext

func (d *SupportDouble) DescribeCasesWithContext(i0 context.Context, i1 *support.DescribeCasesInput, i2 ...request.Option) (r0 *support.DescribeCasesOutput, r1 error)

func (*SupportDouble) DescribeCommunications

func (*SupportDouble) DescribeCommunicationsPages

func (d *SupportDouble) DescribeCommunicationsPages(i0 *support.DescribeCommunicationsInput, i1 func(*support.DescribeCommunicationsOutput, bool) bool) (r0 error)

func (*SupportDouble) DescribeCommunicationsPagesWithContext

func (d *SupportDouble) DescribeCommunicationsPagesWithContext(i0 context.Context, i1 *support.DescribeCommunicationsInput, i2 func(*support.DescribeCommunicationsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*SupportDouble) DescribeCommunicationsRequest

func (d *SupportDouble) DescribeCommunicationsRequest(i0 *support.DescribeCommunicationsInput) (r0 *request.Request, r1 *support.DescribeCommunicationsOutput)

func (*SupportDouble) DescribeCommunicationsWithContext

func (d *SupportDouble) DescribeCommunicationsWithContext(i0 context.Context, i1 *support.DescribeCommunicationsInput, i2 ...request.Option) (r0 *support.DescribeCommunicationsOutput, r1 error)

func (*SupportDouble) DescribeServices

func (*SupportDouble) DescribeServicesRequest

func (d *SupportDouble) DescribeServicesRequest(i0 *support.DescribeServicesInput) (r0 *request.Request, r1 *support.DescribeServicesOutput)

func (*SupportDouble) DescribeServicesWithContext

func (d *SupportDouble) DescribeServicesWithContext(i0 context.Context, i1 *support.DescribeServicesInput, i2 ...request.Option) (r0 *support.DescribeServicesOutput, r1 error)

func (*SupportDouble) DescribeSeverityLevels

func (*SupportDouble) DescribeSeverityLevelsRequest

func (d *SupportDouble) DescribeSeverityLevelsRequest(i0 *support.DescribeSeverityLevelsInput) (r0 *request.Request, r1 *support.DescribeSeverityLevelsOutput)

func (*SupportDouble) DescribeSeverityLevelsWithContext

func (d *SupportDouble) DescribeSeverityLevelsWithContext(i0 context.Context, i1 *support.DescribeSeverityLevelsInput, i2 ...request.Option) (r0 *support.DescribeSeverityLevelsOutput, r1 error)

func (*SupportDouble) RefreshTrustedAdvisorCheck

func (*SupportDouble) RefreshTrustedAdvisorCheckWithContext

func (d *SupportDouble) RefreshTrustedAdvisorCheckWithContext(i0 context.Context, i1 *support.RefreshTrustedAdvisorCheckInput, i2 ...request.Option) (r0 *support.RefreshTrustedAdvisorCheckOutput, r1 error)

func (*SupportDouble) ResolveCase

func (d *SupportDouble) ResolveCase(i0 *support.ResolveCaseInput) (r0 *support.ResolveCaseOutput, r1 error)

func (*SupportDouble) ResolveCaseRequest

func (d *SupportDouble) ResolveCaseRequest(i0 *support.ResolveCaseInput) (r0 *request.Request, r1 *support.ResolveCaseOutput)

func (*SupportDouble) ResolveCaseWithContext

func (d *SupportDouble) ResolveCaseWithContext(i0 context.Context, i1 *support.ResolveCaseInput, i2 ...request.Option) (r0 *support.ResolveCaseOutput, r1 error)

Jump to

Keyboard shortcuts

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