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 fmsdouble contains test double implementation of fmsiface.FMSAPI

Package fmsdouble provides a TestDouble implementation of fmsiface.FMSAPI

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 FMSDouble

type FMSDouble struct {
	fmsiface.FMSAPI
	*awsdouble.AWSTestDouble
}

    FMSDouble is TestDouble for fmsiface.FMSAPI

    func NewDouble

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

      Constructor for FMSDouble 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 (*FMSDouble) AssociateAdminAccount

      func (d *FMSDouble) AssociateAdminAccount(i0 *fms.AssociateAdminAccountInput) (r0 *fms.AssociateAdminAccountOutput, r1 error)

      func (*FMSDouble) AssociateAdminAccountRequest

      func (d *FMSDouble) AssociateAdminAccountRequest(i0 *fms.AssociateAdminAccountInput) (r0 *request.Request, r1 *fms.AssociateAdminAccountOutput)

      func (*FMSDouble) AssociateAdminAccountWithContext

      func (d *FMSDouble) AssociateAdminAccountWithContext(i0 context.Context, i1 *fms.AssociateAdminAccountInput, i2 ...request.Option) (r0 *fms.AssociateAdminAccountOutput, r1 error)

      func (*FMSDouble) DeleteNotificationChannel

      func (d *FMSDouble) DeleteNotificationChannel(i0 *fms.DeleteNotificationChannelInput) (r0 *fms.DeleteNotificationChannelOutput, r1 error)

      func (*FMSDouble) DeleteNotificationChannelRequest

      func (d *FMSDouble) DeleteNotificationChannelRequest(i0 *fms.DeleteNotificationChannelInput) (r0 *request.Request, r1 *fms.DeleteNotificationChannelOutput)

      func (*FMSDouble) DeleteNotificationChannelWithContext

      func (d *FMSDouble) DeleteNotificationChannelWithContext(i0 context.Context, i1 *fms.DeleteNotificationChannelInput, i2 ...request.Option) (r0 *fms.DeleteNotificationChannelOutput, r1 error)

      func (*FMSDouble) DeletePolicy

      func (d *FMSDouble) DeletePolicy(i0 *fms.DeletePolicyInput) (r0 *fms.DeletePolicyOutput, r1 error)

      func (*FMSDouble) DeletePolicyRequest

      func (d *FMSDouble) DeletePolicyRequest(i0 *fms.DeletePolicyInput) (r0 *request.Request, r1 *fms.DeletePolicyOutput)

      func (*FMSDouble) DeletePolicyWithContext

      func (d *FMSDouble) DeletePolicyWithContext(i0 context.Context, i1 *fms.DeletePolicyInput, i2 ...request.Option) (r0 *fms.DeletePolicyOutput, r1 error)

      func (*FMSDouble) DisassociateAdminAccount

      func (d *FMSDouble) DisassociateAdminAccount(i0 *fms.DisassociateAdminAccountInput) (r0 *fms.DisassociateAdminAccountOutput, r1 error)

      func (*FMSDouble) DisassociateAdminAccountRequest

      func (d *FMSDouble) DisassociateAdminAccountRequest(i0 *fms.DisassociateAdminAccountInput) (r0 *request.Request, r1 *fms.DisassociateAdminAccountOutput)

      func (*FMSDouble) DisassociateAdminAccountWithContext

      func (d *FMSDouble) DisassociateAdminAccountWithContext(i0 context.Context, i1 *fms.DisassociateAdminAccountInput, i2 ...request.Option) (r0 *fms.DisassociateAdminAccountOutput, r1 error)

      func (*FMSDouble) GetAdminAccount

      func (d *FMSDouble) GetAdminAccount(i0 *fms.GetAdminAccountInput) (r0 *fms.GetAdminAccountOutput, r1 error)

      func (*FMSDouble) GetAdminAccountRequest

      func (d *FMSDouble) GetAdminAccountRequest(i0 *fms.GetAdminAccountInput) (r0 *request.Request, r1 *fms.GetAdminAccountOutput)

      func (*FMSDouble) GetAdminAccountWithContext

      func (d *FMSDouble) GetAdminAccountWithContext(i0 context.Context, i1 *fms.GetAdminAccountInput, i2 ...request.Option) (r0 *fms.GetAdminAccountOutput, r1 error)

      func (*FMSDouble) GetComplianceDetail

      func (d *FMSDouble) GetComplianceDetail(i0 *fms.GetComplianceDetailInput) (r0 *fms.GetComplianceDetailOutput, r1 error)

      func (*FMSDouble) GetComplianceDetailRequest

      func (d *FMSDouble) GetComplianceDetailRequest(i0 *fms.GetComplianceDetailInput) (r0 *request.Request, r1 *fms.GetComplianceDetailOutput)

      func (*FMSDouble) GetComplianceDetailWithContext

      func (d *FMSDouble) GetComplianceDetailWithContext(i0 context.Context, i1 *fms.GetComplianceDetailInput, i2 ...request.Option) (r0 *fms.GetComplianceDetailOutput, r1 error)

      func (*FMSDouble) GetNotificationChannel

      func (d *FMSDouble) GetNotificationChannel(i0 *fms.GetNotificationChannelInput) (r0 *fms.GetNotificationChannelOutput, r1 error)

      func (*FMSDouble) GetNotificationChannelRequest

      func (d *FMSDouble) GetNotificationChannelRequest(i0 *fms.GetNotificationChannelInput) (r0 *request.Request, r1 *fms.GetNotificationChannelOutput)

      func (*FMSDouble) GetNotificationChannelWithContext

      func (d *FMSDouble) GetNotificationChannelWithContext(i0 context.Context, i1 *fms.GetNotificationChannelInput, i2 ...request.Option) (r0 *fms.GetNotificationChannelOutput, r1 error)

      func (*FMSDouble) GetPolicy

      func (d *FMSDouble) GetPolicy(i0 *fms.GetPolicyInput) (r0 *fms.GetPolicyOutput, r1 error)

      func (*FMSDouble) GetPolicyRequest

      func (d *FMSDouble) GetPolicyRequest(i0 *fms.GetPolicyInput) (r0 *request.Request, r1 *fms.GetPolicyOutput)

      func (*FMSDouble) GetPolicyWithContext

      func (d *FMSDouble) GetPolicyWithContext(i0 context.Context, i1 *fms.GetPolicyInput, i2 ...request.Option) (r0 *fms.GetPolicyOutput, r1 error)

      func (*FMSDouble) GetProtectionStatus

      func (d *FMSDouble) GetProtectionStatus(i0 *fms.GetProtectionStatusInput) (r0 *fms.GetProtectionStatusOutput, r1 error)

      func (*FMSDouble) GetProtectionStatusRequest

      func (d *FMSDouble) GetProtectionStatusRequest(i0 *fms.GetProtectionStatusInput) (r0 *request.Request, r1 *fms.GetProtectionStatusOutput)

      func (*FMSDouble) GetProtectionStatusWithContext

      func (d *FMSDouble) GetProtectionStatusWithContext(i0 context.Context, i1 *fms.GetProtectionStatusInput, i2 ...request.Option) (r0 *fms.GetProtectionStatusOutput, r1 error)

      func (*FMSDouble) ListComplianceStatus

      func (d *FMSDouble) ListComplianceStatus(i0 *fms.ListComplianceStatusInput) (r0 *fms.ListComplianceStatusOutput, r1 error)

      func (*FMSDouble) ListComplianceStatusPages

      func (d *FMSDouble) ListComplianceStatusPages(i0 *fms.ListComplianceStatusInput, i1 func(*fms.ListComplianceStatusOutput, bool) bool) (r0 error)

      func (*FMSDouble) ListComplianceStatusPagesWithContext

      func (d *FMSDouble) ListComplianceStatusPagesWithContext(i0 context.Context, i1 *fms.ListComplianceStatusInput, i2 func(*fms.ListComplianceStatusOutput, bool) bool, i3 ...request.Option) (r0 error)

      func (*FMSDouble) ListComplianceStatusRequest

      func (d *FMSDouble) ListComplianceStatusRequest(i0 *fms.ListComplianceStatusInput) (r0 *request.Request, r1 *fms.ListComplianceStatusOutput)

      func (*FMSDouble) ListComplianceStatusWithContext

      func (d *FMSDouble) ListComplianceStatusWithContext(i0 context.Context, i1 *fms.ListComplianceStatusInput, i2 ...request.Option) (r0 *fms.ListComplianceStatusOutput, r1 error)

      func (*FMSDouble) ListMemberAccounts

      func (d *FMSDouble) ListMemberAccounts(i0 *fms.ListMemberAccountsInput) (r0 *fms.ListMemberAccountsOutput, r1 error)

      func (*FMSDouble) ListMemberAccountsPages

      func (d *FMSDouble) ListMemberAccountsPages(i0 *fms.ListMemberAccountsInput, i1 func(*fms.ListMemberAccountsOutput, bool) bool) (r0 error)

      func (*FMSDouble) ListMemberAccountsPagesWithContext

      func (d *FMSDouble) ListMemberAccountsPagesWithContext(i0 context.Context, i1 *fms.ListMemberAccountsInput, i2 func(*fms.ListMemberAccountsOutput, bool) bool, i3 ...request.Option) (r0 error)

      func (*FMSDouble) ListMemberAccountsRequest

      func (d *FMSDouble) ListMemberAccountsRequest(i0 *fms.ListMemberAccountsInput) (r0 *request.Request, r1 *fms.ListMemberAccountsOutput)

      func (*FMSDouble) ListMemberAccountsWithContext

      func (d *FMSDouble) ListMemberAccountsWithContext(i0 context.Context, i1 *fms.ListMemberAccountsInput, i2 ...request.Option) (r0 *fms.ListMemberAccountsOutput, r1 error)

      func (*FMSDouble) ListPolicies

      func (d *FMSDouble) ListPolicies(i0 *fms.ListPoliciesInput) (r0 *fms.ListPoliciesOutput, r1 error)

      func (*FMSDouble) ListPoliciesPages

      func (d *FMSDouble) ListPoliciesPages(i0 *fms.ListPoliciesInput, i1 func(*fms.ListPoliciesOutput, bool) bool) (r0 error)

      func (*FMSDouble) ListPoliciesPagesWithContext

      func (d *FMSDouble) ListPoliciesPagesWithContext(i0 context.Context, i1 *fms.ListPoliciesInput, i2 func(*fms.ListPoliciesOutput, bool) bool, i3 ...request.Option) (r0 error)

      func (*FMSDouble) ListPoliciesRequest

      func (d *FMSDouble) ListPoliciesRequest(i0 *fms.ListPoliciesInput) (r0 *request.Request, r1 *fms.ListPoliciesOutput)

      func (*FMSDouble) ListPoliciesWithContext

      func (d *FMSDouble) ListPoliciesWithContext(i0 context.Context, i1 *fms.ListPoliciesInput, i2 ...request.Option) (r0 *fms.ListPoliciesOutput, r1 error)

      func (*FMSDouble) ListTagsForResource

      func (d *FMSDouble) ListTagsForResource(i0 *fms.ListTagsForResourceInput) (r0 *fms.ListTagsForResourceOutput, r1 error)

      func (*FMSDouble) ListTagsForResourceRequest

      func (d *FMSDouble) ListTagsForResourceRequest(i0 *fms.ListTagsForResourceInput) (r0 *request.Request, r1 *fms.ListTagsForResourceOutput)

      func (*FMSDouble) ListTagsForResourceWithContext

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

      func (*FMSDouble) PutNotificationChannel

      func (d *FMSDouble) PutNotificationChannel(i0 *fms.PutNotificationChannelInput) (r0 *fms.PutNotificationChannelOutput, r1 error)

      func (*FMSDouble) PutNotificationChannelRequest

      func (d *FMSDouble) PutNotificationChannelRequest(i0 *fms.PutNotificationChannelInput) (r0 *request.Request, r1 *fms.PutNotificationChannelOutput)

      func (*FMSDouble) PutNotificationChannelWithContext

      func (d *FMSDouble) PutNotificationChannelWithContext(i0 context.Context, i1 *fms.PutNotificationChannelInput, i2 ...request.Option) (r0 *fms.PutNotificationChannelOutput, r1 error)

      func (*FMSDouble) PutPolicy

      func (d *FMSDouble) PutPolicy(i0 *fms.PutPolicyInput) (r0 *fms.PutPolicyOutput, r1 error)

      func (*FMSDouble) PutPolicyRequest

      func (d *FMSDouble) PutPolicyRequest(i0 *fms.PutPolicyInput) (r0 *request.Request, r1 *fms.PutPolicyOutput)

      func (*FMSDouble) PutPolicyWithContext

      func (d *FMSDouble) PutPolicyWithContext(i0 context.Context, i1 *fms.PutPolicyInput, i2 ...request.Option) (r0 *fms.PutPolicyOutput, r1 error)

      func (*FMSDouble) TagResource

      func (d *FMSDouble) TagResource(i0 *fms.TagResourceInput) (r0 *fms.TagResourceOutput, r1 error)

      func (*FMSDouble) TagResourceRequest

      func (d *FMSDouble) TagResourceRequest(i0 *fms.TagResourceInput) (r0 *request.Request, r1 *fms.TagResourceOutput)

      func (*FMSDouble) TagResourceWithContext

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

      func (*FMSDouble) UntagResource

      func (d *FMSDouble) UntagResource(i0 *fms.UntagResourceInput) (r0 *fms.UntagResourceOutput, r1 error)

      func (*FMSDouble) UntagResourceRequest

      func (d *FMSDouble) UntagResourceRequest(i0 *fms.UntagResourceInput) (r0 *request.Request, r1 *fms.UntagResourceOutput)

      func (*FMSDouble) UntagResourceWithContext

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