uaafakes

package
v6.4.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2020 License: Apache-2.0 Imports: 2 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.

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 FakeAccessToken

type FakeAccessToken struct {
	IsValidStub func() bool

	TypeStub func() string

	ValueStub func() string
	// contains filtered or unexported fields
}

func (*FakeAccessToken) Invocations

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

func (*FakeAccessToken) IsValid

func (fake *FakeAccessToken) IsValid() bool

func (*FakeAccessToken) IsValidCallCount

func (fake *FakeAccessToken) IsValidCallCount() int

func (*FakeAccessToken) IsValidCalls

func (fake *FakeAccessToken) IsValidCalls(stub func() bool)

func (*FakeAccessToken) IsValidReturns

func (fake *FakeAccessToken) IsValidReturns(result1 bool)

func (*FakeAccessToken) IsValidReturnsOnCall

func (fake *FakeAccessToken) IsValidReturnsOnCall(i int, result1 bool)

func (*FakeAccessToken) Type

func (fake *FakeAccessToken) Type() string

func (*FakeAccessToken) TypeCallCount

func (fake *FakeAccessToken) TypeCallCount() int

func (*FakeAccessToken) TypeCalls

func (fake *FakeAccessToken) TypeCalls(stub func() string)

func (*FakeAccessToken) TypeReturns

func (fake *FakeAccessToken) TypeReturns(result1 string)

func (*FakeAccessToken) TypeReturnsOnCall

func (fake *FakeAccessToken) TypeReturnsOnCall(i int, result1 string)

func (*FakeAccessToken) Value

func (fake *FakeAccessToken) Value() string

func (*FakeAccessToken) ValueCallCount

func (fake *FakeAccessToken) ValueCallCount() int

func (*FakeAccessToken) ValueCalls

func (fake *FakeAccessToken) ValueCalls(stub func() string)

func (*FakeAccessToken) ValueReturns

func (fake *FakeAccessToken) ValueReturns(result1 string)

func (*FakeAccessToken) ValueReturnsOnCall

func (fake *FakeAccessToken) ValueReturnsOnCall(i int, result1 string)

type FakeRefreshableAccessToken

type FakeRefreshableAccessToken struct {
	IsValidStub func() bool

	RefreshValueStub func() string

	TypeStub func() string

	ValueStub func() string
	// contains filtered or unexported fields
}

func (*FakeRefreshableAccessToken) Invocations

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

func (*FakeRefreshableAccessToken) IsValid

func (fake *FakeRefreshableAccessToken) IsValid() bool

func (*FakeRefreshableAccessToken) IsValidCallCount

func (fake *FakeRefreshableAccessToken) IsValidCallCount() int

func (*FakeRefreshableAccessToken) IsValidCalls

func (fake *FakeRefreshableAccessToken) IsValidCalls(stub func() bool)

func (*FakeRefreshableAccessToken) IsValidReturns

func (fake *FakeRefreshableAccessToken) IsValidReturns(result1 bool)

func (*FakeRefreshableAccessToken) IsValidReturnsOnCall

func (fake *FakeRefreshableAccessToken) IsValidReturnsOnCall(i int, result1 bool)

func (*FakeRefreshableAccessToken) RefreshValue

func (fake *FakeRefreshableAccessToken) RefreshValue() string

func (*FakeRefreshableAccessToken) RefreshValueCallCount

func (fake *FakeRefreshableAccessToken) RefreshValueCallCount() int

func (*FakeRefreshableAccessToken) RefreshValueCalls

func (fake *FakeRefreshableAccessToken) RefreshValueCalls(stub func() string)

func (*FakeRefreshableAccessToken) RefreshValueReturns

func (fake *FakeRefreshableAccessToken) RefreshValueReturns(result1 string)

func (*FakeRefreshableAccessToken) RefreshValueReturnsOnCall

func (fake *FakeRefreshableAccessToken) RefreshValueReturnsOnCall(i int, result1 string)

func (*FakeRefreshableAccessToken) Type

func (fake *FakeRefreshableAccessToken) Type() string

func (*FakeRefreshableAccessToken) TypeCallCount

func (fake *FakeRefreshableAccessToken) TypeCallCount() int

func (*FakeRefreshableAccessToken) TypeCalls

func (fake *FakeRefreshableAccessToken) TypeCalls(stub func() string)

func (*FakeRefreshableAccessToken) TypeReturns

func (fake *FakeRefreshableAccessToken) TypeReturns(result1 string)

func (*FakeRefreshableAccessToken) TypeReturnsOnCall

func (fake *FakeRefreshableAccessToken) TypeReturnsOnCall(i int, result1 string)

func (*FakeRefreshableAccessToken) Value

func (fake *FakeRefreshableAccessToken) Value() string

func (*FakeRefreshableAccessToken) ValueCallCount

func (fake *FakeRefreshableAccessToken) ValueCallCount() int

func (*FakeRefreshableAccessToken) ValueCalls

func (fake *FakeRefreshableAccessToken) ValueCalls(stub func() string)

func (*FakeRefreshableAccessToken) ValueReturns

func (fake *FakeRefreshableAccessToken) ValueReturns(result1 string)

func (*FakeRefreshableAccessToken) ValueReturnsOnCall

func (fake *FakeRefreshableAccessToken) ValueReturnsOnCall(i int, result1 string)

type FakeToken

type FakeToken struct {
	IsValidStub func() bool

	TypeStub func() string

	ValueStub func() string
	// contains filtered or unexported fields
}

func (*FakeToken) Invocations

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

func (*FakeToken) IsValid

func (fake *FakeToken) IsValid() bool

func (*FakeToken) IsValidCallCount

func (fake *FakeToken) IsValidCallCount() int

