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() *errors.ApiError
- func (fake *FakeAuthenticator) WipeCachedTokensCallCount() int
- func (fake *FakeAuthenticator) WipeCachedTokensCalls(stub func() *errors.ApiError)
- func (fake *FakeAuthenticator) WipeCachedTokensReturns(result1 *errors.ApiError)
- func (fake *FakeAuthenticator) WipeCachedTokensReturnsOnCall(i int, result1 *errors.ApiError)
- 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) *errors.ApiError
- func (fake *FakeStore) DeleteArgsForCall(i int) string
- func (fake *FakeStore) DeleteCallCount() int
- func (fake *FakeStore) DeleteCalls(stub func(string) *errors.ApiError)
- func (fake *FakeStore) DeleteReturns(result1 *errors.ApiError)
- func (fake *FakeStore) DeleteReturnsOnCall(i int, result1 *errors.ApiError)
- func (fake *FakeStore) Get(arg1 string, arg2 interface{}) *errors.ApiError
- func (fake *FakeStore) GetArgsForCall(i int) (string, interface{})
- func (fake *FakeStore) GetCallCount() int
- func (fake *FakeStore) GetCalls(stub func(string, interface{}) *errors.ApiError)
- func (fake *FakeStore) GetReturns(result1 *errors.ApiError)
- func (fake *FakeStore) GetReturnsOnCall(i int, result1 *errors.ApiError)
- func (fake *FakeStore) Invocations() map[string][][]interface{}
- func (fake *FakeStore) List(arg1 string) ([]string, *errors.ApiError)
- func (fake *FakeStore) ListArgsForCall(i int) string
- func (fake *FakeStore) ListCallCount() int
- func (fake *FakeStore) ListCalls(stub func(string) ([]string, *errors.ApiError))
- func (fake *FakeStore) ListReturns(result1 []string, result2 *errors.ApiError)
- func (fake *FakeStore) ListReturnsOnCall(i int, result1 []string, result2 *errors.ApiError)
- func (fake *FakeStore) Store(arg1 string, arg2 interface{}) *errors.ApiError
- func (fake *FakeStore) StoreArgsForCall(i int) (string, interface{})
- func (fake *FakeStore) StoreCallCount() int
- func (fake *FakeStore) StoreCalls(stub func(string, interface{}) *errors.ApiError)
- func (fake *FakeStore) StoreReturns(result1 *errors.ApiError)
- func (fake *FakeStore) StoreReturnsOnCall(i int, result1 *errors.ApiError)
- func (fake *FakeStore) StoreString(arg1 string, arg2 string) *errors.ApiError
- func (fake *FakeStore) StoreStringArgsForCall(i int) (string, string)
- func (fake *FakeStore) StoreStringCallCount() int
- func (fake *FakeStore) StoreStringCalls(stub func(string, string) *errors.ApiError)
- func (fake *FakeStore) StoreStringReturns(result1 *errors.ApiError)
- func (fake *FakeStore) StoreStringReturnsOnCall(i int, result1 *errors.ApiError)
- func (fake *FakeStore) Wipe(arg1 string) *errors.ApiError
- func (fake *FakeStore) WipeArgsForCall(i int) string
- func (fake *FakeStore) WipeCallCount() int
- func (fake *FakeStore) WipeCalls(stub func(string) *errors.ApiError)
- func (fake *FakeStore) WipeReturns(result1 *errors.ApiError)
- func (fake *FakeStore) WipeReturnsOnCall(i int, result1 *errors.ApiError)
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) 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) *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) DeleteArgsForCall ¶
func (*FakeStore) DeleteCallCount ¶
func (*FakeStore) DeleteCalls ¶
func (*FakeStore) DeleteReturns ¶
func (*FakeStore) DeleteReturnsOnCall ¶
func (*FakeStore) GetArgsForCall ¶
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) StoreArgsForCall ¶
func (*FakeStore) StoreCallCount ¶
func (*FakeStore) StoreCalls ¶
func (*FakeStore) StoreReturns ¶
func (*FakeStore) StoreReturnsOnCall ¶
func (*FakeStore) StoreString ¶
func (*FakeStore) StoreStringArgsForCall ¶
func (*FakeStore) StoreStringCallCount ¶
func (*FakeStore) StoreStringCalls ¶
func (*FakeStore) StoreStringReturns ¶
func (*FakeStore) StoreStringReturnsOnCall ¶
func (*FakeStore) WipeArgsForCall ¶
func (*FakeStore) WipeCallCount ¶
func (*FakeStore) WipeReturns ¶
Click to show internal directories.
Click to hide internal directories.