automock

package
v0.0.0-...-0640eb1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2021 License: Apache-2.0 Imports: 6 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 (*ReqDataParser) Parse

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

Parse provides a mock function with given fields: req

type RuntimeService

type RuntimeService struct {
	mock.Mock
}

RuntimeService is an autogenerated mock type for the RuntimeService type

func (*RuntimeService) GetByTokenIssuer

func (_m *RuntimeService) GetByTokenIssuer(ctx context.Context, issuer string) (*model.Runtime, error)

GetByTokenIssuer provides a mock function with given fields: ctx, issuer

type TenantService

type TenantService struct {
	mock.Mock
}

TenantService is an autogenerated mock type for the TenantService type

func (*TenantService) GetExternalTenant

func (_m *TenantService) GetExternalTenant(ctx context.Context, id string) (string, error)

GetExternalTenant provides a mock function with given fields: ctx, id

type TokenVerifier

type TokenVerifier struct {
	mock.Mock
}

TokenVerifier is an autogenerated mock type for the TokenVerifier type

func (*TokenVerifier) Verify

func (_m *TokenVerifier) Verify(ctx context.Context, token string) (*jwt.MapClaims, error)

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