Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PermissionSet ¶
PermissionSet is an autogenerated mock type for the PermissionSet type
func NewPermissionSet ¶ added in v3.4.0
func NewPermissionSet(t testing.TB) *PermissionSet
NewPermissionSet creates a new instance of PermissionSet. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*PermissionSet) Permissions ¶
func (_m *PermissionSet) Permissions() []string
Permissions provides a mock function with given fields:
type Role ¶
Role is an autogenerated mock type for the Role type
func NewRole ¶ added in v3.4.0
NewRole creates a new instance of Role. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*Role) Permissions ¶
Permissions provides a mock function with given fields:
Click to show internal directories.
Click to hide internal directories.