mocks

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2025 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) AcceptDataGrant added in v0.1.0

func (_m *IClient) AcceptDataGrant(ctx context.Context, params *dataexchange.AcceptDataGrantInput, optFns ...func(*dataexchange.Options)) (*dataexchange.AcceptDataGrantOutput, error)

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

func (*IClient) CancelJob

func (_m *IClient) CancelJob(ctx context.Context, params *dataexchange.CancelJobInput, optFns ...func(*dataexchange.Options)) (*dataexchange.CancelJobOutput, error)

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

func (*IClient) CreateDataGrant added in v0.1.0

func (_m *IClient) CreateDataGrant(ctx context.Context, params *dataexchange.CreateDataGrantInput, optFns ...func(*dataexchange.Options)) (*dataexchange.CreateDataGrantOutput, error)

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

func (*IClient) CreateDataSet

func (_m *IClient) CreateDataSet(ctx context.Context, params *dataexchange.CreateDataSetInput, optFns ...func(*dataexchange.Options)) (*dataexchange.CreateDataSetOutput, error)

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

func (*IClient) CreateEventAction

func (_m *IClient) CreateEventAction(ctx context.Context, params *dataexchange.CreateEventActionInput, optFns ...func(*dataexchange.Options)) (*dataexchange.CreateEventActionOutput, error)

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

func (*IClient) CreateJob

func (_m *IClient) CreateJob(ctx context.Context, params *dataexchange.CreateJobInput, optFns ...func(*dataexchange.Options)) (*dataexchange.CreateJobOutput, error)

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

func (*IClient) CreateRevision

func (_m *IClient) CreateRevision(ctx context.Context, params *dataexchange.CreateRevisionInput, optFns ...func(*dataexchange.Options)) (*dataexchange.CreateRevisionOutput, error)

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

func (*IClient) DeleteAsset

func (_m *IClient) DeleteAsset(ctx context.Context, params *dataexchange.DeleteAssetInput, optFns ...func(*dataexchange.Options)) (*dataexchange.DeleteAssetOutput, error)

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

func (*IClient) DeleteDataGrant added in v0.1.0

func (_m *IClient) DeleteDataGrant(ctx context.Context, params *dataexchange.DeleteDataGrantInput, optFns ...func(*dataexchange.Options)) (*dataexchange.DeleteDataGrantOutput, error)

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

func (*IClient) DeleteDataSet

func (_m *IClient) DeleteDataSet(ctx context.Context, params *dataexchange.DeleteDataSetInput, optFns ...func(*dataexchange.Options)) (*dataexchange.DeleteDataSetOutput, error)

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

func (*IClient) DeleteEventAction

func (_m *IClient) DeleteEventAction(ctx context.Context, params *dataexchange.DeleteEventActionInput, optFns ...func(*dataexchange.Options)) (*dataexchange.DeleteEventActionOutput, error)

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

func (*IClient) DeleteRevision

func (_m *IClient) DeleteRevision(ctx context.Context, params *dataexchange.DeleteRevisionInput, optFns ...func(*dataexchange.Options)) (*dataexchange.DeleteRevisionOutput, error)

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

func (*IClient) GetAsset

func (_m *IClient) GetAsset(ctx context.Context, params *dataexchange.GetAssetInput, optFns ...func(*dataexchange.Options)) (*dataexchange.GetAssetOutput, error)

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

func (*IClient) GetDataGrant added in v0.1.0

func (_m *IClient) GetDataGrant(ctx context.Context, params *dataexchange.GetDataGrantInput, optFns ...func(*dataexchange.Options)) (*dataexchange.GetDataGrantOutput, error)

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

func (*IClient) GetDataSet

func (_m *IClient) GetDataSet(ctx context.Context, params *dataexchange.GetDataSetInput, optFns ...func(*dataexchange.Options)) (*dataexchange.GetDataSetOutput, error)

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

func (*IClient) GetEventAction

func (_m *IClient) GetEventAction(ctx context.Context, params *dataexchange.GetEventActionInput, optFns ...func(*dataexchange.Options)) (*dataexchange.GetEventActionOutput, error)

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

func (*IClient) GetJob

func (_m *IClient) GetJob(ctx context.Context, params *dataexchange.GetJobInput, optFns ...func(*dataexchange.Options)) (*dataexchange.GetJobOutput, error)

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

func (*IClient) GetReceivedDataGrant added in v0.1.0

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

func (*IClient) GetRevision

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

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

func (*IClient) ListDataGrants added in v0.1.0

func (_m *IClient) ListDataGrants(ctx context.Context, params *dataexchange.ListDataGrantsInput, optFns ...func(*dataexchange.Options)) (*dataexchange.ListDataGrantsOutput, error)

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

func (*IClient) ListDataSetRevisions

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

func (*IClient) ListDataSets

func (_m *IClient) ListDataSets(ctx context.Context, params *dataexchange.ListDataSetsInput, optFns ...func(*dataexchange.Options)) (*dataexchange.ListDataSetsOutput, error)

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

func (*IClient) ListEventActions

func (_m *IClient) ListEventActions(ctx context.Context, params *dataexchange.ListEventActionsInput, optFns ...func(*dataexchange.Options)) (*dataexchange.ListEventActionsOutput, error)

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

func (*IClient) ListJobs

func (_m *IClient) ListJobs(ctx context.Context, params *dataexchange.ListJobsInput, optFns ...func(*dataexchange.Options)) (*dataexchange.ListJobsOutput, error)

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

func (*IClient) ListReceivedDataGrants added in v0.1.0

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

func (*IClient) ListRevisionAssets

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

func (*IClient) ListTagsForResource

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) RevokeRevision

func (_m *IClient) RevokeRevision(ctx context.Context, params *dataexchange.RevokeRevisionInput, optFns ...func(*dataexchange.Options)) (*dataexchange.RevokeRevisionOutput, error)

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

func (*IClient) SendApiAsset

func (_m *IClient) SendApiAsset(ctx context.Context, params *dataexchange.SendApiAssetInput, optFns ...func(*dataexchange.Options)) (*dataexchange.SendApiAssetOutput, error)

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

func (*IClient) SendDataSetNotification

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

func (*IClient) StartJob

func (_m *IClient) StartJob(ctx context.Context, params *dataexchange.StartJobInput, optFns ...func(*dataexchange.Options)) (*dataexchange.StartJobOutput, error)

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

func (*IClient) TagResource

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

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateAsset

func (_m *IClient) UpdateAsset(ctx context.Context, params *dataexchange.UpdateAssetInput, optFns ...func(*dataexchange.Options)) (*dataexchange.UpdateAssetOutput, error)

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

func (*IClient) UpdateDataSet

func (_m *IClient) UpdateDataSet(ctx context.Context, params *dataexchange.UpdateDataSetInput, optFns ...func(*dataexchange.Options)) (*dataexchange.UpdateDataSetOutput, error)

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

func (*IClient) UpdateEventAction

func (_m *IClient) UpdateEventAction(ctx context.Context, params *dataexchange.UpdateEventActionInput, optFns ...func(*dataexchange.Options)) (*dataexchange.UpdateEventActionOutput, error)

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

func (*IClient) UpdateRevision

func (_m *IClient) UpdateRevision(ctx context.Context, params *dataexchange.UpdateRevisionInput, optFns ...func(*dataexchange.Options)) (*dataexchange.UpdateRevisionOutput, error)

UpdateRevision 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