mocks

package
v0.0.3 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) AcceptResourceShareInvitation

func (_m *IClient) AcceptResourceShareInvitation(ctx context.Context, params *ram.AcceptResourceShareInvitationInput, optFns ...func(*ram.Options)) (*ram.AcceptResourceShareInvitationOutput, error)

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

func (*IClient) AssociateResourceShare

func (_m *IClient) AssociateResourceShare(ctx context.Context, params *ram.AssociateResourceShareInput, optFns ...func(*ram.Options)) (*ram.AssociateResourceShareOutput, error)

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

func (*IClient) AssociateResourceSharePermission

func (_m *IClient) AssociateResourceSharePermission(ctx context.Context, params *ram.AssociateResourceSharePermissionInput, optFns ...func(*ram.Options)) (*ram.AssociateResourceSharePermissionOutput, error)

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

func (*IClient) CreatePermission

func (_m *IClient) CreatePermission(ctx context.Context, params *ram.CreatePermissionInput, optFns ...func(*ram.Options)) (*ram.CreatePermissionOutput, error)

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

func (*IClient) CreatePermissionVersion

func (_m *IClient) CreatePermissionVersion(ctx context.Context, params *ram.CreatePermissionVersionInput, optFns ...func(*ram.Options)) (*ram.CreatePermissionVersionOutput, error)

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

func (*IClient) CreateResourceShare

func (_m *IClient) CreateResourceShare(ctx context.Context, params *ram.CreateResourceShareInput, optFns ...func(*ram.Options)) (*ram.CreateResourceShareOutput, error)

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

func (*IClient) DeletePermission

func (_m *IClient) DeletePermission(ctx context.Context, params *ram.DeletePermissionInput, optFns ...func(*ram.Options)) (*ram.DeletePermissionOutput, error)

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

func (*IClient) DeletePermissionVersion

func (_m *IClient) DeletePermissionVersion(ctx context.Context, params *ram.DeletePermissionVersionInput, optFns ...func(*ram.Options)) (*ram.DeletePermissionVersionOutput, error)

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

func (*IClient) DeleteResourceShare

func (_m *IClient) DeleteResourceShare(ctx context.Context, params *ram.DeleteResourceShareInput, optFns ...func(*ram.Options)) (*ram.DeleteResourceShareOutput, error)

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

func (*IClient) DisassociateResourceShare

func (_m *IClient) DisassociateResourceShare(ctx context.Context, params *ram.DisassociateResourceShareInput, optFns ...func(*ram.Options)) (*ram.DisassociateResourceShareOutput, error)

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

func (*IClient) DisassociateResourceSharePermission

func (_m *IClient) DisassociateResourceSharePermission(ctx context.Context, params *ram.DisassociateResourceSharePermissionInput, optFns ...func(*ram.Options)) (*ram.DisassociateResourceSharePermissionOutput, error)

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

func (*IClient) EnableSharingWithAwsOrganization

func (_m *IClient) EnableSharingWithAwsOrganization(ctx context.Context, params *ram.EnableSharingWithAwsOrganizationInput, optFns ...func(*ram.Options)) (*ram.EnableSharingWithAwsOrganizationOutput, error)

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

func (*IClient) GetPermission

func (_m *IClient) GetPermission(ctx context.Context, params *ram.GetPermissionInput, optFns ...func(*ram.Options)) (*ram.GetPermissionOutput, error)

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

func (*IClient) GetResourcePolicies

func (_m *IClient) GetResourcePolicies(ctx context.Context, params *ram.GetResourcePoliciesInput, optFns ...func(*ram.Options)) (*ram.GetResourcePoliciesOutput, error)

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

func (*IClient) GetResourceShareAssociations

func (_m *IClient) GetResourceShareAssociations(ctx context.Context, params *ram.GetResourceShareAssociationsInput, optFns ...func(*ram.Options)) (*ram.GetResourceShareAssociationsOutput, error)

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

func (*IClient) GetResourceShareInvitations

func (_m *IClient) GetResourceShareInvitations(ctx context.Context, params *ram.GetResourceShareInvitationsInput, optFns ...func(*ram.Options)) (*ram.GetResourceShareInvitationsOutput, error)

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

func (*IClient) GetResourceShares

