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) BatchAddRole added in v0.1.0

func (_m *IClient) BatchAddRole(ctx context.Context, params *repostspace.BatchAddRoleInput, optFns ...func(*repostspace.Options)) (*repostspace.BatchAddRoleOutput, error)

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

func (*IClient) BatchRemoveRole added in v0.1.0

func (_m *IClient) BatchRemoveRole(ctx context.Context, params *repostspace.BatchRemoveRoleInput, optFns ...func(*repostspace.Options)) (*repostspace.BatchRemoveRoleOutput, error)

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

func (*IClient) CreateSpace

func (_m *IClient) CreateSpace(ctx context.Context, params *repostspace.CreateSpaceInput, optFns ...func(*repostspace.Options)) (*repostspace.CreateSpaceOutput, error)

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

func (*IClient) DeleteSpace

func (_m *IClient) DeleteSpace(ctx context.Context, params *repostspace.DeleteSpaceInput, optFns ...func(*repostspace.Options)) (*repostspace.DeleteSpaceOutput, error)

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

func (*IClient) DeregisterAdmin

func (_m *IClient) DeregisterAdmin(ctx context.Context, params *repostspace.DeregisterAdminInput, optFns ...func(*repostspace.Options)) (*repostspace.DeregisterAdminOutput, error)

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

func (*IClient) GetSpace

func (_m *IClient) GetSpace(ctx context.Context, params *repostspace.GetSpaceInput, optFns ...func(*repostspace.Options)) (*repostspace.GetSpaceOutput, error)

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

func (*IClient) ListSpaces

func (_m *IClient) ListSpaces(ctx context.Context, params *repostspace.ListSpacesInput, optFns ...func(*repostspace.Options)) (*repostspace.ListSpacesOutput, error)

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

func (*IClient) ListTagsForResource

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

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) RegisterAdmin

func (_m *IClient) RegisterAdmin(ctx context.Context, params *repostspace.RegisterAdminInput, optFns ...func(*repostspace.Options)) (*repostspace.RegisterAdminOutput, error)

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

func (*IClient) SendInvites

func (_m *IClient) SendInvites(ctx context.Context, params *repostspace.SendInvitesInput, optFns ...func(*repostspace.Options)) (*repostspace.SendInvitesOutput, error)

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

func (*IClient) TagResource

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

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateSpace

func (_m *IClient) UpdateSpace(ctx context.Context, params *repostspace.UpdateSpaceInput, optFns ...func(*repostspace.Options)) (*repostspace.UpdateSpaceOutput, error)

UpdateSpace 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