fake

package
v1.39.8 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2022 License: Apache-2.0 Imports: 6 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.

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 FakeAuthenticator

type FakeAuthenticator struct {
	GetTokenStub func() (*auth.TokenResponse, *errors.ApiError)

	WipeCachedTokensStub func() *errors.ApiError
	// contains filtered or unexported fields
}

func (*FakeAuthenticator) GetToken

func (fake *FakeAuthenticator) GetToken() (*auth.TokenResponse, *errors.ApiError)

func (*FakeAuthenticator) GetTokenCallCount

func (fake *FakeAuthenticator) GetTokenCallCount() int

func (*FakeAuthenticator) GetTokenCalls

func (fake *FakeAuthenticator) GetTokenCalls(stub func() (*auth.TokenResponse, *errors.ApiError))

func (*FakeAuthenticator) GetTokenReturns

func (fake *FakeAuthenticator) GetTokenReturns(result1 *auth.TokenResponse, result2 *errors.ApiError)

func (*FakeAuthenticator) GetTokenReturnsOnCall

func (fake *FakeAuthenticator) GetTokenReturnsOnCall(i int, result1 *auth.TokenResponse, result2 *errors.ApiError)

func (*FakeAuthenticator) Invocations

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

func (*FakeAuthenticator) WipeCachedTokens

func (fake *FakeAuthenticator) WipeCachedTokens() *errors.ApiError

func (*FakeAuthenticator) WipeCachedTokensCallCount

func (fake *FakeAuthenticator) WipeCachedTokensCallCount() int

func (*FakeAuthenticator) WipeCachedTokensCalls

func (fake *FakeAuthenticator) WipeCachedTokensCalls(stub func() *errors.ApiError)

func (*FakeAuthenticator) WipeCachedTokensReturns

func (fake *FakeAuthenticator) WipeCachedTokensReturns(result1 *errors.ApiError)

func (*FakeAuthenticator) WipeCachedTokensReturnsOnCall

func (fake *FakeAuthenticator) WipeCachedTokensReturnsOnCall(i int, result1 *errors.ApiError)

type FakeClient

type FakeClient struct {
	DoRequestStub func(string, string, interface{}) ([]byte, *errors.ApiError)

	DoRequestOutStub func(string, string, interface{}, interface{}) *errors.ApiError
	// contains filtered or unexported fields
}

func (*FakeClient) DoRequest

func (fake *FakeClient) DoRequest(arg1 string, arg2 string, arg3 interface{}) ([]byte, *errors.ApiError)

func (*FakeClient) DoRequestArgsForCall

func (fake *FakeClient) DoRequestArgsForCall(i int) (string, string, interface{})

func (*FakeClient) DoRequestCallCount

func (fake *FakeClient) DoRequestCallCount() int

func (*FakeClient) DoRequestCalls

func (fake *FakeClient) DoRequestCalls(stub func(string, string, interface{}) ([]byte, *errors.ApiError))

func (*FakeClient) DoRequestOut

func (fake *FakeClient) DoRequestOut(arg1 string, arg2 string, arg3 interface{}, arg4 interface{}) *errors.ApiError

func (*FakeClient) DoRequestOutArgsForCall

func (fake *FakeClient) DoRequestOutArgsForCall(i int) (string, string, interface{}, interface{})

func (*FakeClient) DoRequestOutCallCount

func (fake *FakeClient) DoRequestOutCallCount() int

func (*FakeClient) DoRequestOutCalls

func (fake *FakeClient) DoRequestOutCalls(stub func(string, string, interface{}, interface{}) *errors.ApiError)

func (*FakeClient) DoRequestOutReturns

func (fake *FakeClient) DoRequestOutReturns(result1 *errors.ApiError)

func (*FakeClient) DoRequestOutReturnsOnCall

func (fake *FakeClient) DoRequestOutReturnsOnCall(i int, result1 *errors.ApiError)

func (*FakeClient) DoRequestReturns

func (fake *FakeClient) DoRequestReturns(result1 []byte, result2 *errors.ApiError)

func (*FakeClient) DoRequestReturnsOnCall

func (fake *FakeClient) DoRequestReturnsOnCall(i int, result1 []byte, result2 *errors.ApiError)

func (*FakeClient) Invocations

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

type FakeGraphClient

type FakeGraphClient struct {
	DoRequestStub func(string, interface{}, map[string]interface{}) ([]byte, *errors.ApiError)
	// contains filtered or unexported fields
}

