signerdouble

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: 8 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 signerdouble contains test double implementation of signeriface.SignerAPI

Package signerdouble provides a TestDouble implementation of signeriface.SignerAPI

Code generated by go awsdoublegen; DO NOT EDIT. This file was generated at 2020-01-29T21:22:05+11:00

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 SignerDouble

type SignerDouble struct {
	signeriface.SignerAPI
	*awsdouble.AWSTestDouble
}

SignerDouble is TestDouble for signeriface.SignerAPI

func NewDouble

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

Constructor for SignerDouble 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 (*SignerDouble) CancelSigningProfile

func (*SignerDouble) CancelSigningProfileRequest

func (d *SignerDouble) CancelSigningProfileRequest(i0 *signer.CancelSigningProfileInput) (r0 *request.Request, r1 *signer.CancelSigningProfileOutput)

func (*SignerDouble) CancelSigningProfileWithContext

func (d *SignerDouble) CancelSigningProfileWithContext(i0 context.Context, i1 *signer.CancelSigningProfileInput, i2 ...request.Option) (r0 *signer.CancelSigningProfileOutput, r1 error)

func (*SignerDouble) DescribeSigningJob

func (d *SignerDouble) DescribeSigningJob(i0 *signer.DescribeSigningJobInput) (r0 *signer.DescribeSigningJobOutput, r1 error)

func (*SignerDouble) DescribeSigningJobRequest

func (d *SignerDouble) DescribeSigningJobRequest(i0 *signer.DescribeSigningJobInput) (r0 *request.Request, r1 *signer.DescribeSigningJobOutput)

func (*SignerDouble) DescribeSigningJobWithContext

func (d *SignerDouble) DescribeSigningJobWithContext(i0 context.Context, i1 *signer.DescribeSigningJobInput, i2 ...request.Option) (r0 *signer.DescribeSigningJobOutput, r1 error)

func (*SignerDouble) GetSigningPlatform

func (d *SignerDouble) GetSigningPlatform(i0 *signer.GetSigningPlatformInput) (r0 *signer.GetSigningPlatformOutput, r1 error)

func (*SignerDouble) GetSigningPlatformRequest

func (d *SignerDouble) GetSigningPlatformRequest(i0 *signer.GetSigningPlatformInput) (r0 *request.Request, r1 *signer.GetSigningPlatformOutput)

func (*SignerDouble) GetSigningPlatformWithContext

func (d *SignerDouble) GetSigningPlatformWithContext(i0 context.Context, i1 *signer.GetSigningPlatformInput, i2 ...request.Option) (r0 *signer.GetSigningPlatformOutput, r1 error)

func (*SignerDouble) GetSigningProfile

func (d *SignerDouble) GetSigningProfile(i0 *signer.GetSigningProfileInput) (r0 *signer.GetSigningProfileOutput, r1 error)

func (*SignerDouble) GetSigningProfileRequest

func (d *SignerDouble) GetSigningProfileRequest(i0 *signer.GetSigningProfileInput) (r0 *request.Request, r1 *signer.GetSigningProfileOutput)

func (*SignerDouble) GetSigningProfileWithContext

func (d *SignerDouble) GetSigningProfileWithContext(i0 context.Context, i1 *signer.GetSigningProfileInput, i2 ...request.Option) (r0 *signer.GetSigningProfileOutput, r1 error)

func (*SignerDouble) ListSigningJobs

func (d *SignerDouble) ListSigningJobs(i0 *signer.ListSigningJobsInput) (r0 *signer.ListSigningJobsOutput, r1 error)

func (*SignerDouble) ListSigningJobsPages

func (d *SignerDouble) ListSigningJobsPages(i0 *signer.ListSigningJobsInput, i1 func(*signer.ListSigningJobsOutput, bool) bool) (r0 error)

func (*SignerDouble) ListSigningJobsPagesWithContext

