automock

package
v0.0.0-...-6d13c91 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReqDataParser

type ReqDataParser struct {
	mock.Mock
}

ReqDataParser is an autogenerated mock type for the ReqDataParser type

func NewReqDataParser

func NewReqDataParser(t interface {
	mock.TestingT
	Cleanup(func())
}) *ReqDataParser

NewReqDataParser creates a new instance of ReqDataParser. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ReqDataParser) Parse

func (_m *ReqDataParser) Parse(req *http.Request) (oathkeeper.ReqData, error)

Parse provides a mock function with given fields: req

type TokenData

type TokenData struct {
	mock.Mock
}

TokenData is an autogenerated mock type for the TokenData type

func NewTokenData

func NewTokenData(t interface {
	mock.TestingT
	Cleanup(func())
}) *TokenData

NewTokenData creates a new instance of TokenData. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*TokenData) Claims

func (_m *TokenData) Claims(v interface{}) error

Claims provides a mock function with given fields: v

type TokenVerifier

type TokenVerifier struct {
	mock.Mock
}

TokenVerifier is an autogenerated mock type for the TokenVerifier type

func NewTokenVerifier

func NewTokenVerifier(t interface {
	mock.TestingT
	Cleanup(func())
}) *TokenVerifier

NewTokenVerifier creates a new instance of TokenVerifier. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*TokenVerifier) Verify

Verify provides a mock function with given fields: ctx, token

Jump to

Keyboard shortcuts

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