wrapperfakes

package
v6.24.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2017 License: Apache-2.0 Imports: 4 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 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) 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) 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) 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) 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) 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) 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) 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) Stop

func (fake *FakeRequestLoggerOutput) Stop() error

func (*FakeRequestLoggerOutput) StopCallCount

func (fake *FakeRequestLoggerOutput) StopCallCount() int

func (*FakeRequestLoggerOutput) StopReturns

func (fake *FakeRequestLoggerOutput) StopReturns(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) 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) 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.RefreshToken, 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.RefreshToken, 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.RefreshToken, result2 error)

Jump to

Keyboard shortcuts

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