mocks

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 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) AddTags

func (_m *IClient) AddTags(ctx context.Context, params *cloudtrail.AddTagsInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.AddTagsOutput, error)

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

func (*IClient) CancelQuery

func (_m *IClient) CancelQuery(ctx context.Context, params *cloudtrail.CancelQueryInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.CancelQueryOutput, error)

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

func (*IClient) CreateChannel

func (_m *IClient) CreateChannel(ctx context.Context, params *cloudtrail.CreateChannelInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.CreateChannelOutput, error)

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

func (*IClient) CreateEventDataStore

func (_m *IClient) CreateEventDataStore(ctx context.Context, params *cloudtrail.CreateEventDataStoreInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.CreateEventDataStoreOutput, error)

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

func (*IClient) CreateTrail

func (_m *IClient) CreateTrail(ctx context.Context, params *cloudtrail.CreateTrailInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.CreateTrailOutput, error)

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

func (*IClient) DeleteChannel

func (_m *IClient) DeleteChannel(ctx context.Context, params *cloudtrail.DeleteChannelInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.DeleteChannelOutput, error)

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

func (*IClient) DeleteEventDataStore

func (_m *IClient) DeleteEventDataStore(ctx context.Context, params *cloudtrail.DeleteEventDataStoreInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.DeleteEventDataStoreOutput, error)

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

func (*IClient) DeleteResourcePolicy

func (_m *IClient) DeleteResourcePolicy(ctx context.Context, params *cloudtrail.DeleteResourcePolicyInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.DeleteResourcePolicyOutput, error)

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

func (*IClient) DeleteTrail

func (_m *IClient) DeleteTrail(ctx context.Context, params *cloudtrail.DeleteTrailInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.DeleteTrailOutput, error)

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

func (*IClient) DeregisterOrganizationDelegatedAdmin

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

func (*IClient) DescribeQuery

func (_m *IClient) DescribeQuery(ctx context.Context, params *cloudtrail.DescribeQueryInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.DescribeQueryOutput, error)

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

func (*IClient) DescribeTrails

func (_m *IClient) DescribeTrails(ctx context.Context, params *cloudtrail.DescribeTrailsInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.DescribeTrailsOutput, error)

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

func (*IClient) DisableFederation

func (_m *IClient) DisableFederation(ctx context.Context, params *cloudtrail.DisableFederationInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.DisableFederationOutput, error)

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

func (*IClient) EnableFederation

func (_m *IClient) EnableFederation(ctx context.Context, params *cloudtrail.EnableFederationInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.EnableFederationOutput, error)

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

func (*IClient) GetChannel

func (_m *IClient) GetChannel(ctx context.Context, params *cloudtrail.GetChannelInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.GetChannelOutput, error)

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

func (*IClient) GetEventDataStore

func (_m *IClient) GetEventDataStore(ctx context.Context, params *cloudtrail.GetEventDataStoreInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.GetEventDataStoreOutput, error)

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

func (*IClient) GetEventSelectors

func (_m *IClient) GetEventSelectors(ctx context.Context, params *cloudtrail.GetEventSelectorsInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.GetEventSelectorsOutput, error)

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

func (*IClient) GetImport

func (_m *IClient) GetImport(ctx context.Context, params *cloudtrail.GetImportInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.GetImportOutput, error)

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

func (*IClient) GetInsightSelectors

func (_m *IClient) GetInsightSelectors(ctx context.Context, params *cloudtrail.GetInsightSelectorsInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.GetInsightSelectorsOutput, error)

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

func (*IClient) GetQueryResults

func (_m *IClient) GetQueryResults(ctx context.Context, params *cloudtrail.GetQueryResultsInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.GetQueryResultsOutput, error)

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

func (*IClient) GetResourcePolicy

func (_m *IClient) GetResourcePolicy(ctx context.Context, params *cloudtrail.GetResourcePolicyInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.GetResourcePolicyOutput, error)

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

func (*IClient) GetTrail

func (_m *IClient) GetTrail(ctx context.Context, params *cloudtrail.GetTrailInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.GetTrailOutput, error)

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

func (*IClient) GetTrailStatus

func (_m *IClient) GetTrailStatus(ctx context.Context, params *cloudtrail.GetTrailStatusInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.GetTrailStatusOutput, error)

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

func (*IClient) ListChannels

func (_m *IClient) ListChannels(ctx context.Context, params *cloudtrail.ListChannelsInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.ListChannelsOutput, error)

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

func (*IClient) ListEventDataStores

