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 ssooidcdouble contains test double implementation of ssooidciface.SSOOIDCAPI
Package ssooidcdouble provides a TestDouble implementation of ssooidciface.SSOOIDCAPI ¶
Code generated by go awsdoublegen; DO NOT EDIT. This file was generated at 2020-01-29T21:22:05+11:00
Index ¶
- type SSOOIDCDouble
- func (d *SSOOIDCDouble) CreateToken(i0 *ssooidc.CreateTokenInput) (r0 *ssooidc.CreateTokenOutput, r1 error)
- func (d *SSOOIDCDouble) CreateTokenRequest(i0 *ssooidc.CreateTokenInput) (r0 *request.Request, r1 *ssooidc.CreateTokenOutput)
- func (d *SSOOIDCDouble) CreateTokenWithContext(i0 context.Context, i1 *ssooidc.CreateTokenInput, i2 ...request.Option) (r0 *ssooidc.CreateTokenOutput, r1 error)
- func (d *SSOOIDCDouble) RegisterClient(i0 *ssooidc.RegisterClientInput) (r0 *ssooidc.RegisterClientOutput, r1 error)
- func (d *SSOOIDCDouble) RegisterClientRequest(i0 *ssooidc.RegisterClientInput) (r0 *request.Request, r1 *ssooidc.RegisterClientOutput)
- func (d *SSOOIDCDouble) RegisterClientWithContext(i0 context.Context, i1 *ssooidc.RegisterClientInput, i2 ...request.Option) (r0 *ssooidc.RegisterClientOutput, r1 error)
- func (d *SSOOIDCDouble) StartDeviceAuthorization(i0 *ssooidc.StartDeviceAuthorizationInput) (r0 *ssooidc.StartDeviceAuthorizationOutput, r1 error)
- func (d *SSOOIDCDouble) StartDeviceAuthorizationRequest(i0 *ssooidc.StartDeviceAuthorizationInput) (r0 *request.Request, r1 *ssooidc.StartDeviceAuthorizationOutput)
- func (d *SSOOIDCDouble) StartDeviceAuthorizationWithContext(i0 context.Context, i1 *ssooidc.StartDeviceAuthorizationInput, ...) (r0 *ssooidc.StartDeviceAuthorizationOutput, r1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SSOOIDCDouble ¶
type SSOOIDCDouble struct { ssooidciface.SSOOIDCAPI *awsdouble.AWSTestDouble }
SSOOIDCDouble is TestDouble for ssooidciface.SSOOIDCAPI
func NewDouble ¶
func NewDouble(t godouble.T, configurators ...func(*awsdouble.AWSTestDouble)) *SSOOIDCDouble
Constructor for SSOOIDCDouble 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 (*SSOOIDCDouble) CreateToken ¶
func (d *SSOOIDCDouble) CreateToken(i0 *ssooidc.CreateTokenInput) (r0 *ssooidc.CreateTokenOutput, r1 error)
func (*SSOOIDCDouble) CreateTokenRequest ¶
func (d *SSOOIDCDouble) CreateTokenRequest(i0 *ssooidc.CreateTokenInput) (r0 *request.Request, r1 *ssooidc.CreateTokenOutput)
func (*SSOOIDCDouble) CreateTokenWithContext ¶
func (d *SSOOIDCDouble) CreateTokenWithContext(i0 context.Context, i1 *ssooidc.CreateTokenInput, i2 ...request.Option) (r0 *ssooidc.CreateTokenOutput, r1 error)
func (*SSOOIDCDouble) RegisterClient ¶
func (d *SSOOIDCDouble) RegisterClient(i0 *ssooidc.RegisterClientInput) (r0 *ssooidc.RegisterClientOutput, r1 error)
func (*SSOOIDCDouble) RegisterClientRequest ¶
func (d *SSOOIDCDouble) RegisterClientRequest(i0 *ssooidc.RegisterClientInput) (r0 *request.Request, r1 *ssooidc.RegisterClientOutput)
func (*SSOOIDCDouble) RegisterClientWithContext ¶
func (d *SSOOIDCDouble) RegisterClientWithContext(i0 context.Context, i1 *ssooidc.RegisterClientInput, i2 ...request.Option) (r0 *ssooidc.RegisterClientOutput, r1 error)
func (*SSOOIDCDouble) StartDeviceAuthorization ¶
func (d *SSOOIDCDouble) StartDeviceAuthorization(i0 *ssooidc.StartDeviceAuthorizationInput) (r0 *ssooidc.StartDeviceAuthorizationOutput, r1 error)
func (*SSOOIDCDouble) StartDeviceAuthorizationRequest ¶
func (d *SSOOIDCDouble) StartDeviceAuthorizationRequest(i0 *ssooidc.StartDeviceAuthorizationInput) (r0 *request.Request, r1 *ssooidc.StartDeviceAuthorizationOutput)
func (*SSOOIDCDouble) StartDeviceAuthorizationWithContext ¶
func (d *SSOOIDCDouble) StartDeviceAuthorizationWithContext(i0 context.Context, i1 *ssooidc.StartDeviceAuthorizationInput, i2 ...request.Option) (r0 *ssooidc.StartDeviceAuthorizationOutput, r1 error)