Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CS3PermissionsClient ¶
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 ¶
func (_m *CS3PermissionsClient) CheckPermission(ctx context.Context, in *permissionsv1beta1.CheckPermissionRequest, opts ...grpc.CallOption) (*permissionsv1beta1.CheckPermissionResponse, error)
CheckPermission provides a mock function with given fields: ctx, in, opts
type PermissionsChecker ¶
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 ¶
func (_m *PermissionsChecker) AssemblePermissions(ctx context.Context, n *node.Node) (providerv1beta1.ResourcePermissions, error)
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