wrapperfakes

package
v6.34.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2018 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.

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 FakeRequestLoggerOutput

type FakeRequestLoggerOutput struct {
	DisplayBodyStub func(body []byte) error

	DisplayJSONBodyStub func(body []byte) error

	DisplayHeaderStub func(name string, value string) error

	DisplayHostStub func(name string) error

	DisplayRequestHeaderStub func(method string, uri string, httpProtocol string) error

	DisplayResponseHeaderStub func(httpProtocol string, status string) error

	DisplayTypeStub func(name string, requestDate time.Time) error

	HandleInternalErrorStub func(err error)

	StartStub func() error

	StopStub func() error
	// contains filtered or unexported fields
}

func (*FakeRequestLoggerOutput) DisplayBody

func (fake *FakeRequestLoggerOutput) DisplayBody(body []byte) error

func (*FakeRequestLoggerOutput) DisplayBodyArgsForCall

func (fake *FakeRequestLoggerOutput) DisplayBodyArgsForCall(i int) []byte

func (*FakeRequestLoggerOutput) DisplayBodyCallCount

func (fake *FakeRequestLoggerOutput) DisplayBodyCallCount() int

func (*FakeRequestLoggerOutput) DisplayBodyReturns

func (fake *FakeRequestLoggerOutput) DisplayBodyReturns(result1 error)

func (*FakeRequestLoggerOutput) DisplayBodyReturnsOnCall

func (fake *FakeRequestLoggerOutput) DisplayBodyReturnsOnCall(i int, result1 error)

func (*FakeRequestLoggerOutput) DisplayHeader

func (fake *FakeRequestLoggerOutput) DisplayHeader(name string, value string) error

func (*FakeRequestLoggerOutput) DisplayHeaderArgsForCall

func (fake *FakeRequestLoggerOutput) DisplayHeaderArgsForCall(i int) (string, string)

func (*FakeRequestLoggerOutput) DisplayHeaderCallCount

func (fake *FakeRequestLoggerOutput) DisplayHeaderCallCount() int

func (*FakeRequestLoggerOutput) DisplayHeaderReturns

func (fake *FakeRequestLoggerOutput) DisplayHeaderReturns(result1 error)

func (*FakeRequestLoggerOutput) DisplayHeaderReturnsOnCall

func (fake *FakeRequestLoggerOutput) DisplayHeaderReturnsOnCall(i int, result1 error)

func (*FakeRequestLoggerOutput) DisplayHost

func (fake *FakeRequestLoggerOutput) DisplayHost(name string) error

func (*FakeRequestLoggerOutput) DisplayHostArgsForCall

func (fake *FakeRequestLoggerOutput) DisplayHostArgsForCall(i int) string

func (*FakeRequestLoggerOutput) DisplayHostCallCount

func (fake *FakeRequestLoggerOutput) DisplayHostCallCount() int

func (*FakeRequestLoggerOutput) DisplayHostReturns

func (fake *FakeRequestLoggerOutput) DisplayHostReturns(result1 error)

func (*FakeRequestLoggerOutput) DisplayHostReturnsOnCall

func (fake *FakeRequestLoggerOutput) DisplayHostReturnsOnCall(i int, result1 error)

func (*FakeRequestLoggerOutput) DisplayJSONBody

func (fake *FakeRequestLoggerOutput) DisplayJSONBody(body []byte) error

func (*FakeRequestLoggerOutput) DisplayJSONBodyArgsForCall

func (fake *FakeRequestLoggerOutput) DisplayJSONBodyArgsForCall(i int) []byte

func (*FakeRequestLoggerOutput) DisplayJSONBodyCallCount

func (fake *FakeRequestLoggerOutput) DisplayJSONBodyCallCount() int

func (*FakeRequestLoggerOutput) DisplayJSONBodyReturns

func (fake *FakeRequestLoggerOutput) DisplayJSONBodyReturns(result1 error)

func (*FakeRequestLoggerOutput) DisplayJSONBodyReturnsOnCall

