fakes

package
v0.0.81 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2016 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeAccessToken

type FakeAccessToken struct {
	TypeStub func() string

	ValueStub func() string

	RefreshTokenStub func() uaa.Token

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

func (*FakeAccessToken) Refresh

func (fake *FakeAccessToken) Refresh() (uaa.AccessToken, error)

func (*FakeAccessToken) RefreshCallCount

func (fake *FakeAccessToken) RefreshCallCount() int

func (*FakeAccessToken) RefreshReturns

func (fake *FakeAccessToken) RefreshReturns(result1 uaa.AccessToken, result2 error)

func (*FakeAccessToken) RefreshToken

func (fake *FakeAccessToken) RefreshToken() uaa.Token

func (*FakeAccessToken) RefreshTokenCallCount

func (fake *FakeAccessToken) RefreshTokenCallCount() int

func (*FakeAccessToken) RefreshTokenReturns

func (fake *FakeAccessToken) RefreshTokenReturns(result1 uaa.Token)

func (*FakeAccessToken) Type

func (fake *FakeAccessToken) Type() string

func (*FakeAccessToken) TypeCallCount

func (fake *FakeAccessToken) TypeCallCount() int

func (*FakeAccessToken) TypeReturns

func (fake *FakeAccessToken) TypeReturns(result1 string)

func (*FakeAccessToken) Value

func (fake *FakeAccessToken) Value() string

func (*FakeAccessToken) ValueCallCount

func (fake *FakeAccessToken) ValueCallCount() int

func (*FakeAccessToken) ValueReturns

func (fake *FakeAccessToken) ValueReturns(result1 string)

type FakeToken

type FakeToken struct {
	TypeStub func() string

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

func (*FakeToken) Type

func (fake *FakeToken) Type() string

func (*FakeToken) TypeCallCount

func (fake *FakeToken) TypeCallCount() int

func (*FakeToken) TypeReturns

func (fake *FakeToken) TypeReturns(result1 string)

func (*FakeToken) Value

func (fake *FakeToken) Value() string

func (*FakeToken) ValueCallCount

func (fake *FakeToken) ValueCallCount() int

func (*FakeToken) ValueReturns

func (fake *FakeToken) ValueReturns(result1 string)

type FakeUAA

type FakeUAA struct {
	NewStaleAccessTokenStub func(refreshValue string) uaa.StaleAccessToken

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

	ClientCredentialsGrantStub func() (uaa.Token, error)

	OwnerPasswordCredentialsGrantStub func([]uaa.PromptAnswer) (uaa.AccessToken, error)
	// contains filtered or unexported fields
}

func (*FakeUAA) ClientCredentialsGrant

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

func (*FakeUAA) ClientCredentialsGrantCallCount

func (fake *FakeUAA) ClientCredentialsGrantCallCount() int

func (*FakeUAA) ClientCredentialsGrantReturns

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

func (*FakeUAA) NewStaleAccessToken

func (fake *FakeUAA) NewStaleAccessToken(refreshValue string) uaa.StaleAccessToken

func (*FakeUAA) NewStaleAccessTokenArgsForCall

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

func (*FakeUAA) NewStaleAccessTokenCallCount

func (fake *FakeUAA) NewStaleAccessTokenCallCount() int

func (*FakeUAA) NewStaleAccessTokenReturns

func (fake *FakeUAA) NewStaleAccessTokenReturns(result1 uaa.StaleAccessToken)

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) OwnerPasswordCredentialsGrantReturns

func (fake *FakeUAA) OwnerPasswordCredentialsGrantReturns(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) PromptsReturns

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

Jump to

Keyboard shortcuts

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