mocks

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2019 License: OSL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SecurityVoter

type SecurityVoter struct {
	mock.Mock
}

SecurityVoter is an autogenerated mock type for the SecurityVoter type

func (*SecurityVoter) Vote

func (_m *SecurityVoter) Vote(allAssignedPermissions []string, desiredPermission string, forObject interface{}) voter.AccessDecision

Vote provides a mock function with given fields: allAssignedPermissions, desiredPermission, forObject

Jump to

Keyboard shortcuts

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