mocks

package
v0.0.12 Latest Latest
Warning

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

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

func (_m *IClient) AbortDocumentVersionUpload(ctx context.Context, params *workdocs.AbortDocumentVersionUploadInput, optFns ...func(*workdocs.Options)) (*workdocs.AbortDocumentVersionUploadOutput, error)

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

func (*IClient) ActivateUser

func (_m *IClient) ActivateUser(ctx context.Context, params *workdocs.ActivateUserInput, optFns ...func(*workdocs.Options)) (*workdocs.ActivateUserOutput, error)

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

func (*IClient) AddResourcePermissions

func (_m *IClient) AddResourcePermissions(ctx context.Context, params *workdocs.AddResourcePermissionsInput, optFns ...func(*workdocs.Options)) (*workdocs.AddResourcePermissionsOutput, error)

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

func (*IClient) CreateComment

func (_m *IClient) CreateComment(ctx context.Context, params *workdocs.CreateCommentInput, optFns ...func(*workdocs.Options)) (*workdocs.CreateCommentOutput, error)

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

func (*IClient) CreateCustomMetadata

func (_m *IClient) CreateCustomMetadata(ctx context.Context, params *workdocs.CreateCustomMetadataInput, optFns ...func(*workdocs.Options)) (*workdocs.CreateCustomMetadataOutput, error)

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

func (*IClient) CreateFolder

func (_m *IClient) CreateFolder(ctx context.Context, params *workdocs.CreateFolderInput, optFns ...func(*workdocs.Options)) (*workdocs.CreateFolderOutput, error)

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

func (*IClient) CreateLabels

func (_m *IClient) CreateLabels(ctx context.Context, params *workdocs.CreateLabelsInput, optFns ...func(*workdocs.Options)) (*workdocs.CreateLabelsOutput, error)

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

func (*IClient) CreateNotificationSubscription

func (_m *IClient) CreateNotificationSubscription(ctx context.Context, params *workdocs.CreateNotificationSubscriptionInput, optFns ...func(*workdocs.Options)) (*workdocs.CreateNotificationSubscriptionOutput, error)

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

func (*IClient) CreateUser

func (_m *IClient) CreateUser(ctx context.Context, params *workdocs.CreateUserInput, optFns ...func(*workdocs.Options)) (*workdocs.CreateUserOutput, error)

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

func (*IClient) DeactivateUser

func (_m *IClient) DeactivateUser(ctx context.Context, params *workdocs.DeactivateUserInput, optFns ...func(*workdocs.Options)) (*workdocs.DeactivateUserOutput, error)

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

func (*IClient) DeleteComment

func (_m *IClient) DeleteComment(ctx context.Context, params *workdocs.DeleteCommentInput, optFns ...func(*workdocs.Options)) (*workdocs.DeleteCommentOutput, error)

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

func (*IClient) DeleteCustomMetadata

func (_m *IClient) DeleteCustomMetadata(ctx context.Context, params *workdocs.DeleteCustomMetadataInput, optFns ...func(*workdocs.Options)) (*workdocs.DeleteCustomMetadataOutput, error)

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

func (*IClient) DeleteDocument

func (_m *IClient) DeleteDocument(ctx context.Context, params *workdocs.DeleteDocumentInput, optFns ...func(*workdocs.Options)) (*workdocs.DeleteDocumentOutput, error)

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

func (*IClient) DeleteDocumentVersion

func (_m *IClient) DeleteDocumentVersion(ctx context.Context, params *workdocs.DeleteDocumentVersionInput, optFns ...func(*workdocs.Options)) (*workdocs.DeleteDocumentVersionOutput, error)

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

func (*IClient) DeleteFolder

func (_m *IClient) DeleteFolder(ctx context.Context, params *workdocs.DeleteFolderInput, optFns ...func(*workdocs.Options)) (*workdocs.DeleteFolderOutput, error)

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

func (*IClient) DeleteFolderContents

func (_m *IClient) DeleteFolderContents(ctx context.Context, params *workdocs.DeleteFolderContentsInput, optFns ...func(*workdocs.Options)) (*workdocs.DeleteFolderContentsOutput, error)

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

func (*IClient) DeleteLabels

func (_m *IClient) DeleteLabels(ctx context.Context, params *workdocs.DeleteLabelsInput, optFns ...func(*workdocs.Options)) (*workdocs.DeleteLabelsOutput, error)

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

func (*IClient) DeleteNotificationSubscription

func (_m *IClient) DeleteNotificationSubscription(ctx context.Context, params *workdocs.DeleteNotificationSubscriptionInput, optFns ...func(*workdocs.Options)) (*workdocs.DeleteNotificationSubscriptionOutput, error)

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

func (*IClient) DeleteUser

func (_m *IClient) DeleteUser(ctx context.Context, params *workdocs.DeleteUserInput, optFns ...func(*workdocs.Options)) (*workdocs.DeleteUserOutput, error)

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

func (*IClient) DescribeActivities

func (_m *IClient) DescribeActivities(ctx context.Context, params *workdocs.DescribeActivitiesInput, optFns ...func(*workdocs.Options)) (*workdocs.DescribeActivitiesOutput, error)

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

func (*IClient) DescribeComments

func (_m *IClient) DescribeComments(ctx context.Context, params *workdocs.DescribeCommentsInput, optFns ...func(*workdocs.Options)) (*workdocs.DescribeCommentsOutput, error)

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

func (*IClient) DescribeDocumentVersions

func (_m *IClient) DescribeDocumentVersions(ctx context.Context, params *workdocs.DescribeDocumentVersionsInput, optFns ...func(*workdocs.Options)) (*workdocs.DescribeDocumentVersionsOutput, error)

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

func (*IClient) DescribeFolderContents

