mocks

package
v3.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 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