mocks

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 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) AcceptInvitation

func (_m *IClient) AcceptInvitation(ctx context.Context, params *detective.AcceptInvitationInput, optFns ...func(*detective.Options)) (*detective.AcceptInvitationOutput, error)

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

func (*IClient) BatchGetGraphMemberDatasources

func (_m *IClient) BatchGetGraphMemberDatasources(ctx context.Context, params *detective.BatchGetGraphMemberDatasourcesInput, optFns ...func(*detective.Options)) (*detective.BatchGetGraphMemberDatasourcesOutput, error)

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

func (*IClient) BatchGetMembershipDatasources

func (_m *IClient) BatchGetMembershipDatasources(ctx context.Context, params *detective.BatchGetMembershipDatasourcesInput, optFns ...func(*detective.Options)) (*detective.BatchGetMembershipDatasourcesOutput, error)

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

func (*IClient) CreateGraph

func (_m *IClient) CreateGraph(ctx context.Context, params *detective.CreateGraphInput, optFns ...func(*detective.Options)) (*detective.CreateGraphOutput, error)

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

func (*IClient) CreateMembers

func (_m *IClient) CreateMembers(ctx context.Context, params *detective.CreateMembersInput, optFns ...func(*detective.Options)) (*detective.CreateMembersOutput, error)

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

func (*IClient) DeleteGraph

func (_m *IClient) DeleteGraph(ctx context.Context, params *detective.DeleteGraphInput, optFns ...func(*detective.Options)) (*detective.DeleteGraphOutput, error)

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

func (*IClient) DeleteMembers

func (_m *IClient) DeleteMembers(ctx context.Context, params *detective.DeleteMembersInput, optFns ...func(*detective.Options)) (*detective.DeleteMembersOutput, error)

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

func (*IClient) DescribeOrganizationConfiguration

func (_m *IClient) DescribeOrganizationConfiguration(ctx context.Context, params *detective.DescribeOrganizationConfigurationInput, optFns ...func(*detective.Options)) (*detective.DescribeOrganizationConfigurationOutput, error)

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

func (*IClient) DisableOrganizationAdminAccount

func (_m *IClient) DisableOrganizationAdminAccount(ctx context.Context, params *detective.DisableOrganizationAdminAccountInput, optFns ...func(*detective.Options)) (*detective.DisableOrganizationAdminAccountOutput, error)

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

func (*IClient) DisassociateMembership

func (_m *IClient) DisassociateMembership(ctx context.Context, params *detective.DisassociateMembershipInput, optFns ...func(*detective.Options)) (*detective.DisassociateMembershipOutput, error)

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

func (*IClient) EnableOrganizationAdminAccount

func (_m *IClient) EnableOrganizationAdminAccount(ctx context.Context, params *detective.EnableOrganizationAdminAccountInput, optFns ...func(*detective.Options)) (*detective.EnableOrganizationAdminAccountOutput, error)

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

func (*IClient) GetInvestigation

func (_m *IClient) GetInvestigation(ctx context.Context, params *detective.GetInvestigationInput, optFns ...func(*detective.Options)) (*detective.GetInvestigationOutput, error)

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

func (*IClient) GetMembers

func (_m *IClient) GetMembers(ctx context.Context, params *detective.GetMembersInput, optFns ...func(*detective.Options)) (*detective.GetMembersOutput, error)

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

func (*IClient) ListDatasourcePackages

func (_m *IClient) ListDatasourcePackages(ctx context.Context, params *detective.ListDatasourcePackagesInput, optFns ...func(*detective.Options)) (*detective.ListDatasourcePackagesOutput, error)

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

func (*IClient) ListGraphs

func (_m *IClient) ListGraphs(ctx context.Context, params *detective.ListGraphsInput, optFns ...func(*detective.Options)) (*detective.ListGraphsOutput, error)

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

func (*IClient) ListIndicators

func (_m *IClient) ListIndicators(ctx context.Context, params *detective.ListIndicatorsInput, optFns ...func(*detective.Options)) (*detective.ListIndicatorsOutput, error)

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

func (*IClient) ListInvestigations

func (_m *IClient) ListInvestigations(ctx context.Context, params *detective.ListInvestigationsInput, optFns ...func(*detective.Options)) (*detective.ListInvestigationsOutput, error)

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

func (*IClient) ListInvitations

func (_m *IClient) ListInvitations(ctx context.Context, params *detective.ListInvitationsInput, optFns ...func(*detective.Options)) (*detective.ListInvitationsOutput, error)

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

func (*IClient) ListMembers

func (_m *IClient) ListMembers(ctx context.Context, params *detective.ListMembersInput, optFns ...func(*detective.Options)) (*detective.ListMembersOutput, error)

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

func (*IClient) ListOrganizationAdminAccounts

func (_m *IClient) ListOrganizationAdminAccounts(ctx context.Context, params *detective.ListOrganizationAdminAccountsInput, optFns ...func(*detective.Options)) (*detective.ListOrganizationAdminAccountsOutput, error)

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

func (*IClient) ListTagsForResource

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

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) RejectInvitation

func (_m *IClient) RejectInvitation(ctx context.Context, params *detective.RejectInvitationInput, optFns ...func(*detective.Options)) (*detective.RejectInvitationOutput, error)

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

func (*IClient) StartInvestigation

func (_m *IClient) StartInvestigation(ctx context.Context, params *detective.StartInvestigationInput, optFns ...func(*detective.Options)) (*detective.StartInvestigationOutput, error)

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

func (*IClient) StartMonitoringMember

func (_m *IClient) StartMonitoringMember(ctx context.Context, params *detective.StartMonitoringMemberInput, optFns ...func(*detective.Options)) (*detective.StartMonitoringMemberOutput, error)

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

func (*IClient) TagResource

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

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateDatasourcePackages

func (_m *IClient) UpdateDatasourcePackages(ctx context.Context, params *detective.UpdateDatasourcePackagesInput, optFns ...func(*detective.Options)) (*detective.UpdateDatasourcePackagesOutput, error)

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

func (*IClient) UpdateInvestigationState

func (_m *IClient) UpdateInvestigationState(ctx context.Context, params *detective.UpdateInvestigationStateInput, optFns ...func(*detective.Options)) (*detective.UpdateInvestigationStateOutput, error)

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

func (*IClient) UpdateOrganizationConfiguration

func (_m *IClient) UpdateOrganizationConfiguration(ctx context.Context, params *detective.UpdateOrganizationConfigurationInput, optFns ...func(*detective.Options)) (*detective.UpdateOrganizationConfigurationOutput, error)

UpdateOrganizationConfiguration 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