stsdouble

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 stsdouble contains test double implementation of stsiface.STSAPI

Package stsdouble provides a TestDouble implementation of stsiface.STSAPI

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 STSDouble

type STSDouble struct {
	stsiface.STSAPI
	*awsdouble.AWSTestDouble
}

STSDouble is TestDouble for stsiface.STSAPI

func NewDouble

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

Constructor for STSDouble 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 (*STSDouble) AssumeRole

func (d *STSDouble) AssumeRole(i0 *sts.AssumeRoleInput) (r0 *sts.AssumeRoleOutput, r1 error)

func (*STSDouble) AssumeRoleRequest

func (d *STSDouble) AssumeRoleRequest(i0 *sts.AssumeRoleInput) (r0 *request.Request, r1 *sts.AssumeRoleOutput)

func (*STSDouble) AssumeRoleWithContext

func (d *STSDouble) AssumeRoleWithContext(i0 context.Context, i1 *sts.AssumeRoleInput, i2 ...request.Option) (r0 *sts.AssumeRoleOutput, r1 error)

func (*STSDouble) AssumeRoleWithSAML

func (d *STSDouble) AssumeRoleWithSAML(i0 *sts.AssumeRoleWithSAMLInput) (r0 *sts.AssumeRoleWithSAMLOutput, r1 error)

func (*STSDouble) AssumeRoleWithSAMLRequest

func (d *STSDouble) AssumeRoleWithSAMLRequest(i0 *sts.AssumeRoleWithSAMLInput) (r0 *request.Request, r1 *sts.AssumeRoleWithSAMLOutput)

func (*STSDouble) AssumeRoleWithSAMLWithContext

func (d *STSDouble) AssumeRoleWithSAMLWithContext(i0 context.Context, i1 *sts.AssumeRoleWithSAMLInput, i2 ...request.Option) (r0 *sts.AssumeRoleWithSAMLOutput, r1 error)

func (*STSDouble) AssumeRoleWithWebIdentity

func (d *STSDouble) AssumeRoleWithWebIdentity(i0 *sts.AssumeRoleWithWebIdentityInput) (r0 *sts.AssumeRoleWithWebIdentityOutput, r1 error)

func (*STSDouble) AssumeRoleWithWebIdentityRequest

func (d *STSDouble) AssumeRoleWithWebIdentityRequest(i0 *sts.AssumeRoleWithWebIdentityInput) (r0 *request.Request, r1 *sts.AssumeRoleWithWebIdentityOutput)

func (*STSDouble) AssumeRoleWithWebIdentityWithContext

func (d *STSDouble) AssumeRoleWithWebIdentityWithContext(i0 context.Context, i1 *sts.AssumeRoleWithWebIdentityInput, i2 ...request.Option) (r0 *sts.AssumeRoleWithWebIdentityOutput, r1 error)

func (*STSDouble) DecodeAuthorizationMessage

func (d *STSDouble) DecodeAuthorizationMessage(i0 *sts.DecodeAuthorizationMessageInput) (r0 *sts.DecodeAuthorizationMessageOutput, r1 error)

func (*STSDouble) DecodeAuthorizationMessageRequest

func (d *STSDouble) DecodeAuthorizationMessageRequest(i0 *sts.DecodeAuthorizationMessageInput) (r0 *request.Request, r1 *sts.DecodeAuthorizationMessageOutput)

func (*STSDouble) DecodeAuthorizationMessageWithContext

func (d *STSDouble) DecodeAuthorizationMessageWithContext(i0 context.Context, i1 *sts.DecodeAuthorizationMessageInput, i2 ...request.Option) (r0 *sts.DecodeAuthorizationMessageOutput, r1 error)

func (*STSDouble) GetAccessKeyInfo

func (d *STSDouble) GetAccessKeyInfo(i0 *sts.GetAccessKeyInfoInput) (r0 *sts.GetAccessKeyInfoOutput, r1 error)

func (*STSDouble) GetAccessKeyInfoRequest

func (d *STSDouble) GetAccessKeyInfoRequest(i0 *sts.GetAccessKeyInfoInput) (r0 *request.Request, r1 *sts.GetAccessKeyInfoOutput)

func (*STSDouble) GetAccessKeyInfoWithContext

func (d *STSDouble) GetAccessKeyInfoWithContext(i0 context.Context, i1 *sts.GetAccessKeyInfoInput, i2 ...request.Option) (r0 *sts.GetAccessKeyInfoOutput, r1 error)

func (*STSDouble) GetCallerIdentity

func (d *STSDouble) GetCallerIdentity(i0 *sts.GetCallerIdentityInput) (r0 *sts.GetCallerIdentityOutput, r1 error)

func (*STSDouble) GetCallerIdentityRequest

func (d *STSDouble) GetCallerIdentityRequest(i0 *sts.GetCallerIdentityInput) (r0 *request.Request, r1 *sts.GetCallerIdentityOutput)

func (*STSDouble) GetCallerIdentityWithContext

func (d *STSDouble) GetCallerIdentityWithContext(i0 context.Context, i1 *sts.GetCallerIdentityInput, i2 ...request.Option) (r0 *sts.GetCallerIdentityOutput, r1 error)

func (*STSDouble) GetFederationToken

func (d *STSDouble) GetFederationToken(i0 *sts.GetFederationTokenInput) (r0 *sts.GetFederationTokenOutput, r1 error)

func (*STSDouble) GetFederationTokenRequest

func (d *STSDouble) GetFederationTokenRequest(i0 *sts.GetFederationTokenInput) (r0 *request.Request, r1 *sts.GetFederationTokenOutput)

func (*STSDouble) GetFederationTokenWithContext

func (d *STSDouble) GetFederationTokenWithContext(i0 context.Context, i1 *sts.GetFederationTokenInput, i2 ...request.Option) (r0 *sts.GetFederationTokenOutput, r1 error)

func (*STSDouble) GetSessionToken

func (d *STSDouble) GetSessionToken(i0 *sts.GetSessionTokenInput) (r0 *sts.GetSessionTokenOutput, r1 error)

func (*STSDouble) GetSessionTokenRequest

func (d *STSDouble) GetSessionTokenRequest(i0 *sts.GetSessionTokenInput) (r0 *request.Request, r1 *sts.GetSessionTokenOutput)

func (*STSDouble) GetSessionTokenWithContext

func (d *STSDouble) GetSessionTokenWithContext(i0 context.Context, i1 *sts.GetSessionTokenInput, i2 ...request.Option) (r0 *sts.GetSessionTokenOutput, r1 error)

Jump to

Keyboard shortcuts

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