fakes

package
v0.0.0-...-425e185 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: Apache-2.0 Imports: 4 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 FakeClient

type FakeClient struct {
	DecodeTokenStub func(string, ...string) error

	FetchIssuerStub func() (string, error)

	FetchKeyStub func() (string, error)

	FetchTokenStub func(bool) (*schema.Token, error)

	RegisterOauthClientStub func(*schema.OauthClient) (*schema.OauthClient, error)
	// contains filtered or unexported fields
}

func (*FakeClient) DecodeToken

func (fake *FakeClient) DecodeToken(arg1 string, arg2 ...string) error

func (*FakeClient) DecodeTokenArgsForCall

func (fake *FakeClient) DecodeTokenArgsForCall(i int) (string, []string)

func (*FakeClient) DecodeTokenCallCount

func (fake *FakeClient) DecodeTokenCallCount() int

func (*FakeClient) DecodeTokenCalls

func (fake *FakeClient) DecodeTokenCalls(stub func(string, ...string) error)

func (*FakeClient) DecodeTokenReturns

func (fake *FakeClient) DecodeTokenReturns(result1 error)

func (*FakeClient) DecodeTokenReturnsOnCall

func (fake *FakeClient) DecodeTokenReturnsOnCall(i int, result1 error)

func (*FakeClient) FetchIssuer

func (fake *FakeClient) FetchIssuer() (string, error)

func (*FakeClient) FetchIssuerCallCount

func (fake *FakeClient) FetchIssuerCallCount() int

func (*FakeClient) FetchIssuerCalls

func (fake *FakeClient) FetchIssuerCalls(stub func() (string, error))

func (*FakeClient) FetchIssuerReturns

func (fake *FakeClient) FetchIssuerReturns(result1 string, result2 error)

func (*FakeClient) FetchIssuerReturnsOnCall

func (fake *FakeClient) FetchIssuerReturnsOnCall(i int, result1 string, result2 error)

func (*FakeClient) FetchKey

func (fake *FakeClient) FetchKey() (string, error)

func (*FakeClient) FetchKeyCallCount

func (fake *FakeClient) FetchKeyCallCount() int

func (*FakeClient) FetchKeyCalls

func (fake *FakeClient) FetchKeyCalls(stub func() (string, error))

func (*FakeClient) FetchKeyReturns

func (fake *FakeClient) FetchKeyReturns(result1 string, result2 error)

func (*FakeClient) FetchKeyReturnsOnCall

func (fake *FakeClient) FetchKeyReturnsOnCall(i int, result1 string, result2 error)

func (*FakeClient) FetchToken

func (fake *FakeClient) FetchToken(arg1 bool) (*schema.Token, error)

func (*FakeClient) FetchTokenArgsForCall

func (fake *FakeClient) FetchTokenArgsForCall(i int) bool

func (*FakeClient) FetchTokenCallCount

func (fake *FakeClient) FetchTokenCallCount() int

func (*FakeClient) FetchTokenCalls

func (fake *FakeClient) FetchTokenCalls(stub func(bool) (*schema.Token, error))

func (*FakeClient) FetchTokenReturns

func (fake *FakeClient) FetchTokenReturns(result1 *schema.Token, result2 error)

func (*FakeClient) FetchTokenReturnsOnCall

func (fake *FakeClient) FetchTokenReturnsOnCall(i int, result1 *schema.Token, result2 error)

func (*FakeClient) Invocations

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

func (*FakeClient) RegisterOauthClient

func (fake *FakeClient) RegisterOauthClient(arg1 *schema.OauthClient) (*schema.OauthClient, error)

func (*FakeClient) RegisterOauthClientArgsForCall

func (fake *FakeClient) RegisterOauthClientArgsForCall(i int) *schema.OauthClient

func (*FakeClient) RegisterOauthClientCallCount

func (fake *FakeClient) RegisterOauthClientCallCount() int

func (*FakeClient) RegisterOauthClientCalls

func (fake *FakeClient) RegisterOauthClientCalls(stub func(*schema.OauthClient) (*schema.OauthClient, error))

func (*FakeClient) RegisterOauthClientReturns

func (fake *FakeClient) RegisterOauthClientReturns(result1 *schema.OauthClient, result2 error)

func (*FakeClient) RegisterOauthClientReturnsOnCall

func (fake *FakeClient) RegisterOauthClientReturnsOnCall(i int, result1 *schema.OauthClient, result2 error)

type FakeSigningMethod

type FakeSigningMethod struct {
	AlgStub func() string

	SignStub func(string, interface{}) (string, error)

	VerifyStub func(string, string, interface{}) error
	// contains filtered or unexported fields
}

func (*FakeSigningMethod) Alg

func (fake *FakeSigningMethod) Alg() string

func (*FakeSigningMethod) AlgCallCount

func (fake *FakeSigningMethod) AlgCallCount() int

func (*FakeSigningMethod) AlgCalls

func (fake *FakeSigningMethod) AlgCalls(stub func() string)

func (*FakeSigningMethod) AlgReturns

func (fake *FakeSigningMethod) AlgReturns(result1 string)

func (*FakeSigningMethod) AlgReturnsOnCall

func (fake *FakeSigningMethod) AlgReturnsOnCall(i int, result1 string)

func (*FakeSigningMethod) Invocations

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

func (*FakeSigningMethod) Sign

func (fake *FakeSigningMethod) Sign(arg1 string, arg2 interface{}) (string, error)

func (*FakeSigningMethod) SignArgsForCall

func (fake *FakeSigningMethod) SignArgsForCall(i int) (string, interface{})

func (*FakeSigningMethod) SignCallCount

func (fake *FakeSigningMethod) SignCallCount() int

func (*FakeSigningMethod) SignCalls

func (fake *FakeSigningMethod) SignCalls(stub func(string, interface{}) (string, error))

func (*FakeSigningMethod) SignReturns

func (fake *FakeSigningMethod) SignReturns(result1 string, result2 error)

func (*FakeSigningMethod) SignReturnsOnCall

func (fake *FakeSigningMethod) SignReturnsOnCall(i int, result1 string, result2 error)

func (*FakeSigningMethod) Verify

func (fake *FakeSigningMethod) Verify(arg1 string, arg2 string, arg3 interface{}) error

func (*FakeSigningMethod) VerifyArgsForCall

func (fake *FakeSigningMethod) VerifyArgsForCall(i int) (string, string, interface{})

func (*FakeSigningMethod) VerifyCallCount

func (fake *FakeSigningMethod) VerifyCallCount() int

func (*FakeSigningMethod) VerifyCalls

func (fake *FakeSigningMethod) VerifyCalls(stub func(string, string, interface{}) error)

func (*FakeSigningMethod) VerifyReturns

func (fake *FakeSigningMethod) VerifyReturns(result1 error)

func (*FakeSigningMethod) VerifyReturnsOnCall

func (fake *FakeSigningMethod) VerifyReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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