func (d *SignerDouble) ListSigningJobsPagesWithContext(i0 context.Context, i1 *signer.ListSigningJobsInput, i2 func(*signer.ListSigningJobsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*SignerDouble) ListSigningJobsRequest

func (d *SignerDouble) ListSigningJobsRequest(i0 *signer.ListSigningJobsInput) (r0 *request.Request, r1 *signer.ListSigningJobsOutput)

func (*SignerDouble) ListSigningJobsWithContext

func (d *SignerDouble) ListSigningJobsWithContext(i0 context.Context, i1 *signer.ListSigningJobsInput, i2 ...request.Option) (r0 *signer.ListSigningJobsOutput, r1 error)

func (*SignerDouble) ListSigningPlatforms

func (*SignerDouble) ListSigningPlatformsPages

func (d *SignerDouble) ListSigningPlatformsPages(i0 *signer.ListSigningPlatformsInput, i1 func(*signer.ListSigningPlatformsOutput, bool) bool) (r0 error)

func (*SignerDouble) ListSigningPlatformsPagesWithContext

func (d *SignerDouble) ListSigningPlatformsPagesWithContext(i0 context.Context, i1 *signer.ListSigningPlatformsInput, i2 func(*signer.ListSigningPlatformsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*SignerDouble) ListSigningPlatformsRequest

func (d *SignerDouble) ListSigningPlatformsRequest(i0 *signer.ListSigningPlatformsInput) (r0 *request.Request, r1 *signer.ListSigningPlatformsOutput)

func (*SignerDouble) ListSigningPlatformsWithContext

func (d *SignerDouble) ListSigningPlatformsWithContext(i0 context.Context, i1 *signer.ListSigningPlatformsInput, i2 ...request.Option) (r0 *signer.ListSigningPlatformsOutput, r1 error)

func (*SignerDouble) ListSigningProfiles

func (d *SignerDouble) ListSigningProfiles(i0 *signer.ListSigningProfilesInput) (r0 *signer.ListSigningProfilesOutput, r1 error)

func (*SignerDouble) ListSigningProfilesPages

func (d *SignerDouble) ListSigningProfilesPages(i0 *signer.ListSigningProfilesInput, i1 func(*signer.ListSigningProfilesOutput, bool) bool) (r0 error)

func (*SignerDouble) ListSigningProfilesPagesWithContext

func (d *SignerDouble) ListSigningProfilesPagesWithContext(i0 context.Context, i1 *signer.ListSigningProfilesInput, i2 func(*signer.ListSigningProfilesOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*SignerDouble) ListSigningProfilesRequest

func (d *SignerDouble) ListSigningProfilesRequest(i0 *signer.ListSigningProfilesInput) (r0 *request.Request, r1 *signer.ListSigningProfilesOutput)

func (*SignerDouble) ListSigningProfilesWithContext

func (d *SignerDouble) ListSigningProfilesWithContext(i0 context.Context, i1 *signer.ListSigningProfilesInput, i2 ...request.Option) (r0 *signer.ListSigningProfilesOutput, r1 error)

func (*SignerDouble) ListTagsForResource

func (d *SignerDouble) ListTagsForResource(i0 *signer.ListTagsForResourceInput) (r0 *signer.ListTagsForResourceOutput, r1 error)

func (*SignerDouble) ListTagsForResourceRequest

func (d *SignerDouble) ListTagsForResourceRequest(i0 *signer.ListTagsForResourceInput) (r0 *request.Request, r1 *signer.ListTagsForResourceOutput)

func (*SignerDouble) ListTagsForResourceWithContext

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

func (*SignerDouble) PutSigningProfile

func (d *SignerDouble) PutSigningProfile(i0 *signer.PutSigningProfileInput) (r0 *signer.PutSigningProfileOutput, r1 error)

func (*SignerDouble) PutSigningProfileRequest

func (d *SignerDouble) PutSigningProfileRequest(i0 *signer.PutSigningProfileInput) (r0 *request.Request, r1 *signer.PutSigningProfileOutput)

func (*SignerDouble) PutSigningProfileWithContext

func (d *SignerDouble) PutSigningProfileWithContext(i0 context.Context, i1 *signer.PutSigningProfileInput, i2 ...request.Option) (r0 *signer.PutSigningProfileOutput, r1 error)

func (*SignerDouble) StartSigningJob

func (d *SignerDouble) StartSigningJob(i0 *signer.StartSigningJobInput) (r0 *signer.StartSigningJobOutput, r1 error)

func (*SignerDouble) StartSigningJobRequest

func (d *SignerDouble) StartSigningJobRequest(i0 *signer.StartSigningJobInput) (r0 *request.Request, r1 *signer.StartSigningJobOutput)

func (*SignerDouble) StartSigningJobWithContext

func (d *SignerDouble) StartSigningJobWithContext(i0 context.Context, i1 *signer.StartSigningJobInput, i2 ...request.Option) (r0 *signer.StartSigningJobOutput, r1 error)

func (*SignerDouble) TagResource

func (d *SignerDouble) TagResource(i0 *signer.TagResourceInput) (r0 *signer.TagResourceOutput, r1 error)

func (*SignerDouble) TagResourceRequest

func (d *SignerDouble) TagResourceRequest(i0 *signer.TagResourceInput) (r0 *request.Request, r1 *signer.TagResourceOutput)

func (*SignerDouble) TagResourceWithContext

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

func (*SignerDouble) UntagResource

func (d *SignerDouble) UntagResource(i0 *signer.UntagResourceInput) (r0 *signer.UntagResourceOutput, r1 error)

func (*SignerDouble) UntagResourceRequest

func (d *SignerDouble) UntagResourceRequest(i0 *signer.UntagResourceInput) (r0 *request.Request, r1 *signer.UntagResourceOutput)

func (*SignerDouble) UntagResourceWithContext

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

func (*SignerDouble) WaitUntilSuccessfulSigningJob

func (d *SignerDouble) WaitUntilSuccessfulSigningJob(i0 *signer.DescribeSigningJobInput) (r0 error)

func (*SignerDouble) WaitUntilSuccessfulSigningJobWithContext

func (d *SignerDouble) WaitUntilSuccessfulSigningJobWithContext(i0 context.Context, i1 *signer.DescribeSigningJobInput, i2 ...request.WaiterOption) (r0 error)

Jump to

Keyboard shortcuts

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