func (_m *IClient) ListEventDataStores(ctx context.Context, params *cloudtrail.ListEventDataStoresInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.ListEventDataStoresOutput, error)

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

func (*IClient) ListImportFailures

func (_m *IClient) ListImportFailures(ctx context.Context, params *cloudtrail.ListImportFailuresInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.ListImportFailuresOutput, error)

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

func (*IClient) ListImports

func (_m *IClient) ListImports(ctx context.Context, params *cloudtrail.ListImportsInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.ListImportsOutput, error)

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

func (*IClient) ListInsightsMetricData

func (_m *IClient) ListInsightsMetricData(ctx context.Context, params *cloudtrail.ListInsightsMetricDataInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.ListInsightsMetricDataOutput, error)

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

func (*IClient) ListPublicKeys

func (_m *IClient) ListPublicKeys(ctx context.Context, params *cloudtrail.ListPublicKeysInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.ListPublicKeysOutput, error)

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

func (*IClient) ListQueries

func (_m *IClient) ListQueries(ctx context.Context, params *cloudtrail.ListQueriesInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.ListQueriesOutput, error)

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

func (*IClient) ListTags

func (_m *IClient) ListTags(ctx context.Context, params *cloudtrail.ListTagsInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.ListTagsOutput, error)

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

func (*IClient) ListTrails

func (_m *IClient) ListTrails(ctx context.Context, params *cloudtrail.ListTrailsInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.ListTrailsOutput, error)

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

func (*IClient) LookupEvents

func (_m *IClient) LookupEvents(ctx context.Context, params *cloudtrail.LookupEventsInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.LookupEventsOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) PutEventSelectors

func (_m *IClient) PutEventSelectors(ctx context.Context, params *cloudtrail.PutEventSelectorsInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.PutEventSelectorsOutput, error)

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

func (*IClient) PutInsightSelectors

func (_m *IClient) PutInsightSelectors(ctx context.Context, params *cloudtrail.PutInsightSelectorsInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.PutInsightSelectorsOutput, error)

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

func (*IClient) PutResourcePolicy

func (_m *IClient) PutResourcePolicy(ctx context.Context, params *cloudtrail.PutResourcePolicyInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.PutResourcePolicyOutput, error)

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

func (*IClient) RegisterOrganizationDelegatedAdmin

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

func (*IClient) RemoveTags

func (_m *IClient) RemoveTags(ctx context.Context, params *cloudtrail.RemoveTagsInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.RemoveTagsOutput, error)

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

func (*IClient) RestoreEventDataStore

func (_m *IClient) RestoreEventDataStore(ctx context.Context, params *cloudtrail.RestoreEventDataStoreInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.RestoreEventDataStoreOutput, error)

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

func (*IClient) StartEventDataStoreIngestion

func (_m *IClient) StartEventDataStoreIngestion(ctx context.Context, params *cloudtrail.StartEventDataStoreIngestionInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.StartEventDataStoreIngestionOutput, error)

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

func (*IClient) StartImport

func (_m *IClient) StartImport(ctx context.Context, params *cloudtrail.StartImportInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.StartImportOutput, error)

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

func (*IClient) StartLogging

func (_m *IClient) StartLogging(ctx context.Context, params *cloudtrail.StartLoggingInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.StartLoggingOutput, error)

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

func (*IClient) StartQuery

func (_m *IClient) StartQuery(ctx context.Context, params *cloudtrail.StartQueryInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.StartQueryOutput, error)

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

func (*IClient) StopEventDataStoreIngestion

func (_m *IClient) StopEventDataStoreIngestion(ctx context.Context, params *cloudtrail.StopEventDataStoreIngestionInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.StopEventDataStoreIngestionOutput, error)

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

func (*IClient) StopImport

func (_m *IClient) StopImport(ctx context.Context, params *cloudtrail.StopImportInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.StopImportOutput, error)

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

func (*IClient) StopLogging

func (_m *IClient) StopLogging(ctx context.Context, params *cloudtrail.StopLoggingInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.StopLoggingOutput, error)

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

func (*IClient) UpdateChannel

func (_m *IClient) UpdateChannel(ctx context.Context, params *cloudtrail.UpdateChannelInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.UpdateChannelOutput, error)

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

func (*IClient) UpdateEventDataStore

func (_m *IClient) UpdateEventDataStore(ctx context.Context, params *cloudtrail.UpdateEventDataStoreInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.UpdateEventDataStoreOutput, error)

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

func (*IClient) UpdateTrail

func (_m *IClient) UpdateTrail(ctx context.Context, params *cloudtrail.UpdateTrailInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.UpdateTrailOutput, error)

UpdateTrail 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