wrapperfakes

package
v8.7.8-mod Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 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 {
	DisplayHeaderStub func(string, string) error

	DisplayHostStub func(string) error

	DisplayJSONBodyStub func([]byte) error

	DisplayMessageStub func(string) error

	DisplayRequestHeaderStub func(string, string, string) error

	DisplayResponseHeaderStub func(string, string) error

	DisplayTypeStub func(string, time.Time) error

	HandleInternalErrorStub func(error)

	StartStub func() error

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

func (*FakeRequestLoggerOutput) DisplayHeader

func (fake *FakeRequestLoggerOutput) DisplayHeader(arg1 string, arg2 string) error

func (*FakeRequestLoggerOutput) DisplayHeaderArgsForCall

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

func (*FakeRequestLoggerOutput) DisplayHeaderCallCount

func (fake *FakeRequestLoggerOutput) DisplayHeaderCallCount() int

func (*FakeRequestLoggerOutput) DisplayHeaderCalls

func (fake *FakeRequestLoggerOutput) DisplayHeaderCalls(stub func(string, string) error)

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(arg1 string) error

func (*FakeRequestLoggerOutput) DisplayHostArgsForCall

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

func (*FakeRequestLoggerOutput) DisplayHostCallCount

func (fake *FakeRequestLoggerOutput) DisplayHostCallCount() int

func (*FakeRequestLoggerOutput) DisplayHostCalls

func (fake *FakeRequestLoggerOutput) DisplayHostCalls(stub func(string) error)

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(arg1 []byte) error

func (*FakeRequestLoggerOutput) DisplayJSONBodyArgsForCall

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

func (*FakeRequestLoggerOutput) DisplayJSONBodyCallCount

func (fake *FakeRequestLoggerOutput) DisplayJSONBodyCallCount() int

func (*FakeRequestLoggerOutput) DisplayJSONBodyCalls

func (fake *FakeRequestLoggerOutput) DisplayJSONBodyCalls(stub func([]byte) error)

func (*FakeRequestLoggerOutput) DisplayJSONBodyReturns

func (fake *FakeRequestLoggerOutput) DisplayJSONBodyReturns(result1 error)

func (*FakeRequestLoggerOutput) DisplayJSONBodyReturnsOnCall

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

func (*FakeRequestLoggerOutput) DisplayMessage

func (fake *FakeRequestLoggerOutput) DisplayMessage(arg1 string) error

func (*FakeRequestLoggerOutput) DisplayMessageArgsForCall

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

func (*FakeRequestLoggerOutput) DisplayMessageCallCount

func (fake *FakeRequestLoggerOutput) DisplayMessageCallCount() int

func (*FakeRequestLoggerOutput) DisplayMessageCalls

func (fake *FakeRequestLoggerOutput) DisplayMessageCalls(stub func(string) error)

func (*FakeRequestLoggerOutput) DisplayMessageReturns

func (fake *FakeRequestLoggerOutput) DisplayMessageReturns(result1 error)

func (*FakeRequestLoggerOutput) DisplayMessageReturnsOnCall

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

func (*FakeRequestLoggerOutput) DisplayRequestHeader

func (fake *FakeRequestLoggerOutput) DisplayRequestHeader(arg1 string, arg2 string, arg3 string) error

func (*FakeRequestLoggerOutput) DisplayRequestHeaderArgsForCall

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

func (*FakeRequestLoggerOutput) DisplayRequestHeaderCallCount

func (fake *FakeRequestLoggerOutput) DisplayRequestHeaderCallCount() int

func (*FakeRequestLoggerOutput) DisplayRequestHeaderCalls

func (fake *FakeRequestLoggerOutput) DisplayRequestHeaderCalls(stub func(string, string, string) error)

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(arg1 string, arg2 string) error

func (*FakeRequestLoggerOutput) DisplayResponseHeaderArgsForCall

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

func (*FakeRequestLoggerOutput) DisplayResponseHeaderCallCount

func (fake *FakeRequestLoggerOutput) DisplayResponseHeaderCallCount() int

func (*FakeRequestLoggerOutput) DisplayResponseHeaderCalls

func (fake *FakeRequestLoggerOutput) DisplayResponseHeaderCalls(stub func(string, string) error)

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(arg1 string, arg2 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) DisplayTypeCalls

func (fake *FakeRequestLoggerOutput) DisplayTypeCalls(stub func(string, time.Time) error)

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(arg1 error)

func (*FakeRequestLoggerOutput) HandleInternalErrorArgsForCall

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

func (*FakeRequestLoggerOutput) HandleInternalErrorCallCount

func (fake *FakeRequestLoggerOutput) HandleInternalErrorCallCount() int

func (*FakeRequestLoggerOutput) HandleInternalErrorCalls

func (fake *FakeRequestLoggerOutput) HandleInternalErrorCalls(stub func(error))

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

func (fake *FakeRequestLoggerOutput) StartCalls(stub func() error)

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

func (fake *FakeRequestLoggerOutput) StopCalls(stub func() error)

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(string)

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

func (*FakeTokenCache) AccessToken

func (fake *FakeTokenCache) AccessToken() string

func (*FakeTokenCache) AccessTokenCallCount

func (fake *FakeTokenCache) AccessTokenCallCount() int

func (*FakeTokenCache) AccessTokenCalls

func (fake *FakeTokenCache) AccessTokenCalls(stub func() string)

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

func (fake *FakeTokenCache) RefreshTokenCalls(stub func() string)

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(arg1 string)

func (*FakeTokenCache) SetAccessTokenArgsForCall

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

func (*FakeTokenCache) SetAccessTokenCallCount

func (fake *FakeTokenCache) SetAccessTokenCallCount() int

func (*FakeTokenCache) SetAccessTokenCalls

func (fake *FakeTokenCache) SetAccessTokenCalls(stub func(string))

func (*FakeTokenCache) SetRefreshToken

func (fake *FakeTokenCache) SetRefreshToken(arg1 string)

func (*FakeTokenCache) SetRefreshTokenArgsForCall

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

func (*FakeTokenCache) SetRefreshTokenCallCount

func (fake *FakeTokenCache) SetRefreshTokenCallCount() int

func (*FakeTokenCache) SetRefreshTokenCalls

func (fake *FakeTokenCache) SetRefreshTokenCalls(stub func(string))

type FakeUAAClient

type FakeUAAClient struct {
	RefreshAccessTokenStub func(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(arg1 string) (uaa.RefreshedTokens, error)

func (*FakeUAAClient) RefreshAccessTokenArgsForCall

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

func (*FakeUAAClient) RefreshAccessTokenCallCount

func (fake *FakeUAAClient) RefreshAccessTokenCallCount() int

func (*FakeUAAClient) RefreshAccessTokenCalls

func (fake *FakeUAAClient) RefreshAccessTokenCalls(stub func(string) (uaa.RefreshedTokens, error))

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