ccv3fakes

package
v0.0.0-...-1fe19bb Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: Apache-2.0 Imports: 7 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeClock

type FakeClock struct {
	NowStub func() time.Time
	// contains filtered or unexported fields
}

func (*FakeClock) Invocations

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

func (*FakeClock) Now

func (fake *FakeClock) Now() time.Time

func (*FakeClock) NowCallCount

func (fake *FakeClock) NowCallCount() int

func (*FakeClock) NowCalls

func (fake *FakeClock) NowCalls(stub func() time.Time)

func (*FakeClock) NowReturns

func (fake *FakeClock) NowReturns(result1 time.Time)

func (*FakeClock) NowReturnsOnCall

func (fake *FakeClock) NowReturnsOnCall(i int, result1 time.Time)

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 (*FakeConnectionWrapper) MakeArgsForCall

func (*FakeConnectionWrapper) MakeCallCount

func (fake *FakeConnectionWrapper) MakeCallCount() int

func (*FakeConnectionWrapper) MakeCalls

func (*FakeConnectionWrapper) MakeReturns

func (fake *FakeConnectionWrapper) MakeReturns(result1 error)

func (*FakeConnectionWrapper) MakeReturnsOnCall

func (fake *FakeConnectionWrapper) MakeReturnsOnCall(i int, result1 error)

func (*FakeConnectionWrapper) Wrap

func (*FakeConnectionWrapper) WrapArgsForCall

func (fake *FakeConnectionWrapper) WrapArgsForCall(i int) cloudcontroller.Connection

func (*FakeConnectionWrapper) WrapCallCount

func (fake *FakeConnectionWrapper) WrapCallCount() int

func (*FakeConnectionWrapper) WrapCalls

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

func (fake *FakeReader) Read(arg1 []byte) (int, error)

func (*FakeReader) ReadArgsForCall

func (fake *FakeReader) ReadArgsForCall(i int) []byte

func (*FakeReader) ReadCallCount

func (fake *FakeReader) ReadCallCount() int

func (*FakeReader) ReadCalls

func (fake *FakeReader) ReadCalls(stub func([]byte) (int, error))

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

	MakeRequestSendReceiveRawStub func(string, string, http.Header, []byte) ([]byte, *http.Response, 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 string)

func (*FakeRequester) InitializeRouterArgsForCall

func (fake *FakeRequester) InitializeRouterArgsForCall(i int) string

func (*FakeRequester) InitializeRouterCallCount

func (fake *FakeRequester) InitializeRouterCallCount() int

func (*FakeRequester) InitializeRouterCalls

func (fake *FakeRequester) InitializeRouterCalls(stub func(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 (fake *FakeRequester) MakeRequestReceiveRaw(arg1 string, arg2 internal.Params, arg3 string) ([]byte, ccv3.Warnings, error)

func (*FakeRequester) MakeRequestReceiveRawArgsForCall

func (fake *FakeRequester) MakeRequestReceiveRawArgsForCall(i int) (string, internal.Params, string)

func (*FakeRequester) MakeRequestReceiveRawCallCount

func (fake *FakeRequester) MakeRequestReceiveRawCallCount() int

func (*FakeRequester) MakeRequestReceiveRawCalls

func (fake *FakeRequester) MakeRequestReceiveRawCalls(stub func(string, internal.Params, string) ([]byte, ccv3.Warnings, error))

func (*FakeRequester) MakeRequestReceiveRawReturns

func (fake *FakeRequester) MakeRequestReceiveRawReturns(result1 []byte, result2 ccv3.Warnings, result3 error)

func (*FakeRequester) MakeRequestReceiveRawReturnsOnCall

func (fake *FakeRequester) MakeRequestReceiveRawReturnsOnCall(i int, result1 []byte, result2 ccv3.Warnings, result3 error)

func (*FakeRequester) MakeRequestReturns

func (fake *FakeRequester) MakeRequestReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error)

func (*FakeRequester) MakeRequestReturnsOnCall

func (fake *FakeRequester) MakeRequestReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error)

func (*FakeRequester) MakeRequestSendRaw

func (fake *FakeRequester) MakeRequestSendRaw(arg1 string, arg2 internal.Params, arg3 []byte, arg4 string, arg5 interface{}) (string, ccv3.Warnings, error)

func (*FakeRequester) MakeRequestSendRawArgsForCall

func (fake *FakeRequester) MakeRequestSendRawArgsForCall(i int) (string, internal.Params, []byte, string, interface{})

func (*FakeRequester) MakeRequestSendRawCallCount

func (fake *FakeRequester) MakeRequestSendRawCallCount() int

func (*FakeRequester) MakeRequestSendRawCalls

func (fake *FakeRequester) MakeRequestSendRawCalls(stub func(string, internal.Params, []byte, string, interface{}) (string, ccv3.Warnings, error))

func (*FakeRequester) MakeRequestSendRawReturns

func (fake *FakeRequester) MakeRequestSendRawReturns(result1 string, result2 ccv3.Warnings, result3 error)

func (*FakeRequester) MakeRequestSendRawReturnsOnCall

func (fake *FakeRequester) MakeRequestSendRawReturnsOnCall(i int, result1 string, result2 ccv3.Warnings, result3 error)

func (*FakeRequester) MakeRequestSendReceiveRaw

func (fake *FakeRequester) MakeRequestSendReceiveRaw(arg1 string, arg2 string, arg3 http.Header, arg4 []byte) ([]byte, *http.Response, error)

func (*FakeRequester) MakeRequestSendReceiveRawArgsForCall

func (fake *FakeRequester) MakeRequestSendReceiveRawArgsForCall(i int) (string, string, http.Header, []byte)

func (*FakeRequester) MakeRequestSendReceiveRawCallCount

func (fake *FakeRequester) MakeRequestSendReceiveRawCallCount() int

func (*FakeRequester) MakeRequestSendReceiveRawCalls

func (fake *FakeRequester) MakeRequestSendReceiveRawCalls(stub func(string, string, http.Header, []byte) ([]byte, *http.Response, error))

func (*FakeRequester) MakeRequestSendReceiveRawReturns

func (fake *FakeRequester) MakeRequestSendReceiveRawReturns(result1 []byte, result2 *http.Response, result3 error)

func (*FakeRequester) MakeRequestSendReceiveRawReturnsOnCall

func (fake *FakeRequester) MakeRequestSendReceiveRawReturnsOnCall(i int, result1 []byte, result2 *http.Response, result3 error)

func (*FakeRequester) MakeRequestUploadAsync

func (fake *FakeRequester) MakeRequestUploadAsync(arg1 string, arg2 internal.Params, arg3 string, arg4 io.ReadSeeker, arg5 int64, arg6 interface{}, arg7 <-chan error) (string, ccv3.Warnings, error)

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 (fake *FakeRequester) MakeRequestUploadAsyncCalls(stub func(string, internal.Params, string, io.ReadSeeker, int64, interface{}, <-chan error) (string, ccv3.Warnings, error))

func (*FakeRequester) MakeRequestUploadAsyncReturns

func (fake *FakeRequester) MakeRequestUploadAsyncReturns(result1 string, result2 ccv3.Warnings, result3 error)

func (*FakeRequester) MakeRequestUploadAsyncReturnsOnCall

func (fake *FakeRequester) MakeRequestUploadAsyncReturnsOnCall(i int, result1 string, result2 ccv3.Warnings, result3 error)

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

Jump to

Keyboard shortcuts

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