mocks

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IClient

type IClient struct {
	mock.Mock
}

IClient is an autogenerated mock type for the IClient type

func NewIClient

func NewIClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *IClient

NewIClient creates a new instance of IClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*IClient) CancelJournalKinesisStream

func (_m *IClient) CancelJournalKinesisStream(ctx context.Context, params *qldb.CancelJournalKinesisStreamInput, optFns ...func(*qldb.Options)) (*qldb.CancelJournalKinesisStreamOutput, error)

CancelJournalKinesisStream provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateLedger

func (_m *IClient) CreateLedger(ctx context.Context, params *qldb.CreateLedgerInput, optFns ...func(*qldb.Options)) (*qldb.CreateLedgerOutput, error)

CreateLedger provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteLedger

func (_m *IClient) DeleteLedger(ctx context.Context, params *qldb.DeleteLedgerInput, optFns ...func(*qldb.Options)) (*qldb.DeleteLedgerOutput, error)

DeleteLedger provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeJournalKinesisStream

func (_m *IClient) DescribeJournalKinesisStream(ctx context.Context, params *qldb.DescribeJournalKinesisStreamInput, optFns ...func(*qldb.Options)) (*qldb.DescribeJournalKinesisStreamOutput, error)

DescribeJournalKinesisStream provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeJournalS3Export

func (_m *IClient) DescribeJournalS3Export(ctx context.Context, params *qldb.DescribeJournalS3ExportInput, optFns ...func(*qldb.Options)) (*qldb.DescribeJournalS3ExportOutput, error)

DescribeJournalS3Export provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeLedger

func (_m *IClient) DescribeLedger(ctx context.Context, params *qldb.DescribeLedgerInput, optFns ...func(*qldb.Options)) (*qldb.DescribeLedgerOutput, error)

DescribeLedger provides a mock function with given fields: ctx, params, optFns

func (*IClient) ExportJournalToS3

func (_m *IClient) ExportJournalToS3(ctx context.Context, params *qldb.ExportJournalToS3Input, optFns ...func(*qldb.Options)) (*qldb.ExportJournalToS3Output, error)

ExportJournalToS3 provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetBlock

func (_m *IClient) GetBlock(ctx context.Context, params *qldb.GetBlockInput, optFns ...func(*qldb.Options)) (*qldb.GetBlockOutput, error)

GetBlock provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetDigest

func (_m *IClient) GetDigest(ctx context.Context, params *qldb.GetDigestInput, optFns ...func(*qldb.Options)) (*qldb.GetDigestOutput, error)

GetDigest provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetRevision

func (_m *IClient) GetRevision(ctx context.Context, params *qldb.GetRevisionInput, optFns ...func(*qldb.Options)) (*qldb.GetRevisionOutput, error)

GetRevision provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListJournalKinesisStreamsForLedger

func (_m *IClient) ListJournalKinesisStreamsForLedger(ctx context.Context, params *qldb.ListJournalKinesisStreamsForLedgerInput, optFns ...func(*qldb.Options)) (*qldb.ListJournalKinesisStreamsForLedgerOutput, error)

ListJournalKinesisStreamsForLedger provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListJournalS3Exports

func (_m *IClient) ListJournalS3Exports(ctx context.Context, params *qldb.ListJournalS3ExportsInput, optFns ...func(*qldb.Options)) (*qldb.ListJournalS3ExportsOutput, error)

ListJournalS3Exports provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListJournalS3ExportsForLedger

func (_m *IClient) ListJournalS3ExportsForLedger(ctx context.Context, params *qldb.ListJournalS3ExportsForLedgerInput, optFns ...func(*qldb.Options)) (*qldb.ListJournalS3ExportsForLedgerOutput, error)

ListJournalS3ExportsForLedger provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListLedgers

func (_m *IClient) ListLedgers(ctx context.Context, params *qldb.ListLedgersInput, optFns ...func(*qldb.Options)) (*qldb.ListLedgersOutput, error)

ListLedgers provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListTagsForResource

func (_m *IClient) ListTagsForResource(ctx context.Context, params *qldb.ListTagsForResourceInput, optFns ...func(*qldb.Options)) (*qldb.ListTagsForResourceOutput, error)

ListTagsForResource provides a mock function with given fields: ctx, params, optFns

func (*IClient) Options

func (_m *IClient) Options() qldb.Options

Options provides a mock function with given fields:

func (*IClient) StreamJournalToKinesis

func (_m *IClient) StreamJournalToKinesis(ctx context.Context, params *qldb.StreamJournalToKinesisInput, optFns ...func(*qldb.Options)) (*qldb.StreamJournalToKinesisOutput, error)

StreamJournalToKinesis provides a mock function with given fields: ctx, params, optFns

func (*IClient) TagResource

func (_m *IClient) TagResource(ctx context.Context, params *qldb.TagResourceInput, optFns ...func(*qldb.Options)) (*qldb.TagResourceOutput, error)

TagResource provides a mock function with given fields: ctx, params, optFns

func (*IClient) UntagResource

func (_m *IClient) UntagResource(ctx context.Context, params *qldb.UntagResourceInput, optFns ...func(*qldb.Options)) (*qldb.UntagResourceOutput, error)

UntagResource provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateLedger

func (_m *IClient) UpdateLedger(ctx context.Context, params *qldb.UpdateLedgerInput, optFns ...func(*qldb.Options)) (*qldb.UpdateLedgerOutput, error)

UpdateLedger provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateLedgerPermissionsMode

func (_m *IClient) UpdateLedgerPermissionsMode(ctx context.Context, params *qldb.UpdateLedgerPermissionsModeInput, optFns ...func(*qldb.Options)) (*qldb.UpdateLedgerPermissionsModeOutput, error)

UpdateLedgerPermissionsMode provides a mock function with given fields: ctx, params, optFns

Jump to

Keyboard shortcuts

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