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.
Index ¶
- type FakeClock
- func (fake *FakeClock) Invocations() map[string][][]interface{}
- func (fake *FakeClock) Now() time.Time
- func (fake *FakeClock) NowCallCount() int
- func (fake *FakeClock) NowCalls(stub func() time.Time)
- func (fake *FakeClock) NowReturns(result1 time.Time)
- func (fake *FakeClock) NowReturnsOnCall(i int, result1 time.Time)
- type FakeConnectionWrapper
- func (fake *FakeConnectionWrapper) Invocations() map[string][][]interface{}
- func (fake *FakeConnectionWrapper) Make(arg1 *cloudcontroller.Request, arg2 *cloudcontroller.Response) error
- func (fake *FakeConnectionWrapper) MakeArgsForCall(i int) (*cloudcontroller.Request, *cloudcontroller.Response)
- func (fake *FakeConnectionWrapper) MakeCallCount() int
- func (fake *FakeConnectionWrapper) MakeCalls(stub func(*cloudcontroller.Request, *cloudcontroller.Response) error)
- func (fake *FakeConnectionWrapper) MakeReturns(result1 error)
- func (fake *FakeConnectionWrapper) MakeReturnsOnCall(i int, result1 error)
- func (fake *FakeConnectionWrapper) Wrap(arg1 cloudcontroller.Connection) cloudcontroller.Connection
- func (fake *FakeConnectionWrapper) WrapArgsForCall(i int) cloudcontroller.Connection
- func (fake *FakeConnectionWrapper) WrapCallCount() int
- func (fake *FakeConnectionWrapper) WrapCalls(stub func(cloudcontroller.Connection) cloudcontroller.Connection)
- func (fake *FakeConnectionWrapper) WrapReturns(result1 cloudcontroller.Connection)
- func (fake *FakeConnectionWrapper) WrapReturnsOnCall(i int, result1 cloudcontroller.Connection)
- type FakeReader
- func (fake *FakeReader) Invocations() map[string][][]interface{}
- func (fake *FakeReader) Read(arg1 []byte) (int, error)
- func (fake *FakeReader) ReadArgsForCall(i int) []byte
- func (fake *FakeReader) ReadCallCount() int
- func (fake *FakeReader) ReadCalls(stub func([]byte) (int, error))
- func (fake *FakeReader) ReadReturns(result1 int, result2 error)
- func (fake *FakeReader) ReadReturnsOnCall(i int, result1 int, result2 error)
- type FakeRequester
- func (fake *FakeRequester) InitializeConnection(arg1 ccv3.TargetSettings)
- func (fake *FakeRequester) InitializeConnectionArgsForCall(i int) ccv3.TargetSettings
- func (fake *FakeRequester) InitializeConnectionCallCount() int
- func (fake *FakeRequester) InitializeConnectionCalls(stub func(ccv3.TargetSettings))
- func (fake *FakeRequester) InitializeRouter(arg1 map[string]string)
- func (fake *FakeRequester) InitializeRouterArgsForCall(i int) map[string]string
- func (fake *FakeRequester) InitializeRouterCallCount() int
- func (fake *FakeRequester) InitializeRouterCalls(stub func(map[string]string))
- func (fake *FakeRequester) Invocations() map[string][][]interface{}
- func (fake *FakeRequester) MakeListRequest(arg1 ccv3.RequestParams) (ccv3.IncludedResources, ccv3.Warnings, error)
- func (fake *FakeRequester) MakeListRequestArgsForCall(i int) ccv3.RequestParams
- func (fake *FakeRequester) MakeListRequestCallCount() int
- func (fake *FakeRequester) MakeListRequestCalls(stub func(ccv3.RequestParams) (ccv3.IncludedResources, ccv3.Warnings, error))
- func (fake *FakeRequester) MakeListRequestReturns(result1 ccv3.IncludedResources, result2 ccv3.Warnings, result3 error)
- func (fake *FakeRequester) MakeListRequestReturnsOnCall(i int, result1 ccv3.IncludedResources, result2 ccv3.Warnings, result3 error)
- func (fake *FakeRequester) MakeRequest(arg1 ccv3.RequestParams) (ccv3.JobURL, ccv3.Warnings, error)
- func (fake *FakeRequester) MakeRequestArgsForCall(i int) ccv3.RequestParams
- func (fake *FakeRequester) MakeRequestCallCount() int
- func (fake *FakeRequester) MakeRequestCalls(stub func(ccv3.RequestParams) (ccv3.JobURL, ccv3.Warnings, error))
- func (fake *FakeRequester) MakeRequestReceiveRaw(arg1 string, arg2 internal.Params, arg3 string) ([]byte, ccv3.Warnings, error)
- func (fake *FakeRequester) MakeRequestReceiveRawArgsForCall(i int) (string, internal.Params, string)
- func (fake *FakeRequester) MakeRequestReceiveRawCallCount() int
- func (fake *FakeRequester) MakeRequestReceiveRawCalls(stub func(string, internal.Params, string) ([]byte, ccv3.Warnings, error))
- func (fake *FakeRequester) MakeRequestReceiveRawReturns(result1 []byte, result2 ccv3.Warnings, result3 error)
- func (fake *FakeRequester) MakeRequestReceiveRawReturnsOnCall(i int, result1 []byte, result2 ccv3.Warnings, result3 error)
- func (fake *FakeRequester) MakeRequestReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error)
- func (fake *FakeRequester) MakeRequestReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error)
- func (fake *FakeRequester) MakeRequestSendRaw(arg1 string, arg2 internal.Params, arg3 []byte, arg4 string, arg5 interface{}) (string, ccv3.Warnings, error)
- func (fake *FakeRequester) MakeRequestSendRawArgsForCall(i int) (string, internal.Params, []byte, string, interface{})
- func (fake *FakeRequester) MakeRequestSendRawCallCount() int
- func (fake *FakeRequester) MakeRequestSendRawCalls(...)
- func (fake *FakeRequester) MakeRequestSendRawReturns(result1 string, result2 ccv3.Warnings, result3 error)
- func (fake *FakeRequester) MakeRequestSendRawReturnsOnCall(i int, result1 string, result2 ccv3.Warnings, result3 error)
- func (fake *FakeRequester) MakeRequestUploadAsync(arg1 string, arg2 internal.Params, arg3 string, arg4 io.ReadSeeker, arg5 int64, ...) (string, ccv3.Warnings, error)
- func (fake *FakeRequester) MakeRequestUploadAsyncArgsForCall(i int) (string, internal.Params, string, io.ReadSeeker, int64, interface{}, ...)
- func (fake *FakeRequester) MakeRequestUploadAsyncCallCount() int
- func (fake *FakeRequester) MakeRequestUploadAsyncCalls(...)
- func (fake *FakeRequester) MakeRequestUploadAsyncReturns(result1 string, result2 ccv3.Warnings, result3 error)
- func (fake *FakeRequester) MakeRequestUploadAsyncReturnsOnCall(i int, result1 string, result2 ccv3.Warnings, result3 error)
- func (fake *FakeRequester) WrapConnection(arg1 ccv3.ConnectionWrapper)
- func (fake *FakeRequester) WrapConnectionArgsForCall(i int) ccv3.ConnectionWrapper
- func (fake *FakeRequester) WrapConnectionCallCount() int
- func (fake *FakeRequester) WrapConnectionCalls(stub func(ccv3.ConnectionWrapper))
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClock ¶
func (*FakeClock) Invocations ¶
func (*FakeClock) NowCallCount ¶
func (*FakeClock) NowReturns ¶
type FakeConnectionWrapper ¶
type FakeConnectionWrapper struct { MakeStub func(*cloudcontroller.Request, *cloudcontroller.Response) error WrapStub func(cloudcontroller.Connection) cloudcontroller.Connection // contains filtered or unexported fields }
func (*FakeConnectionWrapper) Invocations ¶
func (fake *FakeConnectionWrapper) Invocations() map[string][][]interface{}
func (*FakeConnectionWrapper) Make ¶
func (fake *FakeConnectionWrapper) Make(arg1 *cloudcontroller.Request, arg2 *cloudcontroller.Response) error
func (*FakeConnectionWrapper) MakeArgsForCall ¶
func (fake *FakeConnectionWrapper) MakeArgsForCall(i int) (*cloudcontroller.Request, *cloudcontroller.Response)
func (*FakeConnectionWrapper) MakeCallCount ¶
func (fake *FakeConnectionWrapper) MakeCallCount() int
func (*FakeConnectionWrapper) MakeCalls ¶
func (fake *FakeConnectionWrapper) MakeCalls(stub func(*cloudcontroller.Request, *cloudcontroller.Response) error)
func (*FakeConnectionWrapper) MakeReturns ¶
func (fake *FakeConnectionWrapper) MakeReturns(result1 error)
func (*FakeConnectionWrapper) MakeReturnsOnCall ¶
func (fake *FakeConnectionWrapper) MakeReturnsOnCall(i int, result1 error)
func (*FakeConnectionWrapper) Wrap ¶
func (fake *FakeConnectionWrapper) Wrap(arg1 cloudcontroller.Connection) cloudcontroller.Connection
func (*FakeConnectionWrapper) WrapArgsForCall ¶
func (fake *FakeConnectionWrapper) WrapArgsForCall(i int) cloudcontroller.Connection
func (*FakeConnectionWrapper) WrapCallCount ¶
func (fake *FakeConnectionWrapper) WrapCallCount() int
func (*FakeConnectionWrapper) WrapCalls ¶
func (fake *FakeConnectionWrapper) WrapCalls(stub func(cloudcontroller.Connection) cloudcontroller.Connection)
func (*FakeConnectionWrapper) WrapReturns ¶
func (fake *FakeConnectionWrapper) WrapReturns(result1 cloudcontroller.Connection)
func (*FakeConnectionWrapper) WrapReturnsOnCall ¶
func (fake *FakeConnectionWrapper) WrapReturnsOnCall(i int, result1 cloudcontroller.Connection)
type FakeReader ¶
type FakeReader struct { ReadStub func([]byte) (int, error) // contains filtered or unexported fields }
func (*FakeReader) Invocations ¶
func (fake *FakeReader) Invocations() map[string][][]interface{}
func (*FakeReader) ReadArgsForCall ¶
func (fake *FakeReader) ReadArgsForCall(i int) []byte
func (*FakeReader) ReadCallCount ¶
func (fake *FakeReader) ReadCallCount() int
func (*FakeReader) ReadReturns ¶
func (fake *FakeReader) ReadReturns(result1 int, result2 error)
func (*FakeReader) ReadReturnsOnCall ¶
func (fake *FakeReader) ReadReturnsOnCall(i int, result1 int, result2 error)
type FakeRequester ¶
type FakeRequester struct { InitializeConnectionStub func(ccv3.TargetSettings) InitializeRouterStub func(map[string]string) MakeListRequestStub func(ccv3.RequestParams) (ccv3.IncludedResources, ccv3.Warnings, error) MakeRequestStub func(ccv3.RequestParams) (ccv3.JobURL, ccv3.Warnings, error) MakeRequestReceiveRawStub func(string, internal.Params, string) ([]byte, ccv3.Warnings, error) MakeRequestSendRawStub func(string, internal.Params, []byte, string, interface{}) (string, ccv3.Warnings, error) MakeRequestUploadAsyncStub func(string, internal.Params, string, io.ReadSeeker, int64, interface{}, <-chan error) (string, ccv3.Warnings, error) WrapConnectionStub func(ccv3.ConnectionWrapper) // contains filtered or unexported fields }
func (*FakeRequester) InitializeConnection ¶
func (fake *FakeRequester) InitializeConnection(arg1 ccv3.TargetSettings)
func (*FakeRequester) InitializeConnectionArgsForCall ¶
func (fake *FakeRequester) InitializeConnectionArgsForCall(i int) ccv3.TargetSettings
func (*FakeRequester) InitializeConnectionCallCount ¶
func (fake *FakeRequester) InitializeConnectionCallCount() int
func (*FakeRequester) InitializeConnectionCalls ¶
func (fake *FakeRequester) InitializeConnectionCalls(stub func(ccv3.TargetSettings))
func (*FakeRequester) InitializeRouter ¶
func (fake *FakeRequester) InitializeRouter(arg1 map[string]string)
func (*FakeRequester) InitializeRouterArgsForCall ¶
func (fake *FakeRequester) InitializeRouterArgsForCall(i int) map[string]string
func (*FakeRequester) InitializeRouterCallCount ¶
func (fake *FakeRequester) InitializeRouterCallCount() int
func (*FakeRequester) InitializeRouterCalls ¶
func (fake *FakeRequester) InitializeRouterCalls(stub func(map[string]string))
func (*FakeRequester) Invocations ¶
func (fake *FakeRequester) Invocations() map[string][][]interface{}
func (*FakeRequester) MakeListRequest ¶
func (fake *FakeRequester) MakeListRequest(arg1 ccv3.RequestParams) (ccv3.IncludedResources, ccv3.Warnings, error)
func (*FakeRequester) MakeListRequestArgsForCall ¶
func (fake *FakeRequester) MakeListRequestArgsForCall(i int) ccv3.RequestParams
func (*FakeRequester) MakeListRequestCallCount ¶
func (fake *FakeRequester) MakeListRequestCallCount() int
func (*FakeRequester) MakeListRequestCalls ¶
func (fake *FakeRequester) MakeListRequestCalls(stub func(ccv3.RequestParams) (ccv3.IncludedResources, ccv3.Warnings, error))
func (*FakeRequester) MakeListRequestReturns ¶
func (fake *FakeRequester) MakeListRequestReturns(result1 ccv3.IncludedResources, result2 ccv3.Warnings, result3 error)
func (*FakeRequester) MakeListRequestReturnsOnCall ¶
func (fake *FakeRequester) MakeListRequestReturnsOnCall(i int, result1 ccv3.IncludedResources, result2 ccv3.Warnings, result3 error)
func (*FakeRequester) MakeRequest ¶
func (fake *FakeRequester) MakeRequest(arg1 ccv3.RequestParams) (ccv3.JobURL, ccv3.Warnings, error)
func (*FakeRequester) MakeRequestArgsForCall ¶
func (fake *FakeRequester) MakeRequestArgsForCall(i int) ccv3.RequestParams
func (*FakeRequester) MakeRequestCallCount ¶
func (fake *FakeRequester) MakeRequestCallCount() int
func (*FakeRequester) MakeRequestCalls ¶
func (fake *FakeRequester) MakeRequestCalls(stub func(ccv3.RequestParams) (ccv3.JobURL, ccv3.Warnings, error))
func (*FakeRequester) MakeRequestReceiveRaw ¶
func (*FakeRequester) MakeRequestReceiveRawArgsForCall ¶
func (*FakeRequester) MakeRequestReceiveRawCallCount ¶
func (fake *FakeRequester) MakeRequestReceiveRawCallCount() int
func (*FakeRequester) MakeRequestReceiveRawCalls ¶
func (*FakeRequester) MakeRequestReceiveRawReturns ¶
func (fake *FakeRequester) MakeRequestReceiveRawReturns(result1 []byte, result2 ccv3.Warnings, result3 error)
func (*FakeRequester) MakeRequestReceiveRawReturnsOnCall ¶
func (*FakeRequester) MakeRequestReturns ¶
func (*FakeRequester) MakeRequestReturnsOnCall ¶
func (*FakeRequester) MakeRequestSendRaw ¶
func (*FakeRequester) MakeRequestSendRawArgsForCall ¶
func (*FakeRequester) MakeRequestSendRawCallCount ¶
func (fake *FakeRequester) MakeRequestSendRawCallCount() int
func (*FakeRequester) MakeRequestSendRawCalls ¶
func (*FakeRequester) MakeRequestSendRawReturns ¶
func (fake *FakeRequester) MakeRequestSendRawReturns(result1 string, result2 ccv3.Warnings, result3 error)
func (*FakeRequester) MakeRequestSendRawReturnsOnCall ¶
func (*FakeRequester) MakeRequestUploadAsync ¶
func (*FakeRequester) MakeRequestUploadAsyncArgsForCall ¶
func (fake *FakeRequester) MakeRequestUploadAsyncArgsForCall(i int) (string, internal.Params, string, io.ReadSeeker, int64, interface{}, <-chan error)
func (*FakeRequester) MakeRequestUploadAsyncCallCount ¶
func (fake *FakeRequester) MakeRequestUploadAsyncCallCount() int
func (*FakeRequester) MakeRequestUploadAsyncCalls ¶
func (*FakeRequester) MakeRequestUploadAsyncReturns ¶
func (fake *FakeRequester) MakeRequestUploadAsyncReturns(result1 string, result2 ccv3.Warnings, result3 error)
func (*FakeRequester) MakeRequestUploadAsyncReturnsOnCall ¶
func (*FakeRequester) WrapConnection ¶
func (fake *FakeRequester) WrapConnection(arg1 ccv3.ConnectionWrapper)
func (*FakeRequester) WrapConnectionArgsForCall ¶
func (fake *FakeRequester) WrapConnectionArgsForCall(i int) ccv3.ConnectionWrapper
func (*FakeRequester) WrapConnectionCallCount ¶
func (fake *FakeRequester) WrapConnectionCallCount() int
func (*FakeRequester) WrapConnectionCalls ¶
func (fake *FakeRequester) WrapConnectionCalls(stub func(ccv3.ConnectionWrapper))
Click to show internal directories.
Click to hide internal directories.