func (_m *IClient) GetResourceShares(ctx context.Context, params *ram.GetResourceSharesInput, optFns ...func(*ram.Options)) (*ram.GetResourceSharesOutput, error)

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

func (*IClient) ListPendingInvitationResources

func (_m *IClient) ListPendingInvitationResources(ctx context.Context, params *ram.ListPendingInvitationResourcesInput, optFns ...func(*ram.Options)) (*ram.ListPendingInvitationResourcesOutput, error)

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

func (*IClient) ListPermissionAssociations

func (_m *IClient) ListPermissionAssociations(ctx context.Context, params *ram.ListPermissionAssociationsInput, optFns ...func(*ram.Options)) (*ram.ListPermissionAssociationsOutput, error)

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

func (*IClient) ListPermissionVersions

func (_m *IClient) ListPermissionVersions(ctx context.Context, params *ram.ListPermissionVersionsInput, optFns ...func(*ram.Options)) (*ram.ListPermissionVersionsOutput, error)

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

func (*IClient) ListPermissions

func (_m *IClient) ListPermissions(ctx context.Context, params *ram.ListPermissionsInput, optFns ...func(*ram.Options)) (*ram.ListPermissionsOutput, error)

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

func (*IClient) ListPrincipals

func (_m *IClient) ListPrincipals(ctx context.Context, params *ram.ListPrincipalsInput, optFns ...func(*ram.Options)) (*ram.ListPrincipalsOutput, error)

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

func (*IClient) ListReplacePermissionAssociationsWork

func (_m *IClient) ListReplacePermissionAssociationsWork(ctx context.Context, params *ram.ListReplacePermissionAssociationsWorkInput, optFns ...func(*ram.Options)) (*ram.ListReplacePermissionAssociationsWorkOutput, error)

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

func (*IClient) ListResourceSharePermissions

func (_m *IClient) ListResourceSharePermissions(ctx context.Context, params *ram.ListResourceSharePermissionsInput, optFns ...func(*ram.Options)) (*ram.ListResourceSharePermissionsOutput, error)

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

func (*IClient) ListResourceTypes

func (_m *IClient) ListResourceTypes(ctx context.Context, params *ram.ListResourceTypesInput, optFns ...func(*ram.Options)) (*ram.ListResourceTypesOutput, error)

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

func (*IClient) ListResources

func (_m *IClient) ListResources(ctx context.Context, params *ram.ListResourcesInput, optFns ...func(*ram.Options)) (*ram.ListResourcesOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) PromotePermissionCreatedFromPolicy

func (_m *IClient) PromotePermissionCreatedFromPolicy(ctx context.Context, params *ram.PromotePermissionCreatedFromPolicyInput, optFns ...func(*ram.Options)) (*ram.PromotePermissionCreatedFromPolicyOutput, error)

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

func (*IClient) PromoteResourceShareCreatedFromPolicy

func (_m *IClient) PromoteResourceShareCreatedFromPolicy(ctx context.Context, params *ram.PromoteResourceShareCreatedFromPolicyInput, optFns ...func(*ram.Options)) (*ram.PromoteResourceShareCreatedFromPolicyOutput, error)

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

func (*IClient) RejectResourceShareInvitation

func (_m *IClient) RejectResourceShareInvitation(ctx context.Context, params *ram.RejectResourceShareInvitationInput, optFns ...func(*ram.Options)) (*ram.RejectResourceShareInvitationOutput, error)

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

func (*IClient) ReplacePermissionAssociations

func (_m *IClient) ReplacePermissionAssociations(ctx context.Context, params *ram.ReplacePermissionAssociationsInput, optFns ...func(*ram.Options)) (*ram.ReplacePermissionAssociationsOutput, error)

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

func (*IClient) SetDefaultPermissionVersion

func (_m *IClient) SetDefaultPermissionVersion(ctx context.Context, params *ram.SetDefaultPermissionVersionInput, optFns ...func(*ram.Options)) (*ram.SetDefaultPermissionVersionOutput, error)

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

func (*IClient) TagResource

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

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateResourceShare

func (_m *IClient) UpdateResourceShare(ctx context.Context, params *ram.UpdateResourceShareInput, optFns ...func(*ram.Options)) (*ram.UpdateResourceShareOutput, error)

UpdateResourceShare 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