func (_m *IClient) DescribeFolderContents(ctx context.Context, params *workdocs.DescribeFolderContentsInput, optFns ...func(*workdocs.Options)) (*workdocs.DescribeFolderContentsOutput, error)

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

func (*IClient) DescribeGroups

func (_m *IClient) DescribeGroups(ctx context.Context, params *workdocs.DescribeGroupsInput, optFns ...func(*workdocs.Options)) (*workdocs.DescribeGroupsOutput, error)

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

func (*IClient) DescribeNotificationSubscriptions

func (_m *IClient) DescribeNotificationSubscriptions(ctx context.Context, params *workdocs.DescribeNotificationSubscriptionsInput, optFns ...func(*workdocs.Options)) (*workdocs.DescribeNotificationSubscriptionsOutput, error)

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

func (*IClient) DescribeResourcePermissions

func (_m *IClient) DescribeResourcePermissions(ctx context.Context, params *workdocs.DescribeResourcePermissionsInput, optFns ...func(*workdocs.Options)) (*workdocs.DescribeResourcePermissionsOutput, error)

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

func (*IClient) DescribeRootFolders

func (_m *IClient) DescribeRootFolders(ctx context.Context, params *workdocs.DescribeRootFoldersInput, optFns ...func(*workdocs.Options)) (*workdocs.DescribeRootFoldersOutput, error)

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

func (*IClient) DescribeUsers

func (_m *IClient) DescribeUsers(ctx context.Context, params *workdocs.DescribeUsersInput, optFns ...func(*workdocs.Options)) (*workdocs.DescribeUsersOutput, error)

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

func (*IClient) GetCurrentUser

func (_m *IClient) GetCurrentUser(ctx context.Context, params *workdocs.GetCurrentUserInput, optFns ...func(*workdocs.Options)) (*workdocs.GetCurrentUserOutput, error)

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

func (*IClient) GetDocument

func (_m *IClient) GetDocument(ctx context.Context, params *workdocs.GetDocumentInput, optFns ...func(*workdocs.Options)) (*workdocs.GetDocumentOutput, error)

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

func (*IClient) GetDocumentPath

func (_m *IClient) GetDocumentPath(ctx context.Context, params *workdocs.GetDocumentPathInput, optFns ...func(*workdocs.Options)) (*workdocs.GetDocumentPathOutput, error)

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

func (*IClient) GetDocumentVersion

func (_m *IClient) GetDocumentVersion(ctx context.Context, params *workdocs.GetDocumentVersionInput, optFns ...func(*workdocs.Options)) (*workdocs.GetDocumentVersionOutput, error)

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

func (*IClient) GetFolder

func (_m *IClient) GetFolder(ctx context.Context, params *workdocs.GetFolderInput, optFns ...func(*workdocs.Options)) (*workdocs.GetFolderOutput, error)

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

func (*IClient) GetFolderPath

func (_m *IClient) GetFolderPath(ctx context.Context, params *workdocs.GetFolderPathInput, optFns ...func(*workdocs.Options)) (*workdocs.GetFolderPathOutput, error)

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

func (*IClient) GetResources

func (_m *IClient) GetResources(ctx context.Context, params *workdocs.GetResourcesInput, optFns ...func(*workdocs.Options)) (*workdocs.GetResourcesOutput, error)

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

func (*IClient) InitiateDocumentVersionUpload

func (_m *IClient) InitiateDocumentVersionUpload(ctx context.Context, params *workdocs.InitiateDocumentVersionUploadInput, optFns ...func(*workdocs.Options)) (*workdocs.InitiateDocumentVersionUploadOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) RemoveAllResourcePermissions

func (_m *IClient) RemoveAllResourcePermissions(ctx context.Context, params *workdocs.RemoveAllResourcePermissionsInput, optFns ...func(*workdocs.Options)) (*workdocs.RemoveAllResourcePermissionsOutput, error)

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

func (*IClient) RemoveResourcePermission

func (_m *IClient) RemoveResourcePermission(ctx context.Context, params *workdocs.RemoveResourcePermissionInput, optFns ...func(*workdocs.Options)) (*workdocs.RemoveResourcePermissionOutput, error)

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

func (*IClient) RestoreDocumentVersions

func (_m *IClient) RestoreDocumentVersions(ctx context.Context, params *workdocs.RestoreDocumentVersionsInput, optFns ...func(*workdocs.Options)) (*workdocs.RestoreDocumentVersionsOutput, error)

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

func (*IClient) SearchResources

func (_m *IClient) SearchResources(ctx context.Context, params *workdocs.SearchResourcesInput, optFns ...func(*workdocs.Options)) (*workdocs.SearchResourcesOutput, error)

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

func (*IClient) UpdateDocument

func (_m *IClient) UpdateDocument(ctx context.Context, params *workdocs.UpdateDocumentInput, optFns ...func(*workdocs.Options)) (*workdocs.UpdateDocumentOutput, error)

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

func (*IClient) UpdateDocumentVersion

func (_m *IClient) UpdateDocumentVersion(ctx context.Context, params *workdocs.UpdateDocumentVersionInput, optFns ...func(*workdocs.Options)) (*workdocs.UpdateDocumentVersionOutput, error)

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

func (*IClient) UpdateFolder

func (_m *IClient) UpdateFolder(ctx context.Context, params *workdocs.UpdateFolderInput, optFns ...func(*workdocs.Options)) (*workdocs.UpdateFolderOutput, error)

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

func (*IClient) UpdateUser

func (_m *IClient) UpdateUser(ctx context.Context, params *workdocs.UpdateUserInput, optFns ...func(*workdocs.Options)) (*workdocs.UpdateUserOutput, error)

UpdateUser 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