func (*FakeToken) IsValidCalls

func (fake *FakeToken) IsValidCalls(stub func() bool)

func (*FakeToken) IsValidReturns

func (fake *FakeToken) IsValidReturns(result1 bool)

func (*FakeToken) IsValidReturnsOnCall

func (fake *FakeToken) IsValidReturnsOnCall(i int, result1 bool)

func (*FakeToken) Type

func (fake *FakeToken) Type() string

func (*FakeToken) TypeCallCount

func (fake *FakeToken) TypeCallCount() int

func (*FakeToken) TypeCalls

func (fake *FakeToken) TypeCalls(stub func() string)

func (*FakeToken) TypeReturns

func (fake *FakeToken) TypeReturns(result1 string)

func (*FakeToken) TypeReturnsOnCall

func (fake *FakeToken) TypeReturnsOnCall(i int, result1 string)

func (*FakeToken) Value

func (fake *FakeToken) Value() string

func (*FakeToken) ValueCallCount

func (fake *FakeToken) ValueCallCount() int

func (*FakeToken) ValueCalls

func (fake *FakeToken) ValueCalls(stub func() string)

func (*FakeToken) ValueReturns

func (fake *FakeToken) ValueReturns(result1 string)

func (*FakeToken) ValueReturnsOnCall

func (fake *FakeToken) ValueReturnsOnCall(i int, result1 string)

type FakeUAA

type FakeUAA struct {
	ClientCredentialsGrantStub func() (uaa.AccessToken, error)

	OwnerPasswordCredentialsGrantStub func([]uaa.PromptAnswer) (uaa.AccessToken, error)

	PromptsStub func() ([]uaa.Prompt, error)

	RefreshTokenGrantStub func(string) (uaa.AccessToken, error)
	// contains filtered or unexported fields
}

func (*FakeUAA) ClientCredentialsGrant

func (fake *FakeUAA) ClientCredentialsGrant() (uaa.AccessToken, error)

func (*FakeUAA) ClientCredentialsGrantCallCount

func (fake *FakeUAA) ClientCredentialsGrantCallCount() int

func (*FakeUAA) ClientCredentialsGrantCalls

func (fake *FakeUAA) ClientCredentialsGrantCalls(stub func() (uaa.AccessToken, error))

func (*FakeUAA) ClientCredentialsGrantReturns

func (fake *FakeUAA) ClientCredentialsGrantReturns(result1 uaa.AccessToken, result2 error)

func (*FakeUAA) ClientCredentialsGrantReturnsOnCall

func (fake *FakeUAA) ClientCredentialsGrantReturnsOnCall(i int, result1 uaa.AccessToken, result2 error)

func (*FakeUAA) Invocations

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

func (*FakeUAA) OwnerPasswordCredentialsGrant

func (fake *FakeUAA) OwnerPasswordCredentialsGrant(arg1 []uaa.PromptAnswer) (uaa.AccessToken, error)

func (*FakeUAA) OwnerPasswordCredentialsGrantArgsForCall

func (fake *FakeUAA) OwnerPasswordCredentialsGrantArgsForCall(i int) []uaa.PromptAnswer

func (*FakeUAA) OwnerPasswordCredentialsGrantCallCount

func (fake *FakeUAA) OwnerPasswordCredentialsGrantCallCount() int

func (*FakeUAA) OwnerPasswordCredentialsGrantCalls

func (fake *FakeUAA) OwnerPasswordCredentialsGrantCalls(stub func([]uaa.PromptAnswer) (uaa.AccessToken, error))

func (*FakeUAA) OwnerPasswordCredentialsGrantReturns

func (fake *FakeUAA) OwnerPasswordCredentialsGrantReturns(result1 uaa.AccessToken, result2 error)

func (*FakeUAA) OwnerPasswordCredentialsGrantReturnsOnCall

func (fake *FakeUAA) OwnerPasswordCredentialsGrantReturnsOnCall(i int, result1 uaa.AccessToken, result2 error)

func (*FakeUAA) Prompts

func (fake *FakeUAA) Prompts() ([]uaa.Prompt, error)

func (*FakeUAA) PromptsCallCount

func (fake *FakeUAA) PromptsCallCount() int

func (*FakeUAA) PromptsCalls

func (fake *FakeUAA) PromptsCalls(stub func() ([]uaa.Prompt, error))

func (*FakeUAA) PromptsReturns

func (fake *FakeUAA) PromptsReturns(result1 []uaa.Prompt, result2 error)

func (*FakeUAA) PromptsReturnsOnCall

func (fake *FakeUAA) PromptsReturnsOnCall(i int, result1 []uaa.Prompt, result2 error)

func (*FakeUAA) RefreshTokenGrant

func (fake *FakeUAA) RefreshTokenGrant(arg1 string) (uaa.AccessToken, error)

func (*FakeUAA) RefreshTokenGrantArgsForCall

func (fake *FakeUAA) RefreshTokenGrantArgsForCall(i int) string

func (*FakeUAA) RefreshTokenGrantCallCount

func (fake *FakeUAA) RefreshTokenGrantCallCount() int

func (*FakeUAA) RefreshTokenGrantCalls

func (fake *FakeUAA) RefreshTokenGrantCalls(stub func(string) (uaa.AccessToken, error))

func (*FakeUAA) RefreshTokenGrantReturns

func (fake *FakeUAA) RefreshTokenGrantReturns(result1 uaa.AccessToken, result2 error)

func (*FakeUAA) RefreshTokenGrantReturnsOnCall

func (fake *FakeUAA) RefreshTokenGrantReturnsOnCall(i int, result1 uaa.AccessToken, result2 error)

Jump to

Keyboard shortcuts

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