qldbdouble

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 qldbdouble contains test double implementation of qldbiface.QLDBAPI

Package qldbdouble provides a TestDouble implementation of qldbiface.QLDBAPI

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 QLDBDouble

type QLDBDouble struct {
	qldbiface.QLDBAPI
	*awsdouble.AWSTestDouble
}

QLDBDouble is TestDouble for qldbiface.QLDBAPI

func NewDouble

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

Constructor for QLDBDouble 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 (*QLDBDouble) CreateLedger

func (d *QLDBDouble) CreateLedger(i0 *qldb.CreateLedgerInput) (r0 *qldb.CreateLedgerOutput, r1 error)

func (*QLDBDouble) CreateLedgerRequest

func (d *QLDBDouble) CreateLedgerRequest(i0 *qldb.CreateLedgerInput) (r0 *request.Request, r1 *qldb.CreateLedgerOutput)

func (*QLDBDouble) CreateLedgerWithContext

func (d *QLDBDouble) CreateLedgerWithContext(i0 context.Context, i1 *qldb.CreateLedgerInput, i2 ...request.Option) (r0 *qldb.CreateLedgerOutput, r1 error)

func (*QLDBDouble) DeleteLedger

func (d *QLDBDouble) DeleteLedger(i0 *qldb.DeleteLedgerInput) (r0 *qldb.DeleteLedgerOutput, r1 error)

func (*QLDBDouble) DeleteLedgerRequest

func (d *QLDBDouble) DeleteLedgerRequest(i0 *qldb.DeleteLedgerInput) (r0 *request.Request, r1 *qldb.DeleteLedgerOutput)

func (*QLDBDouble) DeleteLedgerWithContext

func (d *QLDBDouble) DeleteLedgerWithContext(i0 context.Context, i1 *qldb.DeleteLedgerInput, i2 ...request.Option) (r0 *qldb.DeleteLedgerOutput, r1 error)

func (*QLDBDouble) DescribeJournalS3Export

func (d *QLDBDouble) DescribeJournalS3Export(i0 *qldb.DescribeJournalS3ExportInput) (r0 *qldb.DescribeJournalS3ExportOutput, r1 error)

func (*QLDBDouble) DescribeJournalS3ExportRequest

func (d *QLDBDouble) DescribeJournalS3ExportRequest(i0 *qldb.DescribeJournalS3ExportInput) (r0 *request.Request, r1 *qldb.DescribeJournalS3ExportOutput)

func (*QLDBDouble) DescribeJournalS3ExportWithContext

func (d *QLDBDouble) DescribeJournalS3ExportWithContext(i0 context.Context, i1 *qldb.DescribeJournalS3ExportInput, i2 ...request.Option) (r0 *qldb.DescribeJournalS3ExportOutput, r1 error)

func (*QLDBDouble) DescribeLedger

func (d *QLDBDouble) DescribeLedger(i0 *qldb.DescribeLedgerInput) (r0 *qldb.DescribeLedgerOutput, r1 error)

func (*QLDBDouble) DescribeLedgerRequest

func (d *QLDBDouble) DescribeLedgerRequest(i0 *qldb.DescribeLedgerInput) (r0 *request.Request, r1 *qldb.DescribeLedgerOutput)

func (*QLDBDouble) DescribeLedgerWithContext

func (d *QLDBDouble) DescribeLedgerWithContext(i0 context.Context, i1 *qldb.DescribeLedgerInput, i2 ...request.Option) (r0 *qldb.DescribeLedgerOutput, r1 error)

func (*QLDBDouble) ExportJournalToS3

func (d *QLDBDouble) ExportJournalToS3(i0 *qldb.ExportJournalToS3Input) (r0 *qldb.ExportJournalToS3Output, r1 error)

func (*QLDBDouble) ExportJournalToS3Request

func (d *QLDBDouble) ExportJournalToS3Request(i0 *qldb.ExportJournalToS3Input) (r0 *request.Request, r1 *qldb.ExportJournalToS3Output)

func (*QLDBDouble) ExportJournalToS3WithContext

