Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAuthorizer ¶
type FakeAuthorizer struct {
// contains filtered or unexported fields
}
func NewMockAuthorizer ¶
func NewMockAuthorizer() *FakeAuthorizer
func (*FakeAuthorizer) Authorize ¶
Authorize provides a mock function with given fields: principal, verb, resource
func (*FakeAuthorizer) Calls ¶
func (a *FakeAuthorizer) Calls() []AuthZReq
func (*FakeAuthorizer) SetErr ¶
func (a *FakeAuthorizer) SetErr(err error)
Click to show internal directories.
Click to hide internal directories.