mocks

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 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) CancelSession

func (_m *IClient) CancelSession(ctx context.Context, params *mpa.CancelSessionInput, optFns ...func(*mpa.Options)) (*mpa.CancelSessionOutput, error)

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

func (*IClient) CreateApprovalTeam

func (_m *IClient) CreateApprovalTeam(ctx context.Context, params *mpa.CreateApprovalTeamInput, optFns ...func(*mpa.Options)) (*mpa.CreateApprovalTeamOutput, error)

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

func (*IClient) CreateIdentitySource

func (_m *IClient) CreateIdentitySource(ctx context.Context, params *mpa.CreateIdentitySourceInput, optFns ...func(*mpa.Options)) (*mpa.CreateIdentitySourceOutput, error)

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

func (*IClient) DeleteIdentitySource

func (_m *IClient) DeleteIdentitySource(ctx context.Context, params *mpa.DeleteIdentitySourceInput, optFns ...func(*mpa.Options)) (*mpa.DeleteIdentitySourceOutput, error)

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

func (*IClient) DeleteInactiveApprovalTeamVersion

func (_m *IClient) DeleteInactiveApprovalTeamVersion(ctx context.Context, params *mpa.DeleteInactiveApprovalTeamVersionInput, optFns ...func(*mpa.Options)) (*mpa.DeleteInactiveApprovalTeamVersionOutput, error)

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

func (*IClient) GetApprovalTeam

func (_m *IClient) GetApprovalTeam(ctx context.Context, params *mpa.GetApprovalTeamInput, optFns ...func(*mpa.Options)) (*mpa.GetApprovalTeamOutput, error)

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

func (*IClient) GetIdentitySource

func (_m *IClient) GetIdentitySource(ctx context.Context, params *mpa.GetIdentitySourceInput, optFns ...func(*mpa.Options)) (*mpa.GetIdentitySourceOutput, error)

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

func (*IClient) GetPolicyVersion

func (_m *IClient) GetPolicyVersion(ctx context.Context, params *mpa.GetPolicyVersionInput, optFns ...func(*mpa.Options)) (*mpa.GetPolicyVersionOutput, error)

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

func (*IClient) GetResourcePolicy

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

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

func (*IClient) GetSession

func (_m *IClient) GetSession(ctx context.Context, params *mpa.GetSessionInput, optFns ...func(*mpa.Options)) (*mpa.GetSessionOutput, error)

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

func (*IClient) ListApprovalTeams

func (_m *IClient) ListApprovalTeams(ctx context.Context, params *mpa.ListApprovalTeamsInput, optFns ...func(*mpa.Options)) (*mpa.ListApprovalTeamsOutput, error)

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

func (*IClient) ListIdentitySources

func (_m *IClient) ListIdentitySources(ctx context.Context, params *mpa.ListIdentitySourcesInput, optFns ...func(*mpa.Options)) (*mpa.ListIdentitySourcesOutput, error)

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

func (*IClient) ListPolicies

func (_m *IClient) ListPolicies(ctx context.Context, params *mpa.ListPoliciesInput, optFns ...func(*mpa.Options)) (*mpa.ListPoliciesOutput, error)

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

func (*IClient) ListPolicyVersions

func (_m *IClient) ListPolicyVersions(ctx context.Context, params *mpa.ListPolicyVersionsInput, optFns ...func(*mpa.Options)) (*mpa.ListPolicyVersionsOutput, error)

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

func (*IClient) ListResourcePolicies

func (_m *IClient) ListResourcePolicies(ctx context.Context, params *mpa.ListResourcePoliciesInput, optFns ...func(*mpa.Options)) (*mpa.ListResourcePoliciesOutput, error)

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

func (*IClient) ListSessions

func (_m *IClient) ListSessions(ctx context.Context, params *mpa.ListSessionsInput, optFns ...func(*mpa.Options)) (*mpa.ListSessionsOutput, error)

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

func (*IClient) ListTagsForResource

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

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

func (*IClient) Options

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

Options provides a mock function with no fields

func (*IClient) StartActiveApprovalTeamDeletion

func (_m *IClient) StartActiveApprovalTeamDeletion(ctx context.Context, params *mpa.StartActiveApprovalTeamDeletionInput, optFns ...func(*mpa.Options)) (*mpa.StartActiveApprovalTeamDeletionOutput, error)

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

func (*IClient) TagResource

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

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateApprovalTeam

func (_m *IClient) UpdateApprovalTeam(ctx context.Context, params *mpa.UpdateApprovalTeamInput, optFns ...func(*mpa.Options)) (*mpa.UpdateApprovalTeamOutput, error)

UpdateApprovalTeam 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