func (d *QLDBDouble) ExportJournalToS3WithContext(i0 context.Context, i1 *qldb.ExportJournalToS3Input, i2 ...request.Option) (r0 *qldb.ExportJournalToS3Output, r1 error)

func (*QLDBDouble) GetBlock

func (d *QLDBDouble) GetBlock(i0 *qldb.GetBlockInput) (r0 *qldb.GetBlockOutput, r1 error)

func (*QLDBDouble) GetBlockRequest

func (d *QLDBDouble) GetBlockRequest(i0 *qldb.GetBlockInput) (r0 *request.Request, r1 *qldb.GetBlockOutput)

func (*QLDBDouble) GetBlockWithContext

func (d *QLDBDouble) GetBlockWithContext(i0 context.Context, i1 *qldb.GetBlockInput, i2 ...request.Option) (r0 *qldb.GetBlockOutput, r1 error)

func (*QLDBDouble) GetDigest

func (d *QLDBDouble) GetDigest(i0 *qldb.GetDigestInput) (r0 *qldb.GetDigestOutput, r1 error)

func (*QLDBDouble) GetDigestRequest

func (d *QLDBDouble) GetDigestRequest(i0 *qldb.GetDigestInput) (r0 *request.Request, r1 *qldb.GetDigestOutput)

func (*QLDBDouble) GetDigestWithContext

func (d *QLDBDouble) GetDigestWithContext(i0 context.Context, i1 *qldb.GetDigestInput, i2 ...request.Option) (r0 *qldb.GetDigestOutput, r1 error)

func (*QLDBDouble) GetRevision

func (d *QLDBDouble) GetRevision(i0 *qldb.GetRevisionInput) (r0 *qldb.GetRevisionOutput, r1 error)

func (*QLDBDouble) GetRevisionRequest

func (d *QLDBDouble) GetRevisionRequest(i0 *qldb.GetRevisionInput) (r0 *request.Request, r1 *qldb.GetRevisionOutput)

func (*QLDBDouble) GetRevisionWithContext

func (d *QLDBDouble) GetRevisionWithContext(i0 context.Context, i1 *qldb.GetRevisionInput, i2 ...request.Option) (r0 *qldb.GetRevisionOutput, r1 error)

func (*QLDBDouble) ListJournalS3Exports

func (d *QLDBDouble) ListJournalS3Exports(i0 *qldb.ListJournalS3ExportsInput) (r0 *qldb.ListJournalS3ExportsOutput, r1 error)

func (*QLDBDouble) ListJournalS3ExportsForLedger

func (d *QLDBDouble) ListJournalS3ExportsForLedger(i0 *qldb.ListJournalS3ExportsForLedgerInput) (r0 *qldb.ListJournalS3ExportsForLedgerOutput, r1 error)

func (*QLDBDouble) ListJournalS3ExportsForLedgerPages

func (d *QLDBDouble) ListJournalS3ExportsForLedgerPages(i0 *qldb.ListJournalS3ExportsForLedgerInput, i1 func(*qldb.ListJournalS3ExportsForLedgerOutput, bool) bool) (r0 error)

func (*QLDBDouble) ListJournalS3ExportsForLedgerPagesWithContext