func (fake *FakeRequestLoggerOutput) DisplayJSONBodyReturnsOnCall(i int, result1 error)

func (*FakeRequestLoggerOutput) DisplayRequestHeader

func (fake *FakeRequestLoggerOutput) DisplayRequestHeader(method string, uri string, httpProtocol string) error

func (*FakeRequestLoggerOutput) DisplayRequestHeaderArgsForCall

func (fake *FakeRequestLoggerOutput) DisplayRequestHeaderArgsForCall(i int) (string, string, string)

func (*FakeRequestLoggerOutput) DisplayRequestHeaderCallCount

func (fake *FakeRequestLoggerOutput) DisplayRequestHeaderCallCount() int

func (*FakeRequestLoggerOutput) DisplayRequestHeaderReturns

func (fake *FakeRequestLoggerOutput) DisplayRequestHeaderReturns(result1 error)

func (*FakeRequestLoggerOutput) DisplayRequestHeaderReturnsOnCall

func (fake *FakeRequestLoggerOutput) DisplayRequestHeaderReturnsOnCall(i int, result1 error)

func (*FakeRequestLoggerOutput) DisplayResponseHeader

func (fake *FakeRequestLoggerOutput) DisplayResponseHeader(httpProtocol string, status string) error

func (*FakeRequestLoggerOutput) DisplayResponseHeaderArgsForCall

func (fake *FakeRequestLoggerOutput) DisplayResponseHeaderArgsForCall(i int) (string, string)

func (*FakeRequestLoggerOutput) DisplayResponseHeaderCallCount

func (fake *FakeRequestLoggerOutput) DisplayResponseHeaderCallCount() int

func (*FakeRequestLoggerOutput) DisplayResponseHeaderReturns

func (fake *FakeRequestLoggerOutput) DisplayResponseHeaderReturns(result1 error)

func (*FakeRequestLoggerOutput) DisplayResponseHeaderReturnsOnCall

func (fake *FakeRequestLoggerOutput) DisplayResponseHeaderReturnsOnCall(i int, result1 error)

func (*FakeRequestLoggerOutput) DisplayType

func (fake *FakeRequestLoggerOutput) DisplayType(name string, requestDate time.Time) error

func (*FakeRequestLoggerOutput) DisplayTypeArgsForCall

func (fake *FakeRequestLoggerOutput) DisplayTypeArgsForCall(i int) (string, time.Time)

func (*FakeRequestLoggerOutput) DisplayTypeCallCount

func (fake *FakeRequestLoggerOutput) DisplayTypeCallCount() int

func (*FakeRequestLoggerOutput) DisplayTypeReturns

func (fake *FakeRequestLoggerOutput) DisplayTypeReturns(result1 error)

func (*FakeRequestLoggerOutput) DisplayTypeReturnsOnCall

func (fake *FakeRequestLoggerOutput) DisplayTypeReturnsOnCall(i int, result1 error)

func (*FakeRequestLoggerOutput) HandleInternalError

func (fake *FakeRequestLoggerOutput) HandleInternalError(err error)

func (*FakeRequestLoggerOutput) HandleInternalErrorArgsForCall

func (fake *FakeRequestLoggerOutput) HandleInternalErrorArgsForCall(i int) error

func (*FakeRequestLoggerOutput) HandleInternalErrorCallCount

func (fake *FakeRequestLoggerOutput) HandleInternalErrorCallCount() int

func (*FakeRequestLoggerOutput) Invocations

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

func (*FakeRequestLoggerOutput) Start

func (fake *FakeRequestLoggerOutput) Start() error

func (*FakeRequestLoggerOutput) StartCallCount

func (fake *FakeRequestLoggerOutput) StartCallCount() int

func (*FakeRequestLoggerOutput) StartReturns

func (fake *FakeRequestLoggerOutput) StartReturns(result1 error)

func (*FakeRequestLoggerOutput) StartReturnsOnCall

func (fake *FakeRequestLoggerOutput) StartReturnsOnCall(i int, result1 error)

