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) CompleteSnapshot

func (_m *IClient) CompleteSnapshot(ctx context.Context, params *ebs.CompleteSnapshotInput, optFns ...func(*ebs.Options)) (*ebs.CompleteSnapshotOutput, error)

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

func (*IClient) GetSnapshotBlock

func (_m *IClient) GetSnapshotBlock(ctx context.Context, params *ebs.GetSnapshotBlockInput, optFns ...func(*ebs.Options)) (*ebs.GetSnapshotBlockOutput, error)

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

func (*IClient) ListChangedBlocks

func (_m *IClient) ListChangedBlocks(ctx context.Context, params *ebs.ListChangedBlocksInput, optFns ...func(*ebs.Options)) (*ebs.ListChangedBlocksOutput, error)

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

func (*IClient) ListSnapshotBlocks

func (_m *IClient) ListSnapshotBlocks(ctx context.Context, params *ebs.ListSnapshotBlocksInput, optFns ...func(*ebs.Options)) (*ebs.ListSnapshotBlocksOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) PutSnapshotBlock

func (_m *IClient) PutSnapshotBlock(ctx context.Context, params *ebs.PutSnapshotBlockInput, optFns ...func(*ebs.Options)) (*ebs.PutSnapshotBlockOutput, error)

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

func (*IClient) StartSnapshot

func (_m *IClient) StartSnapshot(ctx context.Context, params *ebs.StartSnapshotInput, optFns ...func(*ebs.Options)) (*ebs.StartSnapshotOutput, error)

StartSnapshot 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