mocks

package
v3.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PermissionSet

type PermissionSet struct {
	mock.Mock
}

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

type Role struct {
	mock.Mock
}

Role is an autogenerated mock type for the Role type

func NewRole added in v3.4.0

func NewRole(t testing.TB) *Role

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) Label

func (_m *Role) Label() string

Label provides a mock function with given fields:

func (*Role) Permissions

func (_m *Role) Permissions() []string

Permissions provides a mock function with given fields:

Jump to

Keyboard shortcuts

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