fake

package
v0.0.0-...-1c213c1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertIdentityInspector

type CertIdentityInspector struct {
	WhoAmIStub func(context.Context, []byte) (authorization.Identity, error)
	// contains filtered or unexported fields
}

func (*CertIdentityInspector) Invocations

func (fake *CertIdentityInspector) Invocations() map[string][][]interface{}

func (*CertIdentityInspector) WhoAmI

func (fake *CertIdentityInspector) WhoAmI(arg1 context.Context, arg2 []byte) (authorization.Identity, error)

func (*CertIdentityInspector) WhoAmIArgsForCall

func (fake *CertIdentityInspector) WhoAmIArgsForCall(i int) (context.Context, []byte)

func (*CertIdentityInspector) WhoAmICallCount

func (fake *CertIdentityInspector) WhoAmICallCount() int

func (*CertIdentityInspector) WhoAmICalls

func (fake *CertIdentityInspector) WhoAmICalls(stub func(context.Context, []byte) (authorization.Identity, error))

func (*CertIdentityInspector) WhoAmIReturns

func (fake *CertIdentityInspector) WhoAmIReturns(result1 authorization.Identity, result2 error)

func (*CertIdentityInspector) WhoAmIReturnsOnCall

func (fake *CertIdentityInspector) WhoAmIReturnsOnCall(i int, result1 authorization.Identity, result2 error)

type IdentityProvider

type IdentityProvider struct {
	GetIdentityStub func(context.Context, authorization.Info) (authorization.Identity, error)
	// contains filtered or unexported fields
}

func (*IdentityProvider) GetIdentity

func (fake *IdentityProvider) GetIdentity(arg1 context.Context, arg2 authorization.Info) (authorization.Identity, error)

func (*IdentityProvider) GetIdentityArgsForCall

func (fake *IdentityProvider) GetIdentityArgsForCall(i int) (context.Context, authorization.Info)

func (*IdentityProvider) GetIdentityCallCount

func (fake *IdentityProvider) GetIdentityCallCount() int

func (*IdentityProvider) GetIdentityCalls

func (fake *IdentityProvider) GetIdentityCalls(stub func(context.Context, authorization.Info) (authorization.Identity, error))

func (*IdentityProvider) GetIdentityReturns

func (fake *IdentityProvider) GetIdentityReturns(result1 authorization.Identity, result2 error)

func (*IdentityProvider) GetIdentityReturnsOnCall

func (fake *IdentityProvider) GetIdentityReturnsOnCall(i int, result1 authorization.Identity, result2 error)

func (*IdentityProvider) Invocations

func (fake *IdentityProvider) Invocations() map[string][][]interface{}

type TokenIdentityInspector

type TokenIdentityInspector struct {
	WhoAmIStub func(context.Context, string) (authorization.Identity, error)
	// contains filtered or unexported fields
}

func (*TokenIdentityInspector) Invocations

func (fake *TokenIdentityInspector) Invocations() map[string][][]interface{}

func (*TokenIdentityInspector) WhoAmI

func (*TokenIdentityInspector) WhoAmIArgsForCall

func (fake *TokenIdentityInspector) WhoAmIArgsForCall(i int) (context.Context, string)

func (*TokenIdentityInspector) WhoAmICallCount

func (fake *TokenIdentityInspector) WhoAmICallCount() int

func (*TokenIdentityInspector) WhoAmICalls

func (fake *TokenIdentityInspector) WhoAmICalls(stub func(context.Context, string) (authorization.Identity, error))

func (*TokenIdentityInspector) WhoAmIReturns

func (fake *TokenIdentityInspector) WhoAmIReturns(result1 authorization.Identity, result2 error)

func (*TokenIdentityInspector) WhoAmIReturnsOnCall

func (fake *TokenIdentityInspector) WhoAmIReturnsOnCall(i int, result1 authorization.Identity, result2 error)

Jump to

Keyboard shortcuts

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