mocks

package
v0.0.0-...-e2863eb Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authorizer

type Authorizer struct {
	mock.Mock
}

Authorizer is an autogenerated mock type for the Authorizer type

func (*Authorizer) Authorize

func (_m *Authorizer) Authorize(ctx context.Context, token *jwt.Token, resource string, action string) error

Authorize provides a mock function with given fields: ctx, token, resource, action

Jump to

Keyboard shortcuts

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