authfakes

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

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 FakeKeyProvider

type FakeKeyProvider struct {
	GetSecretStub func(string) string

	NumKeysStub func() int
	// contains filtered or unexported fields
}

func (*FakeKeyProvider) GetSecret

func (fake *FakeKeyProvider) GetSecret(arg1 string) string

func (*FakeKeyProvider) GetSecretArgsForCall

func (fake *FakeKeyProvider) GetSecretArgsForCall(i int) string

func (*FakeKeyProvider) GetSecretCallCount

func (fake *FakeKeyProvider) GetSecretCallCount() int

func (*FakeKeyProvider) GetSecretCalls

func (fake *FakeKeyProvider) GetSecretCalls(stub func(string) string)

func (*FakeKeyProvider) GetSecretReturns

func (fake *FakeKeyProvider) GetSecretReturns(result1 string)

func (*FakeKeyProvider) GetSecretReturnsOnCall

func (fake *FakeKeyProvider) GetSecretReturnsOnCall(i int, result1 string)

func (*FakeKeyProvider) Invocations

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

func (*FakeKeyProvider) NumKeys

func (fake *FakeKeyProvider) NumKeys() int

func (*FakeKeyProvider) NumKeysCallCount

func (fake *FakeKeyProvider) NumKeysCallCount() int

func (*FakeKeyProvider) NumKeysCalls

func (fake *FakeKeyProvider) NumKeysCalls(stub func() int)

func (*FakeKeyProvider) NumKeysReturns

func (fake *FakeKeyProvider) NumKeysReturns(result1 int)

func (*FakeKeyProvider) NumKeysReturnsOnCall

func (fake *FakeKeyProvider) NumKeysReturnsOnCall(i int, result1 int)

type FakeTokenVerifier

type FakeTokenVerifier struct {
	IdentityStub func() string

	VerifyStub func(interface{}) (*auth.ClaimGrants, error)
	// contains filtered or unexported fields
}

func (*FakeTokenVerifier) Identity

func (fake *FakeTokenVerifier) Identity() string

func (*FakeTokenVerifier) IdentityCallCount

func (fake *FakeTokenVerifier) IdentityCallCount() int

func (*FakeTokenVerifier) IdentityCalls

func (fake *FakeTokenVerifier) IdentityCalls(stub func() string)

func (*FakeTokenVerifier) IdentityReturns

func (fake *FakeTokenVerifier) IdentityReturns(result1 string)

func (*FakeTokenVerifier) IdentityReturnsOnCall

func (fake *FakeTokenVerifier) IdentityReturnsOnCall(i int, result1 string)

func (*FakeTokenVerifier) Invocations

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

func (*FakeTokenVerifier) Verify

func (fake *FakeTokenVerifier) Verify(arg1 interface{}) (*auth.ClaimGrants, error)

func (*FakeTokenVerifier) VerifyArgsForCall

func (fake *FakeTokenVerifier) VerifyArgsForCall(i int) interface{}

func (*FakeTokenVerifier) VerifyCallCount

func (fake *FakeTokenVerifier) VerifyCallCount() int

func (*FakeTokenVerifier) VerifyCalls

func (fake *FakeTokenVerifier) VerifyCalls(stub func(interface{}) (*auth.ClaimGrants, error))

func (*FakeTokenVerifier) VerifyReturns

func (fake *FakeTokenVerifier) VerifyReturns(result1 *auth.ClaimGrants, result2 error)

func (*FakeTokenVerifier) VerifyReturnsOnCall

func (fake *FakeTokenVerifier) VerifyReturnsOnCall(i int, result1 *auth.ClaimGrants, result2 error)

Jump to

Keyboard shortcuts

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