ssodouble

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 ssodouble contains test double implementation of ssoiface.SSOAPI

Package ssodouble provides a TestDouble implementation of ssoiface.SSOAPI

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 SSODouble

type SSODouble struct {
	ssoiface.SSOAPI
	*awsdouble.AWSTestDouble
}

SSODouble is TestDouble for ssoiface.SSOAPI

func NewDouble

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

Constructor for SSODouble 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 (*SSODouble) GetRoleCredentials

func (d *SSODouble) GetRoleCredentials(i0 *sso.GetRoleCredentialsInput) (r0 *sso.GetRoleCredentialsOutput, r1 error)

func (*SSODouble) GetRoleCredentialsRequest

func (d *SSODouble) GetRoleCredentialsRequest(i0 *sso.GetRoleCredentialsInput) (r0 *request.Request, r1 *sso.GetRoleCredentialsOutput)

func (*SSODouble) GetRoleCredentialsWithContext

func (d *SSODouble) GetRoleCredentialsWithContext(i0 context.Context, i1 *sso.GetRoleCredentialsInput, i2 ...request.Option) (r0 *sso.GetRoleCredentialsOutput, r1 error)

func (*SSODouble) ListAccountRoles

func (d *SSODouble) ListAccountRoles(i0 *sso.ListAccountRolesInput) (r0 *sso.ListAccountRolesOutput, r1 error)

func (*SSODouble) ListAccountRolesPages

func (d *SSODouble) ListAccountRolesPages(i0 *sso.ListAccountRolesInput, i1 func(*sso.ListAccountRolesOutput, bool) bool) (r0 error)

func (*SSODouble) ListAccountRolesPagesWithContext

func (d *SSODouble) ListAccountRolesPagesWithContext(i0 context.Context, i1 *sso.ListAccountRolesInput, i2 func(*sso.ListAccountRolesOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*SSODouble) ListAccountRolesRequest

func (d *SSODouble) ListAccountRolesRequest(i0 *sso.ListAccountRolesInput) (r0 *request.Request, r1 *sso.ListAccountRolesOutput)

func (*SSODouble) ListAccountRolesWithContext

func (d *SSODouble) ListAccountRolesWithContext(i0 context.Context, i1 *sso.ListAccountRolesInput, i2 ...request.Option) (r0 *sso.ListAccountRolesOutput, r1 error)

func (*SSODouble) ListAccounts

func (d *SSODouble) ListAccounts(i0 *sso.ListAccountsInput) (r0 *sso.ListAccountsOutput, r1 error)

func (*SSODouble) ListAccountsPages

func (d *SSODouble) ListAccountsPages(i0 *sso.ListAccountsInput, i1 func(*sso.ListAccountsOutput, bool) bool) (r0 error)

func (*SSODouble) ListAccountsPagesWithContext

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

func (*SSODouble) ListAccountsRequest

func (d *SSODouble) ListAccountsRequest(i0 *sso.ListAccountsInput) (r0 *request.Request, r1 *sso.ListAccountsOutput)

func (*SSODouble) ListAccountsWithContext

func (d *SSODouble) ListAccountsWithContext(i0 context.Context, i1 *sso.ListAccountsInput, i2 ...request.Option) (r0 *sso.ListAccountsOutput, r1 error)

func (*SSODouble) Logout

func (d *SSODouble) Logout(i0 *sso.LogoutInput) (r0 *sso.LogoutOutput, r1 error)

func (*SSODouble) LogoutRequest

func (d *SSODouble) LogoutRequest(i0 *sso.LogoutInput) (r0 *request.Request, r1 *sso.LogoutOutput)

func (*SSODouble) LogoutWithContext

func (d *SSODouble) LogoutWithContext(i0 context.Context, i1 *sso.LogoutInput, i2 ...request.Option) (r0 *sso.LogoutOutput, r1 error)

Jump to

Keyboard shortcuts

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