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 organizationsdouble contains test double implementation of organizationsiface.OrganizationsAPI

Package organizationsdouble provides a TestDouble implementation of organizationsiface.OrganizationsAPI

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 OrganizationsDouble

type OrganizationsDouble struct {
	organizationsiface.OrganizationsAPI
	*awsdouble.AWSTestDouble
}

    OrganizationsDouble is TestDouble for organizationsiface.OrganizationsAPI

    func NewDouble

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

      Constructor for OrganizationsDouble 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 (*OrganizationsDouble) AcceptHandshake

      func (*OrganizationsDouble) AcceptHandshakeRequest

      func (*OrganizationsDouble) AcceptHandshakeWithContext

      func (*OrganizationsDouble) AttachPolicy

      func (*OrganizationsDouble) AttachPolicyRequest

      func (*OrganizationsDouble) AttachPolicyWithContext

      func (*OrganizationsDouble) CancelHandshake

      func (*OrganizationsDouble) CancelHandshakeRequest

      func (*OrganizationsDouble) CancelHandshakeWithContext

      func (*OrganizationsDouble) CreateAccount

      func (*OrganizationsDouble) CreateAccountRequest

      func (*OrganizationsDouble) CreateAccountWithContext

      func (*OrganizationsDouble) CreateGovCloudAccount

      func (*OrganizationsDouble) CreateGovCloudAccountWithContext

      func (*OrganizationsDouble) CreateOrganization

      func (*OrganizationsDouble) CreateOrganizationRequest

      func (*OrganizationsDouble) CreateOrganizationWithContext

      func (*OrganizationsDouble) CreatePolicy

      func (*OrganizationsDouble) CreatePolicyRequest

      func (*OrganizationsDouble) CreatePolicyWithContext

      func (*OrganizationsDouble) DeclineHandshake

      func (*OrganizationsDouble) DeclineHandshakeRequest

      func (*OrganizationsDouble) DeclineHandshakeWithContext

      func (*OrganizationsDouble) DeleteOrganization

      func (*OrganizationsDouble) DeleteOrganizationRequest

      func (*OrganizationsDouble) DeleteOrganizationWithContext

      func (*OrganizationsDouble) DeletePolicy

      func (*OrganizationsDouble) DeletePolicyRequest

      func (*OrganizationsDouble) DeletePolicyWithContext

      func (*OrganizationsDouble) DescribeAccount

      func (*OrganizationsDouble) DescribeAccountRequest

      func (*OrganizationsDouble) DescribeAccountWithContext

      func (*OrganizationsDouble) DescribeHandshake

      func (*OrganizationsDouble) DescribeHandshakeRequest

      func (*OrganizationsDouble) DescribeHandshakeWithContext

      func (*OrganizationsDouble) DescribeOrganization

      func (*OrganizationsDouble) DescribeOrganizationWithContext

      func (*OrganizationsDouble) DescribePolicy

      func (*OrganizationsDouble) DescribePolicyRequest

      func (*OrganizationsDouble) DescribePolicyWithContext

      func (*OrganizationsDouble) DetachPolicy

      func (*OrganizationsDouble) DetachPolicyRequest

      func (*OrganizationsDouble) DetachPolicyWithContext

      func (*OrganizationsDouble) DisablePolicyType

      func (*OrganizationsDouble) DisablePolicyTypeRequest

      func (*OrganizationsDouble) DisablePolicyTypeWithContext

      func (*OrganizationsDouble) EnableAllFeatures

      func (*OrganizationsDouble) EnableAllFeaturesRequest

      func (*OrganizationsDouble) EnableAllFeaturesWithContext

      func (*OrganizationsDouble) EnablePolicyType

      func (*OrganizationsDouble) EnablePolicyTypeRequest

      func (*OrganizationsDouble) EnablePolicyTypeWithContext

      func (*OrganizationsDouble) LeaveOrganization

      func (*OrganizationsDouble) LeaveOrganizationRequest

      func (*OrganizationsDouble) LeaveOrganizationWithContext

      func (*OrganizationsDouble) ListAccounts

      func (*OrganizationsDouble) ListAccountsForParent

      func (*OrganizationsDouble) ListAccountsForParentPages

      func (*OrganizationsDouble) ListAccountsForParentPagesWithContext

      func (d *OrganizationsDouble) ListAccountsForParentPagesWithContext(i0 context.Context, i1 *organizations.ListAccountsForParentInput, i2 func(*organizations.ListAccountsForParentOutput, bool) bool, i3 ...request.Option) (r0 error)

      func (*OrganizationsDouble) ListAccountsForParentWithContext

      func (*OrganizationsDouble) ListAccountsPages

      func (*OrganizationsDouble) ListAccountsPagesWithContext

      func (d *OrganizationsDouble) ListAccountsPagesWithContext(i0 context.Context, i1 *organizations.ListAccountsInput, i2 func(*organizations.ListAccountsOutput, bool) bool, i3 ...request.Option) (r0 error)

      func (*OrganizationsDouble) ListAccountsRequest

      func (*OrganizationsDouble) ListAccountsWithContext

      func (*OrganizationsDouble) ListChildren

      func (*OrganizationsDouble) ListChildrenPages

      func (*OrganizationsDouble) ListChildrenPagesWithContext

      func (d *OrganizationsDouble) ListChildrenPagesWithContext(i0 context.Context, i1 *organizations.ListChildrenInput, i2 func(*organizations.ListChildrenOutput, bool) bool, i3 ...request.Option) (r0 error)

      func (*OrganizationsDouble) ListChildrenRequest

      func (*OrganizationsDouble) ListChildrenWithContext

      func (*OrganizationsDouble) ListCreateAccountStatusPages

      func (*OrganizationsDouble) ListCreateAccountStatusPagesWithContext

      func (d *OrganizationsDouble) ListCreateAccountStatusPagesWithContext(i0 context.Context, i1 *organizations.ListCreateAccountStatusInput, i2 func(*organizations.ListCreateAccountStatusOutput, bool) bool, i3 ...request.Option) (r0 error)

      func (*OrganizationsDouble) ListHandshakesForAccountPages

      func (*OrganizationsDouble) ListHandshakesForAccountPagesWithContext

      func (d *OrganizationsDouble) ListHandshakesForAccountPagesWithContext(i0 context.Context, i1 *organizations.ListHandshakesForAccountInput, i2 func(*organizations.ListHandshakesForAccountOutput, bool) bool, i3 ...request.Option) (r0 error)

      func (*OrganizationsDouble) ListParents

      func (*OrganizationsDouble) ListParentsPages

      func (*OrganizationsDouble) ListParentsPagesWithContext

      func (d *OrganizationsDouble) ListParentsPagesWithContext(i0 context.Context, i1 *organizations.ListParentsInput, i2 func(*organizations.ListParentsOutput, bool) bool, i3 ...request.Option) (r0 error)

      func (*OrganizationsDouble) ListParentsRequest

      func (*OrganizationsDouble) ListParentsWithContext

      func (*OrganizationsDouble) ListPolicies

      func (*OrganizationsDouble) ListPoliciesForTarget

      func (*OrganizationsDouble) ListPoliciesForTargetPages

      func (*OrganizationsDouble) ListPoliciesForTargetPagesWithContext

      func (d *OrganizationsDouble) ListPoliciesForTargetPagesWithContext(i0 context.Context, i1 *organizations.ListPoliciesForTargetInput, i2 func(*organizations.ListPoliciesForTargetOutput, bool) bool, i3 ...request.Option) (r0 error)

      func (*OrganizationsDouble) ListPoliciesForTargetWithContext

      func (*OrganizationsDouble) ListPoliciesPages

      func (*OrganizationsDouble) ListPoliciesPagesWithContext

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

      func (*OrganizationsDouble) ListPoliciesRequest

      func (*OrganizationsDouble) ListPoliciesWithContext

      func (*OrganizationsDouble) ListRoots

      func (*OrganizationsDouble) ListRootsPages

      func (*OrganizationsDouble) ListRootsPagesWithContext

      func (d *OrganizationsDouble) ListRootsPagesWithContext(i0 context.Context, i1 *organizations.ListRootsInput, i2 func(*organizations.ListRootsOutput, bool) bool, i3 ...request.Option) (r0 error)

      func (*OrganizationsDouble) ListRootsRequest

      func (*OrganizationsDouble) ListRootsWithContext

      func (*OrganizationsDouble) ListTagsForResource

      func (*OrganizationsDouble) ListTagsForResourcePages

      func (*OrganizationsDouble) ListTagsForResourcePagesWithContext

      func (d *OrganizationsDouble) ListTagsForResourcePagesWithContext(i0 context.Context, i1 *organizations.ListTagsForResourceInput, i2 func(*organizations.ListTagsForResourceOutput, bool) bool, i3 ...request.Option) (r0 error)

      func (*OrganizationsDouble) ListTagsForResourceRequest

      func (*OrganizationsDouble) ListTagsForResourceWithContext

      func (*OrganizationsDouble) ListTargetsForPolicy

      func (*OrganizationsDouble) ListTargetsForPolicyPages

      func (*OrganizationsDouble) ListTargetsForPolicyPagesWithContext

      func (d *OrganizationsDouble) ListTargetsForPolicyPagesWithContext(i0 context.Context, i1 *organizations.ListTargetsForPolicyInput, i2 func(*organizations.ListTargetsForPolicyOutput, bool) bool, i3 ...request.Option) (r0 error)

      func (*OrganizationsDouble) ListTargetsForPolicyWithContext

      func (*OrganizationsDouble) MoveAccount

      func (*OrganizationsDouble) MoveAccountRequest

      func (*OrganizationsDouble) MoveAccountWithContext

      func (*OrganizationsDouble) TagResource

      func (*OrganizationsDouble) TagResourceRequest

      func (*OrganizationsDouble) TagResourceWithContext

      func (*OrganizationsDouble) UntagResource

      func (*OrganizationsDouble) UntagResourceRequest

      func (*OrganizationsDouble) UntagResourceWithContext

      func (*OrganizationsDouble) UpdatePolicy

      func (*OrganizationsDouble) UpdatePolicyRequest

      func (*OrganizationsDouble) UpdatePolicyWithContext