func (*FakeGraphClient) DoRequest

func (fake *FakeGraphClient) DoRequest(arg1 string, arg2 interface{}, arg3 map[string]interface{}) ([]byte, *errors.ApiError)

func (*FakeGraphClient) DoRequestArgsForCall

func (fake *FakeGraphClient) DoRequestArgsForCall(i int) (string, interface{}, map[string]interface{})

func (*FakeGraphClient) DoRequestCallCount

func (fake *FakeGraphClient) DoRequestCallCount() int

func (*FakeGraphClient) DoRequestCalls

func (fake *FakeGraphClient) DoRequestCalls(stub func(string, interface{}, map[string]interface{}) ([]byte, *errors.ApiError))

func (*FakeGraphClient) DoRequestReturns

func (fake *FakeGraphClient) DoRequestReturns(result1 []byte, result2 *errors.ApiError)

func (*FakeGraphClient) DoRequestReturnsOnCall

func (fake *FakeGraphClient) DoRequestReturnsOnCall(i int, result1 []byte, result2 *errors.ApiError)

func (*FakeGraphClient) Invocations

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

type FakeOutClient

type FakeOutClient struct {
	FailStub func(error)

	FailEStub func(*errors.ApiError)

	FailFStub func(string, ...interface{})

	FailSStub func(string)

	WriteResponseStub func([]byte, *errors.ApiError)
	// contains filtered or unexported fields
}

func (*FakeOutClient) Fail

func (fake *FakeOutClient) Fail(arg1 error)

func (*FakeOutClient) FailArgsForCall

func (fake *FakeOutClient) FailArgsForCall(i int) error

func (*FakeOutClient) FailCallCount

func (fake *FakeOutClient) FailCallCount() int

func (*FakeOutClient) FailCalls

func (fake *FakeOutClient) FailCalls(stub func(error))

func (*FakeOutClient) FailE

func (fake *FakeOutClient) FailE(arg1 *errors.ApiError)

func (*FakeOutClient) FailEArgsForCall

func (fake *FakeOutClient) FailEArgsForCall(i int) *errors.ApiError

func (*FakeOutClient) FailECallCount

func (fake *FakeOutClient) FailECallCount() int

func (*FakeOutClient) FailECalls

func (fake *FakeOutClient) FailECalls(stub func(*errors.ApiError))

func (*FakeOutClient) FailF

func (fake *FakeOutClient) FailF(arg1 string, arg2 ...interface{})

func (*FakeOutClient) FailFArgsForCall

func (fake *FakeOutClient) FailFArgsForCall(i int) (string, []interface{})

func (*FakeOutClient) FailFCallCount

func (fake *FakeOutClient) FailFCallCount() int

func (*FakeOutClient) FailFCalls

func (fake *FakeOutClient) FailFCalls(stub func(string, ...interface{}))

func (*FakeOutClient) FailS

func (fake *FakeOutClient) FailS(arg1 string)

func (*FakeOutClient) FailSArgsForCall

func (fake *FakeOutClient) FailSArgsForCall(i int) string

func (*FakeOutClient) FailSCallCount

func (fake *FakeOutClient) FailSCallCount() int

func (*FakeOutClient) FailSCalls

func (fake *FakeOutClient) FailSCalls(stub func(string))

func (*FakeOutClient) Invocations

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

func (*FakeOutClient) WriteResponse

func (fake *FakeOutClient) WriteResponse(arg1 []byte, arg2 *errors.ApiError)

func (*FakeOutClient) WriteResponseArgsForCall

func (fake *FakeOutClient) WriteResponseArgsForCall(i int) ([]byte, *errors.ApiError)

func (*FakeOutClient) WriteResponseCallCount

func (fake *FakeOutClient) WriteResponseCallCount() int

func (*FakeOutClient) WriteResponseCalls

func (fake *FakeOutClient) WriteResponseCalls(stub func([]byte, *errors.ApiError))

type FakeStore

type FakeStore struct {
	DeleteStub func(string) *errors.ApiError

	GetStub func(string, interface{}) *errors.ApiError

	ListStub func(string) ([]string, *errors.ApiError)

	StoreStub func(string, interface{}) *errors.ApiError

	StoreStringStub func(string, string) *errors.ApiError

	WipeStub func(string) *errors.ApiError
	// contains filtered or unexported fields
}

func (*FakeStore) Delete

func (fake *FakeStore) Delete(arg1 string) *errors.ApiError

func (*FakeStore) DeleteArgsForCall

func (fake *FakeStore) DeleteArgsForCall(i int) string

func (*FakeStore) DeleteCallCount

func (fake *FakeStore) DeleteCallCount() int

func (*FakeStore) DeleteCalls

func (fake *FakeStore) DeleteCalls(stub func(string) *errors.ApiError)

func (*FakeStore) DeleteReturns

func (fake *FakeStore) DeleteReturns(result1 *errors.ApiError)

func (*FakeStore) DeleteReturnsOnCall

func (fake *FakeStore) DeleteReturnsOnCall(i int, result1 *errors.ApiError)

func (*FakeStore) Get

func (fake *FakeStore) Get(arg1 string, arg2 interface{}) *errors.ApiError

func (*FakeStore) GetArgsForCall

func (fake *FakeStore) GetArgsForCall(i int) (string, interface{})

func (*FakeStore) GetCallCount

func (fake *FakeStore) GetCallCount() int

func (*FakeStore) GetCalls

func (fake *FakeStore) GetCalls(stub func(string, interface{}) *errors.ApiError)

func (*FakeStore) GetReturns

func (fake *FakeStore) GetReturns(result1 *errors.ApiError)

func (*FakeStore) GetReturnsOnCall

func (fake *FakeStore) GetReturnsOnCall(i int, result1 *errors.ApiError)

func (*FakeStore) Invocations

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

func (*FakeStore) List

func (fake *FakeStore) List(arg1 string) ([]string, *errors.ApiError)

func (*FakeStore) ListArgsForCall

func (fake *FakeStore) ListArgsForCall(i int) string

func (*FakeStore) ListCallCount

func (fake *FakeStore) ListCallCount() int

func (*FakeStore) ListCalls

func (fake *FakeStore) ListCalls(stub func(string) ([]string, *errors.ApiError))

func (*FakeStore) ListReturns

func (fake *FakeStore) ListReturns(result1 []string, result2 *errors.ApiError)

func (*FakeStore) ListReturnsOnCall

func (fake *FakeStore) ListReturnsOnCall(i int, result1 []string, result2 *errors.ApiError)

func (*FakeStore) Store

func (fake *FakeStore) Store(arg1 string, arg2 interface{}) *errors.ApiError

func (*FakeStore) StoreArgsForCall

func (fake *FakeStore) StoreArgsForCall(i int) (string, interface{})

func (*FakeStore) StoreCallCount

func (fake *FakeStore) StoreCallCount() int

func (*FakeStore) StoreCalls

func (fake *FakeStore) StoreCalls(stub func(string, interface{}) *errors.ApiError)

func (*FakeStore) StoreReturns

func (fake *FakeStore) StoreReturns(result1 *errors.ApiError)

func (*FakeStore) StoreReturnsOnCall

func (fake *FakeStore) StoreReturnsOnCall(i int, result1 *errors.ApiError)

func (*FakeStore) StoreString

func (fake *FakeStore) StoreString(arg1 string, arg2 string) *errors.ApiError

func (*FakeStore) StoreStringArgsForCall

func (fake *FakeStore) StoreStringArgsForCall(i int) (string, string)

func (*FakeStore) StoreStringCallCount

func (fake *FakeStore) StoreStringCallCount() int

func (*FakeStore) StoreStringCalls

func (fake *FakeStore) StoreStringCalls(stub func(string, string) *errors.ApiError)

func (*FakeStore) StoreStringReturns

func (fake *FakeStore) StoreStringReturns(result1 *errors.ApiError)

func (*FakeStore) StoreStringReturnsOnCall

func (fake *FakeStore) StoreStringReturnsOnCall(i int, result1 *errors.ApiError)

func (*FakeStore) Wipe

func (fake *FakeStore) Wipe(arg1 string) *errors.ApiError

func (*FakeStore) WipeArgsForCall

func (fake *FakeStore) WipeArgsForCall(i int) string

func (*FakeStore) WipeCallCount

func (fake *FakeStore) WipeCallCount() int

func (*FakeStore) WipeCalls

func (fake *FakeStore) WipeCalls(stub func(string) *errors.ApiError)

func (*FakeStore) WipeReturns

func (fake *FakeStore) WipeReturns(result1 *errors.ApiError)

func (*FakeStore) WipeReturnsOnCall

func (fake *FakeStore) WipeReturnsOnCall(i int, result1 *errors.ApiError)

Jump to

Keyboard shortcuts

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