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 ¶
- type SupportDouble
- func (d *SupportDouble) AddAttachmentsToSet(i0 *support.AddAttachmentsToSetInput) (r0 *support.AddAttachmentsToSetOutput, r1 error)
- func (d *SupportDouble) AddAttachmentsToSetRequest(i0 *support.AddAttachmentsToSetInput) (r0 *request.Request, r1 *support.AddAttachmentsToSetOutput)
- func (d *SupportDouble) AddAttachmentsToSetWithContext(i0 context.Context, i1 *support.AddAttachmentsToSetInput, i2 ...request.Option) (r0 *support.AddAttachmentsToSetOutput, r1 error)
- func (d *SupportDouble) AddCommunicationToCase(i0 *support.AddCommunicationToCaseInput) (r0 *support.AddCommunicationToCaseOutput, r1 error)
- func (d *SupportDouble) AddCommunicationToCaseRequest(i0 *support.AddCommunicationToCaseInput) (r0 *request.Request, r1 *support.AddCommunicationToCaseOutput)
- func (d *SupportDouble) AddCommunicationToCaseWithContext(i0 context.Context, i1 *support.AddCommunicationToCaseInput, ...) (r0 *support.AddCommunicationToCaseOutput, r1 error)
- func (d *SupportDouble) CreateCase(i0 *support.CreateCaseInput) (r0 *support.CreateCaseOutput, r1 error)
- func (d *SupportDouble) CreateCaseRequest(i0 *support.CreateCaseInput) (r0 *request.Request, r1 *support.CreateCaseOutput)
- func (d *SupportDouble) CreateCaseWithContext(i0 context.Context, i1 *support.CreateCaseInput, i2 ...request.Option) (r0 *support.CreateCaseOutput, r1 error)
- func (d *SupportDouble) DescribeAttachment(i0 *support.DescribeAttachmentInput) (r0 *support.DescribeAttachmentOutput, r1 error)
- func (d *SupportDouble) DescribeAttachmentRequest(i0 *support.DescribeAttachmentInput) (r0 *request.Request, r1 *support.DescribeAttachmentOutput)
- func (d *SupportDouble) DescribeAttachmentWithContext(i0 context.Context, i1 *support.DescribeAttachmentInput, i2 ...request.Option) (r0 *support.DescribeAttachmentOutput, r1 error)
- func (d *SupportDouble) DescribeCases(i0 *support.DescribeCasesInput) (r0 *support.DescribeCasesOutput, r1 error)
- func (d *SupportDouble) DescribeCasesPages(i0 *support.DescribeCasesInput, ...) (r0 error)
- func (d *SupportDouble) DescribeCasesPagesWithContext(i0 context.Context, i1 *support.DescribeCasesInput, ...) (r0 error)
- func (d *SupportDouble) DescribeCasesRequest(i0 *support.DescribeCasesInput) (r0 *request.Request, r1 *support.DescribeCasesOutput)
- func (d *SupportDouble) DescribeCasesWithContext(i0 context.Context, i1 *support.DescribeCasesInput, i2 ...request.Option) (r0 *support.DescribeCasesOutput, r1 error)
- func (d *SupportDouble) DescribeCommunications(i0 *support.DescribeCommunicationsInput) (r0 *support.DescribeCommunicationsOutput, r1 error)
- func (d *SupportDouble) DescribeCommunicationsPages(i0 *support.DescribeCommunicationsInput, ...) (r0 error)
- func (d *SupportDouble) DescribeCommunicationsPagesWithContext(i0 context.Context, i1 *support.DescribeCommunicationsInput, ...) (r0 error)
- func (d *SupportDouble) DescribeCommunicationsRequest(i0 *support.DescribeCommunicationsInput) (r0 *request.Request, r1 *support.DescribeCommunicationsOutput)
- func (d *SupportDouble) DescribeCommunicationsWithContext(i0 context.Context, i1 *support.DescribeCommunicationsInput, ...) (r0 *support.DescribeCommunicationsOutput, r1 error)
- func (d *SupportDouble) DescribeServices(i0 *support.DescribeServicesInput) (r0 *support.DescribeServicesOutput, r1 error)
- func (d *SupportDouble) DescribeServicesRequest(i0 *support.DescribeServicesInput) (r0 *request.Request, r1 *support.DescribeServicesOutput)
- func (d *SupportDouble) DescribeServicesWithContext(i0 context.Context, i1 *support.DescribeServicesInput, i2 ...request.Option) (r0 *support.DescribeServicesOutput, r1 error)
- func (d *SupportDouble) DescribeSeverityLevels(i0 *support.DescribeSeverityLevelsInput) (r0 *support.DescribeSeverityLevelsOutput, r1 error)
- func (d *SupportDouble) DescribeSeverityLevelsRequest(i0 *support.DescribeSeverityLevelsInput) (r0 *request.Request, r1 *support.DescribeSeverityLevelsOutput)
- func (d *SupportDouble) DescribeSeverityLevelsWithContext(i0 context.Context, i1 *support.DescribeSeverityLevelsInput, ...) (r0 *support.DescribeSeverityLevelsOutput, r1 error)
- func (d *SupportDouble) DescribeTrustedAdvisorCheckRefreshStatuses(i0 *support.DescribeTrustedAdvisorCheckRefreshStatusesInput) (r0 *support.DescribeTrustedAdvisorCheckRefreshStatusesOutput, r1 error)
- func (d *SupportDouble) DescribeTrustedAdvisorCheckRefreshStatusesRequest(i0 *support.DescribeTrustedAdvisorCheckRefreshStatusesInput) (r0 *request.Request, ...)
- func (d *SupportDouble) DescribeTrustedAdvisorCheckRefreshStatusesWithContext(i0 context.Context, ...) (r0 *support.DescribeTrustedAdvisorCheckRefreshStatusesOutput, r1 error)
- func (d *SupportDouble) DescribeTrustedAdvisorCheckResult(i0 *support.DescribeTrustedAdvisorCheckResultInput) (r0 *support.DescribeTrustedAdvisorCheckResultOutput, r1 error)
- func (d *SupportDouble) DescribeTrustedAdvisorCheckResultRequest(i0 *support.DescribeTrustedAdvisorCheckResultInput) (r0 *request.Request, r1 *support.DescribeTrustedAdvisorCheckResultOutput)
- func (d *SupportDouble) DescribeTrustedAdvisorCheckResultWithContext(i0 context.Context, i1 *support.DescribeTrustedAdvisorCheckResultInput, ...) (r0 *support.DescribeTrustedAdvisorCheckResultOutput, r1 error)
- func (d *SupportDouble) DescribeTrustedAdvisorCheckSummaries(i0 *support.DescribeTrustedAdvisorCheckSummariesInput) (r0 *support.DescribeTrustedAdvisorCheckSummariesOutput, r1 error)
- func (d *SupportDouble) DescribeTrustedAdvisorCheckSummariesRequest(i0 *support.DescribeTrustedAdvisorCheckSummariesInput) (r0 *request.Request, r1 *support.DescribeTrustedAdvisorCheckSummariesOutput)
- func (d *SupportDouble) DescribeTrustedAdvisorCheckSummariesWithContext(i0 context.Context, i1 *support.DescribeTrustedAdvisorCheckSummariesInput, ...) (r0 *support.DescribeTrustedAdvisorCheckSummariesOutput, r1 error)
- func (d *SupportDouble) DescribeTrustedAdvisorChecks(i0 *support.DescribeTrustedAdvisorChecksInput) (r0 *support.DescribeTrustedAdvisorChecksOutput, r1 error)
- func (d *SupportDouble) DescribeTrustedAdvisorChecksRequest(i0 *support.DescribeTrustedAdvisorChecksInput) (r0 *request.Request, r1 *support.DescribeTrustedAdvisorChecksOutput)
- func (d *SupportDouble) DescribeTrustedAdvisorChecksWithContext(i0 context.Context, i1 *support.DescribeTrustedAdvisorChecksInput, ...) (r0 *support.DescribeTrustedAdvisorChecksOutput, r1 error)
- func (d *SupportDouble) RefreshTrustedAdvisorCheck(i0 *support.RefreshTrustedAdvisorCheckInput) (r0 *support.RefreshTrustedAdvisorCheckOutput, r1 error)
- func (d *SupportDouble) RefreshTrustedAdvisorCheckRequest(i0 *support.RefreshTrustedAdvisorCheckInput) (r0 *request.Request, r1 *support.RefreshTrustedAdvisorCheckOutput)
- func (d *SupportDouble) RefreshTrustedAdvisorCheckWithContext(i0 context.Context, i1 *support.RefreshTrustedAdvisorCheckInput, ...) (r0 *support.RefreshTrustedAdvisorCheckOutput, r1 error)
- func (d *SupportDouble) ResolveCase(i0 *support.ResolveCaseInput) (r0 *support.ResolveCaseOutput, r1 error)
- func (d *SupportDouble) ResolveCaseRequest(i0 *support.ResolveCaseInput) (r0 *request.Request, r1 *support.ResolveCaseOutput)
- func (d *SupportDouble) ResolveCaseWithContext(i0 context.Context, i1 *support.ResolveCaseInput, i2 ...request.Option) (r0 *support.ResolveCaseOutput, r1 error)
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 (d *SupportDouble) AddAttachmentsToSet(i0 *support.AddAttachmentsToSetInput) (r0 *support.AddAttachmentsToSetOutput, r1 error)
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 (d *SupportDouble) AddCommunicationToCase(i0 *support.AddCommunicationToCaseInput) (r0 *support.AddCommunicationToCaseOutput, r1 error)
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 (d *SupportDouble) DescribeAttachment(i0 *support.DescribeAttachmentInput) (r0 *support.DescribeAttachmentOutput, r1 error)
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 (d *SupportDouble) DescribeCommunications(i0 *support.DescribeCommunicationsInput) (r0 *support.DescribeCommunicationsOutput, r1 error)
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 (d *SupportDouble) DescribeServices(i0 *support.DescribeServicesInput) (r0 *support.DescribeServicesOutput, r1 error)
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 (d *SupportDouble) DescribeSeverityLevels(i0 *support.DescribeSeverityLevelsInput) (r0 *support.DescribeSeverityLevelsOutput, r1 error)
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) DescribeTrustedAdvisorCheckRefreshStatuses ¶
func (d *SupportDouble) DescribeTrustedAdvisorCheckRefreshStatuses(i0 *support.DescribeTrustedAdvisorCheckRefreshStatusesInput) (r0 *support.DescribeTrustedAdvisorCheckRefreshStatusesOutput, r1 error)
func (*SupportDouble) DescribeTrustedAdvisorCheckRefreshStatusesRequest ¶
func (d *SupportDouble) DescribeTrustedAdvisorCheckRefreshStatusesRequest(i0 *support.DescribeTrustedAdvisorCheckRefreshStatusesInput) (r0 *request.Request, r1 *support.DescribeTrustedAdvisorCheckRefreshStatusesOutput)
func (*SupportDouble) DescribeTrustedAdvisorCheckRefreshStatusesWithContext ¶
func (d *SupportDouble) DescribeTrustedAdvisorCheckRefreshStatusesWithContext(i0 context.Context, i1 *support.DescribeTrustedAdvisorCheckRefreshStatusesInput, i2 ...request.Option) (r0 *support.DescribeTrustedAdvisorCheckRefreshStatusesOutput, r1 error)
func (*SupportDouble) DescribeTrustedAdvisorCheckResult ¶
func (d *SupportDouble) DescribeTrustedAdvisorCheckResult(i0 *support.DescribeTrustedAdvisorCheckResultInput) (r0 *support.DescribeTrustedAdvisorCheckResultOutput, r1 error)
func (*SupportDouble) DescribeTrustedAdvisorCheckResultRequest ¶
func (d *SupportDouble) DescribeTrustedAdvisorCheckResultRequest(i0 *support.DescribeTrustedAdvisorCheckResultInput) (r0 *request.Request, r1 *support.DescribeTrustedAdvisorCheckResultOutput)
func (*SupportDouble) DescribeTrustedAdvisorCheckResultWithContext ¶
func (d *SupportDouble) DescribeTrustedAdvisorCheckResultWithContext(i0 context.Context, i1 *support.DescribeTrustedAdvisorCheckResultInput, i2 ...request.Option) (r0 *support.DescribeTrustedAdvisorCheckResultOutput, r1 error)
func (*SupportDouble) DescribeTrustedAdvisorCheckSummaries ¶
func (d *SupportDouble) DescribeTrustedAdvisorCheckSummaries(i0 *support.DescribeTrustedAdvisorCheckSummariesInput) (r0 *support.DescribeTrustedAdvisorCheckSummariesOutput, r1 error)
func (*SupportDouble) DescribeTrustedAdvisorCheckSummariesRequest ¶
func (d *SupportDouble) DescribeTrustedAdvisorCheckSummariesRequest(i0 *support.DescribeTrustedAdvisorCheckSummariesInput) (r0 *request.Request, r1 *support.DescribeTrustedAdvisorCheckSummariesOutput)
func (*SupportDouble) DescribeTrustedAdvisorCheckSummariesWithContext ¶
func (d *SupportDouble) DescribeTrustedAdvisorCheckSummariesWithContext(i0 context.Context, i1 *support.DescribeTrustedAdvisorCheckSummariesInput, i2 ...request.Option) (r0 *support.DescribeTrustedAdvisorCheckSummariesOutput, r1 error)
func (*SupportDouble) DescribeTrustedAdvisorChecks ¶
func (d *SupportDouble) DescribeTrustedAdvisorChecks(i0 *support.DescribeTrustedAdvisorChecksInput) (r0 *support.DescribeTrustedAdvisorChecksOutput, r1 error)
func (*SupportDouble) DescribeTrustedAdvisorChecksRequest ¶
func (d *SupportDouble) DescribeTrustedAdvisorChecksRequest(i0 *support.DescribeTrustedAdvisorChecksInput) (r0 *request.Request, r1 *support.DescribeTrustedAdvisorChecksOutput)
func (*SupportDouble) DescribeTrustedAdvisorChecksWithContext ¶
func (d *SupportDouble) DescribeTrustedAdvisorChecksWithContext(i0 context.Context, i1 *support.DescribeTrustedAdvisorChecksInput, i2 ...request.Option) (r0 *support.DescribeTrustedAdvisorChecksOutput, r1 error)
func (*SupportDouble) RefreshTrustedAdvisorCheck ¶
func (d *SupportDouble) RefreshTrustedAdvisorCheck(i0 *support.RefreshTrustedAdvisorCheckInput) (r0 *support.RefreshTrustedAdvisorCheckOutput, r1 error)
func (*SupportDouble) RefreshTrustedAdvisorCheckRequest ¶
func (d *SupportDouble) RefreshTrustedAdvisorCheckRequest(i0 *support.RefreshTrustedAdvisorCheckInput) (r0 *request.Request, r1 *support.RefreshTrustedAdvisorCheckOutput)
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)