func (*FakeRequestLoggerOutput) Stop

func (fake *FakeRequestLoggerOutput) Stop() error

func (*FakeRequestLoggerOutput) StopCallCount

func (fake *FakeRequestLoggerOutput) StopCallCount() int

func (*FakeRequestLoggerOutput) StopReturns

func (fake *FakeRequestLoggerOutput) StopReturns(result1 error)

func (*FakeRequestLoggerOutput) StopReturnsOnCall

func (fake *FakeRequestLoggerOutput) StopReturnsOnCall(i int, result1 error)

type FakeTokenCache

type FakeTokenCache struct {
	AccessTokenStub func() string

	RefreshTokenStub func() string

	SetAccessTokenStub func(token string)

	SetRefreshTokenStub func(token string)
	// contains filtered or unexported fields
}

func (*FakeTokenCache) AccessToken

func (fake *FakeTokenCache) AccessToken() string

func (*FakeTokenCache) AccessTokenCallCount

func (fake *FakeTokenCache) AccessTokenCallCount() int

func (*FakeTokenCache) AccessTokenReturns

func (fake *FakeTokenCache) AccessTokenReturns(result1 string)

func (*FakeTokenCache) AccessTokenReturnsOnCall

func (fake *FakeTokenCache) AccessTokenReturnsOnCall(i int, result1 string)

func (*FakeTokenCache) Invocations

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

func (*FakeTokenCache) RefreshToken

func (fake *FakeTokenCache) RefreshToken() string

func (*FakeTokenCache) RefreshTokenCallCount

func (fake *FakeTokenCache) RefreshTokenCallCount() int

func (*FakeTokenCache) RefreshTokenReturns

func (fake *FakeTokenCache) RefreshTokenReturns(result1 string)

func (*FakeTokenCache) RefreshTokenReturnsOnCall

func (fake *FakeTokenCache) RefreshTokenReturnsOnCall(i int, result1 string)

func (*FakeTokenCache) SetAccessToken

func (fake *FakeTokenCache) SetAccessToken(token string)

func (*FakeTokenCache) SetAccessTokenArgsForCall

func (fake *FakeTokenCache) SetAccessTokenArgsForCall(i int) string

func (*FakeTokenCache) SetAccessTokenCallCount

func (fake *FakeTokenCache) SetAccessTokenCallCount() int

func (*FakeTokenCache) SetRefreshToken

func (fake *FakeTokenCache) SetRefreshToken(token string)

func (*FakeTokenCache) SetRefreshTokenArgsForCall

func (fake *FakeTokenCache) SetRefreshTokenArgsForCall(i int) string

func (*FakeTokenCache) SetRefreshTokenCallCount

func (fake *FakeTokenCache) SetRefreshTokenCallCount() int

type FakeUAAClient

type FakeUAAClient struct {
	RefreshAccessTokenStub func(refreshToken string) (uaa.RefreshedTokens, error)
	// contains filtered or unexported fields
}

func (*FakeUAAClient) Invocations

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

func (*FakeUAAClient) RefreshAccessToken

func (fake *FakeUAAClient) RefreshAccessToken(refreshToken string) (uaa.RefreshedTokens, error)

func (*FakeUAAClient) RefreshAccessTokenArgsForCall

func (fake *FakeUAAClient) RefreshAccessTokenArgsForCall(i int) string

func (*FakeUAAClient) RefreshAccessTokenCallCount

func (fake *FakeUAAClient) RefreshAccessTokenCallCount() int

func (*FakeUAAClient) RefreshAccessTokenReturns

func (fake *FakeUAAClient) RefreshAccessTokenReturns(result1 uaa.RefreshedTokens, result2 error)

func (*FakeUAAClient) RefreshAccessTokenReturnsOnCall

func (fake *FakeUAAClient) RefreshAccessTokenReturnsOnCall(i int, result1 uaa.RefreshedTokens, result2 error)

Jump to

Keyboard shortcuts

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