func (d *QLDBDouble) ListJournalS3ExportsForLedgerPagesWithContext(i0 context.Context, i1 *qldb.ListJournalS3ExportsForLedgerInput, i2 func(*qldb.ListJournalS3ExportsForLedgerOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*QLDBDouble) ListJournalS3ExportsForLedgerWithContext

func (d *QLDBDouble) ListJournalS3ExportsForLedgerWithContext(i0 context.Context, i1 *qldb.ListJournalS3ExportsForLedgerInput, i2 ...request.Option) (r0 *qldb.ListJournalS3ExportsForLedgerOutput, r1 error)

func (*QLDBDouble) ListJournalS3ExportsPages

func (d *QLDBDouble) ListJournalS3ExportsPages(i0 *qldb.ListJournalS3ExportsInput, i1 func(*qldb.ListJournalS3ExportsOutput, bool) bool) (r0 error)

func (*QLDBDouble) ListJournalS3ExportsPagesWithContext

func (d *QLDBDouble) ListJournalS3ExportsPagesWithContext(i0 context.Context, i1 *qldb.ListJournalS3ExportsInput, i2 func(*qldb.ListJournalS3ExportsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*QLDBDouble) ListJournalS3ExportsRequest

func (d *QLDBDouble) ListJournalS3ExportsRequest(i0 *qldb.ListJournalS3ExportsInput) (r0 *request.Request, r1 *qldb.ListJournalS3ExportsOutput)

func (*QLDBDouble) ListJournalS3ExportsWithContext

func (d *QLDBDouble) ListJournalS3ExportsWithContext(i0 context.Context, i1 *qldb.ListJournalS3ExportsInput, i2 ...request.Option) (r0 *qldb.ListJournalS3ExportsOutput, r1 error)

func (*QLDBDouble) ListLedgers

func (d *QLDBDouble) ListLedgers(i0 *qldb.ListLedgersInput) (r0 *qldb.ListLedgersOutput, r1 error)

func (*QLDBDouble) ListLedgersPages

func (d *QLDBDouble) ListLedgersPages(i0 *qldb.ListLedgersInput, i1 func(*qldb.ListLedgersOutput, bool) bool) (r0 error)

func (*QLDBDouble) ListLedgersPagesWithContext

func (d *QLDBDouble) ListLedgersPagesWithContext(i0 context.Context, i1 *qldb.ListLedgersInput, i2 func(*qldb.ListLedgersOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*QLDBDouble) ListLedgersRequest

func (d *QLDBDouble) ListLedgersRequest(i0 *qldb.ListLedgersInput) (r0 *request.Request, r1 *qldb.ListLedgersOutput)

func (*QLDBDouble) ListLedgersWithContext

func (d *QLDBDouble) ListLedgersWithContext(i0 context.Context, i1 *qldb.ListLedgersInput, i2 ...request.Option) (r0 *qldb.ListLedgersOutput, r1 error)

func (*QLDBDouble) ListTagsForResource

func (d *QLDBDouble) ListTagsForResource(i0 *qldb.ListTagsForResourceInput) (r0 *qldb.ListTagsForResourceOutput, r1 error)

func (*QLDBDouble) ListTagsForResourceRequest

func (d *QLDBDouble) ListTagsForResourceRequest(i0 *qldb.ListTagsForResourceInput) (r0 *request.Request, r1 *qldb.ListTagsForResourceOutput)

func (*QLDBDouble) ListTagsForResourceWithContext

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

func (*QLDBDouble) TagResource

func (d *QLDBDouble) TagResource(i0 *qldb.TagResourceInput) (r0 *qldb.TagResourceOutput, r1 error)

func (*QLDBDouble) TagResourceRequest

func (d *QLDBDouble) TagResourceRequest(i0 *qldb.TagResourceInput) (r0 *request.Request, r1 *qldb.TagResourceOutput)

func (*QLDBDouble) TagResourceWithContext

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

func (*QLDBDouble) UntagResource

func (d *QLDBDouble) UntagResource(i0 *qldb.UntagResourceInput) (r0 *qldb.UntagResourceOutput, r1 error)

func (*QLDBDouble) UntagResourceRequest

func (d *QLDBDouble) UntagResourceRequest(i0 *qldb.UntagResourceInput) (r0 *request.Request, r1 *qldb.UntagResourceOutput)

func (*QLDBDouble) UntagResourceWithContext

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

func (*QLDBDouble) UpdateLedger

func (d *QLDBDouble) UpdateLedger(i0 *qldb.UpdateLedgerInput) (r0 *qldb.UpdateLedgerOutput, r1 error)

func (*QLDBDouble) UpdateLedgerRequest

func (d *QLDBDouble) UpdateLedgerRequest(i0 *qldb.UpdateLedgerInput) (r0 *request.Request, r1 *qldb.UpdateLedgerOutput)

func (*QLDBDouble) UpdateLedgerWithContext

func (d *QLDBDouble) UpdateLedgerWithContext(i0 context.Context, i1 *qldb.UpdateLedgerInput, i2 ...request.Option) (r0 *qldb.UpdateLedgerOutput, r1 error)

Jump to

Keyboard shortcuts

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