mocks

package
v2.19.4 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CS3PermissionsClient

type CS3PermissionsClient struct {
	mock.Mock
}

CS3PermissionsClient is an autogenerated mock type for the CS3PermissionsClient type

func NewCS3PermissionsClient

func NewCS3PermissionsClient(t mockConstructorTestingTNewCS3PermissionsClient) *CS3PermissionsClient

NewCS3PermissionsClient creates a new instance of CS3PermissionsClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*CS3PermissionsClient) CheckPermission

CheckPermission provides a mock function with given fields: ctx, in, opts

type PermissionsChecker

type PermissionsChecker struct {
	mock.Mock
}

PermissionsChecker is an autogenerated mock type for the PermissionsChecker type

func NewPermissionsChecker

func NewPermissionsChecker(t mockConstructorTestingTNewPermissionsChecker) *PermissionsChecker

NewPermissionsChecker creates a new instance of PermissionsChecker. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*PermissionsChecker) AssemblePermissions

AssemblePermissions provides a mock function with given fields: ctx, n

func (*PermissionsChecker) AssembleTrashPermissions

func (_m *PermissionsChecker) AssembleTrashPermissions(ctx context.Context, n *node.Node) (providerv1beta1.ResourcePermissions, error)

AssembleTrashPermissions provides a mock function with given fields: ctx, n

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL