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 ¶
- type FakeAuthenticator
- func (fake *FakeAuthenticator) GetToken() (*auth.TokenResponse, *errors.ApiError)
- func (fake *FakeAuthenticator) GetTokenCallCount() int
- func (fake *FakeAuthenticator) GetTokenCalls(stub func() (*auth.TokenResponse, *errors.ApiError))
- func (fake *FakeAuthenticator) GetTokenReturns(result1 *auth.TokenResponse, result2 *errors.ApiError)
- func (fake *FakeAuthenticator) GetTokenReturnsOnCall(i int, result1 *auth.TokenResponse, result2 *errors.ApiError)
- func (fake *FakeAuthenticator) Invocations() map[string][][]interface{}
- func (fake *FakeAuthenticator) WipeCachedTokens() error
- func (fake *FakeAuthenticator) WipeCachedTokensCallCount() int
- func (fake *FakeAuthenticator) WipeCachedTokensCalls(stub func() error)
- func (fake *FakeAuthenticator) WipeCachedTokensReturns(result1 error)
- func (fake *FakeAuthenticator) WipeCachedTokensReturnsOnCall(i int, result1 error)
- type FakeClient
- func (fake *FakeClient) DoRequest(arg1 string, arg2 string, arg3 interface{}) ([]byte, *errors.ApiError)
- func (fake *FakeClient) DoRequestArgsForCall(i int) (string, string, interface{})
- func (fake *FakeClient) DoRequestCallCount() int
- func (fake *FakeClient) DoRequestCalls(stub func(string, string, interface{}) ([]byte, *errors.ApiError))
- func (fake *FakeClient) DoRequestOut(arg1 string, arg2 string, arg3 interface{}, arg4 interface{}) *errors.ApiError
- func (fake *FakeClient) DoRequestOutArgsForCall(i int) (string, string, interface{}, interface{})
- func (fake *FakeClient) DoRequestOutCallCount() int
- func (fake *FakeClient) DoRequestOutCalls(stub func(string, string, interface{}, interface{}) *errors.ApiError)
- func (fake *FakeClient) DoRequestOutReturns(result1 *errors.ApiError)
- func (fake *FakeClient) DoRequestOutReturnsOnCall(i int, result1 *errors.ApiError)
- func (fake *FakeClient) DoRequestReturns(result1 []byte, result2 *errors.ApiError)
- func (fake *FakeClient) DoRequestReturnsOnCall(i int, result1 []byte, result2 *errors.ApiError)
- func (fake *FakeClient) Invocations() map[string][][]interface{}
- type FakeGraphClient
- func (fake *FakeGraphClient) DoRequest(arg1 string, arg2 interface{}, arg3 map[string]interface{}) ([]byte, *errors.ApiError)
- func (fake *FakeGraphClient) DoRequestArgsForCall(i int) (string, interface{}, map[string]interface{})
- func (fake *FakeGraphClient) DoRequestCallCount() int
- func (fake *FakeGraphClient) DoRequestCalls(...)
- func (fake *FakeGraphClient) DoRequestReturns(result1 []byte, result2 *errors.ApiError)
- func (fake *FakeGraphClient) DoRequestReturnsOnCall(i int, result1 []byte, result2 *errors.ApiError)
- func (fake *FakeGraphClient) Invocations() map[string][][]interface{}
- type FakeOutClient
- func (fake *FakeOutClient) Fail(arg1 error)
- func (fake *FakeOutClient) FailArgsForCall(i int) error
- func (fake *FakeOutClient) FailCallCount() int
- func (fake *FakeOutClient) FailCalls(stub func(error))
- func (fake *FakeOutClient) FailE(arg1 *errors.ApiError)
- func (fake *FakeOutClient) FailEArgsForCall(i int) *errors.ApiError
- func (fake *FakeOutClient) FailECallCount() int
- func (fake *FakeOutClient) FailECalls(stub func(*errors.ApiError))
- func (fake *FakeOutClient) FailF(arg1 string, arg2 ...interface{})
- func (fake *FakeOutClient) FailFArgsForCall(i int) (string, []interface{})
- func (fake *FakeOutClient) FailFCallCount() int
- func (fake *FakeOutClient) FailFCalls(stub func(string, ...interface{}))
- func (fake *FakeOutClient) FailS(arg1 string)
- func (fake *FakeOutClient) FailSArgsForCall(i int) string
- func (fake *FakeOutClient) FailSCallCount() int
- func (fake *FakeOutClient) FailSCalls(stub func(string))
- func (fake *FakeOutClient) Invocations() map[string][][]interface{}
- func (fake *FakeOutClient) WriteResponse(arg1 []byte, arg2 *errors.ApiError)
- func (fake *FakeOutClient) WriteResponseArgsForCall(i int) ([]byte, *errors.ApiError)
- func (fake *FakeOutClient) WriteResponseCallCount() int
- func (fake *FakeOutClient) WriteResponseCalls(stub func([]byte, *errors.ApiError))
- type FakeStore
- func (fake *FakeStore) Delete(arg1 string) error
- func (fake *FakeStore) DeleteArgsForCall(i int) string
- func (fake *FakeStore) DeleteCallCount() int
- func (fake *FakeStore) DeleteCalls(stub func(string) error)
- func (fake *FakeStore) DeleteReturns(result1 error)
- func (fake *FakeStore) DeleteReturnsOnCall(i int, result1 error)
- func (fake *FakeStore) Get(arg1 string, arg2 any) error
- func (fake *FakeStore) GetArgsForCall(i int) (string, any)
- func (fake *FakeStore) GetCallCount() int
- func (fake *FakeStore) GetCalls(stub func(string, any) error)
- func (fake *FakeStore) GetReturns(result1 error)
- func (fake *FakeStore) GetReturnsOnCall(i int, result1 error)
- func (fake *FakeStore) Invocations() map[string][][]interface{}
- func (fake *FakeStore) List(arg1 string) ([]string, error)
- func (fake *FakeStore) ListArgsForCall(i int) string
- func (fake *FakeStore) ListCallCount() int
- func (fake *FakeStore) ListCalls(stub func(string) ([]string, error))
- func (fake *FakeStore) ListReturns(result1 []string, result2 error)
- func (fake *FakeStore) ListReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *FakeStore) Store(arg1 string, arg2 any) error
- func (fake *FakeStore) StoreArgsForCall(i int) (string, any)
- func (fake *FakeStore) StoreCallCount() int
- func (fake *FakeStore) StoreCalls(stub func(string, any) error)
- func (fake *FakeStore) StoreReturns(result1 error)
- func (fake *FakeStore) StoreReturnsOnCall(i int, result1 error)
- func (fake *FakeStore) StoreString(arg1 string, arg2 string) error
- func (fake *FakeStore) StoreStringArgsForCall(i int) (string, string)
- func (fake *FakeStore) StoreStringCallCount() int
- func (fake *FakeStore) StoreStringCalls(stub func(string, string) error)
- func (fake *FakeStore) StoreStringReturns(result1 error)
- func (fake *FakeStore) StoreStringReturnsOnCall(i int, result1 error)
- func (fake *FakeStore) Wipe(arg1 string) error
- func (fake *FakeStore) WipeArgsForCall(i int) string
- func (fake *FakeStore) WipeCallCount() int
- func (fake *FakeStore) WipeCalls(stub func(string) error)
- func (fake *FakeStore) WipeReturns(result1 error)
- func (fake *FakeStore) WipeReturnsOnCall(i int, result1 error)
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() error // 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() error
func (*FakeAuthenticator) WipeCachedTokensCallCount ¶
func (fake *FakeAuthenticator) WipeCachedTokensCallCount() int
func (*FakeAuthenticator) WipeCachedTokensCalls ¶
func (fake *FakeAuthenticator) WipeCachedTokensCalls(stub func() error)
func (*FakeAuthenticator) WipeCachedTokensReturns ¶
func (fake *FakeAuthenticator) WipeCachedTokensReturns(result1 error)
func (*FakeAuthenticator) WipeCachedTokensReturnsOnCall ¶
func (fake *FakeAuthenticator) WipeCachedTokensReturnsOnCall(i int, result1 error)
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) DoRequestArgsForCall ¶
func (fake *FakeClient) DoRequestArgsForCall(i int) (string, string, interface{})
func (*FakeClient) DoRequestCallCount ¶
func (fake *FakeClient) DoRequestCallCount() int
func (*FakeClient) DoRequestCalls ¶
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) DoRequestArgsForCall ¶
func (fake *FakeGraphClient) DoRequestArgsForCall(i int) (string, interface{}, map[string]interface{})
func (*FakeGraphClient) DoRequestCallCount ¶
func (fake *FakeGraphClient) DoRequestCallCount() int
func (*FakeGraphClient) DoRequestCalls ¶
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) error GetStub func(string, any) error ListStub func(string) ([]string, error) StoreStub func(string, any) error StoreStringStub func(string, string) error WipeStub func(string) error // contains filtered or unexported fields }
func (*FakeStore) DeleteArgsForCall ¶
func (*FakeStore) DeleteCallCount ¶
func (*FakeStore) DeleteCalls ¶
func (*FakeStore) DeleteReturns ¶
func (*FakeStore) DeleteReturnsOnCall ¶
func (*FakeStore) GetCallCount ¶
func (*FakeStore) GetReturns ¶
func (*FakeStore) GetReturnsOnCall ¶
func (*FakeStore) Invocations ¶
func (*FakeStore) ListArgsForCall ¶
func (*FakeStore) ListCallCount ¶
func (*FakeStore) ListReturns ¶
func (*FakeStore) ListReturnsOnCall ¶
func (*FakeStore) StoreCallCount ¶
func (*FakeStore) StoreReturns ¶
func (*FakeStore) StoreReturnsOnCall ¶
func (*FakeStore) StoreStringArgsForCall ¶
func (*FakeStore) StoreStringCallCount ¶
func (*FakeStore) StoreStringCalls ¶
func (*FakeStore) StoreStringReturns ¶
func (*FakeStore) StoreStringReturnsOnCall ¶
func (*FakeStore) WipeArgsForCall ¶
func (*FakeStore) WipeCallCount ¶
func (*FakeStore) WipeReturns ¶
func (*FakeStore) WipeReturnsOnCall ¶
Click to show internal directories.
Click to hide internal directories.