Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeAzureClient
- func (fake *FakeAzureClient) CreateSnapshot(arg1 string) (time.Time, error)
- func (fake *FakeAzureClient) CreateSnapshotArgsForCall(i int) string
- func (fake *FakeAzureClient) CreateSnapshotCallCount() int
- func (fake *FakeAzureClient) CreateSnapshotCalls(stub func(string) (time.Time, error))
- func (fake *FakeAzureClient) CreateSnapshotReturns(result1 time.Time, result2 error)
- func (fake *FakeAzureClient) CreateSnapshotReturnsOnCall(i int, result1 time.Time, result2 error)
- func (fake *FakeAzureClient) DownloadBlobToFile(arg1 string, arg2 *os.File, arg3 *time.Time, arg4 int64, arg5 time.Duration) error
- func (fake *FakeAzureClient) DownloadBlobToFileArgsForCall(i int) (string, *os.File, *time.Time, int64, time.Duration)
- func (fake *FakeAzureClient) DownloadBlobToFileCallCount() int
- func (fake *FakeAzureClient) DownloadBlobToFileCalls(stub func(string, *os.File, *time.Time, int64, time.Duration) error)
- func (fake *FakeAzureClient) DownloadBlobToFileReturns(result1 error)
- func (fake *FakeAzureClient) DownloadBlobToFileReturnsOnCall(i int, result1 error)
- func (fake *FakeAzureClient) Get(arg1 string, arg2 time.Time) ([]byte, error)
- func (fake *FakeAzureClient) GetArgsForCall(i int) (string, time.Time)
- func (fake *FakeAzureClient) GetBlobSizeInBytes(arg1 string, arg2 time.Time) (int64, error)
- func (fake *FakeAzureClient) GetBlobSizeInBytesArgsForCall(i int) (string, time.Time)
- func (fake *FakeAzureClient) GetBlobSizeInBytesCallCount() int
- func (fake *FakeAzureClient) GetBlobSizeInBytesCalls(stub func(string, time.Time) (int64, error))
- func (fake *FakeAzureClient) GetBlobSizeInBytesReturns(result1 int64, result2 error)
- func (fake *FakeAzureClient) GetBlobSizeInBytesReturnsOnCall(i int, result1 int64, result2 error)
- func (fake *FakeAzureClient) GetBlobURL(arg1 string) (string, error)
- func (fake *FakeAzureClient) GetBlobURLArgsForCall(i int) string
- func (fake *FakeAzureClient) GetBlobURLCallCount() int
- func (fake *FakeAzureClient) GetBlobURLCalls(stub func(string) (string, error))
- func (fake *FakeAzureClient) GetBlobURLReturns(result1 string, result2 error)
- func (fake *FakeAzureClient) GetBlobURLReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeAzureClient) GetCallCount() int
- func (fake *FakeAzureClient) GetCalls(stub func(string, time.Time) ([]byte, error))
- func (fake *FakeAzureClient) GetReturns(result1 []byte, result2 error)
- func (fake *FakeAzureClient) GetReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeAzureClient) Invocations() map[string][][]interface{}
- func (fake *FakeAzureClient) ListBlobs(arg1 storage.ListBlobsParameters) (storage.BlobListResponse, error)
- func (fake *FakeAzureClient) ListBlobsArgsForCall(i int) storage.ListBlobsParameters
- func (fake *FakeAzureClient) ListBlobsCallCount() int
- func (fake *FakeAzureClient) ListBlobsCalls(stub func(storage.ListBlobsParameters) (storage.BlobListResponse, error))
- func (fake *FakeAzureClient) ListBlobsReturns(result1 storage.BlobListResponse, result2 error)
- func (fake *FakeAzureClient) ListBlobsReturnsOnCall(i int, result1 storage.BlobListResponse, result2 error)
- func (fake *FakeAzureClient) UploadFromStream(arg1 string, arg2 io.Reader, arg3 int, arg4 time.Duration) error
- func (fake *FakeAzureClient) UploadFromStreamArgsForCall(i int) (string, io.Reader, int, time.Duration)
- func (fake *FakeAzureClient) UploadFromStreamCallCount() int
- func (fake *FakeAzureClient) UploadFromStreamCalls(stub func(string, io.Reader, int, time.Duration) error)
- func (fake *FakeAzureClient) UploadFromStreamReturns(result1 error)
- func (fake *FakeAzureClient) UploadFromStreamReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAzureClient ¶
type FakeAzureClient struct { CreateSnapshotStub func(string) (time.Time, error) DownloadBlobToFileStub func(string, *os.File, *time.Time, int64, time.Duration) error GetStub func(string, time.Time) ([]byte, error) GetBlobSizeInBytesStub func(string, time.Time) (int64, error) GetBlobURLStub func(string) (string, error) ListBlobsStub func(storage.ListBlobsParameters) (storage.BlobListResponse, error) UploadFromStreamStub func(string, io.Reader, int, time.Duration) error // contains filtered or unexported fields }
func (*FakeAzureClient) CreateSnapshot ¶
func (fake *FakeAzureClient) CreateSnapshot(arg1 string) (time.Time, error)
func (*FakeAzureClient) CreateSnapshotArgsForCall ¶
func (fake *FakeAzureClient) CreateSnapshotArgsForCall(i int) string
func (*FakeAzureClient) CreateSnapshotCallCount ¶
func (fake *FakeAzureClient) CreateSnapshotCallCount() int
func (*FakeAzureClient) CreateSnapshotCalls ¶
func (fake *FakeAzureClient) CreateSnapshotCalls(stub func(string) (time.Time, error))
func (*FakeAzureClient) CreateSnapshotReturns ¶
func (fake *FakeAzureClient) CreateSnapshotReturns(result1 time.Time, result2 error)
func (*FakeAzureClient) CreateSnapshotReturnsOnCall ¶
func (fake *FakeAzureClient) CreateSnapshotReturnsOnCall(i int, result1 time.Time, result2 error)
func (*FakeAzureClient) DownloadBlobToFile ¶
func (*FakeAzureClient) DownloadBlobToFileArgsForCall ¶
func (*FakeAzureClient) DownloadBlobToFileCallCount ¶
func (fake *FakeAzureClient) DownloadBlobToFileCallCount() int
func (*FakeAzureClient) DownloadBlobToFileCalls ¶
func (*FakeAzureClient) DownloadBlobToFileReturns ¶
func (fake *FakeAzureClient) DownloadBlobToFileReturns(result1 error)
func (*FakeAzureClient) DownloadBlobToFileReturnsOnCall ¶
func (fake *FakeAzureClient) DownloadBlobToFileReturnsOnCall(i int, result1 error)
func (*FakeAzureClient) GetArgsForCall ¶
func (fake *FakeAzureClient) GetArgsForCall(i int) (string, time.Time)
func (*FakeAzureClient) GetBlobSizeInBytes ¶
func (*FakeAzureClient) GetBlobSizeInBytesArgsForCall ¶
func (fake *FakeAzureClient) GetBlobSizeInBytesArgsForCall(i int) (string, time.Time)
func (*FakeAzureClient) GetBlobSizeInBytesCallCount ¶
func (fake *FakeAzureClient) GetBlobSizeInBytesCallCount() int
func (*FakeAzureClient) GetBlobSizeInBytesCalls ¶
func (*FakeAzureClient) GetBlobSizeInBytesReturns ¶
func (fake *FakeAzureClient) GetBlobSizeInBytesReturns(result1 int64, result2 error)
func (*FakeAzureClient) GetBlobSizeInBytesReturnsOnCall ¶
func (fake *FakeAzureClient) GetBlobSizeInBytesReturnsOnCall(i int, result1 int64, result2 error)
func (*FakeAzureClient) GetBlobURL ¶
func (fake *FakeAzureClient) GetBlobURL(arg1 string) (string, error)
func (*FakeAzureClient) GetBlobURLArgsForCall ¶
func (fake *FakeAzureClient) GetBlobURLArgsForCall(i int) string
func (*FakeAzureClient) GetBlobURLCallCount ¶
func (fake *FakeAzureClient) GetBlobURLCallCount() int
func (*FakeAzureClient) GetBlobURLCalls ¶
func (fake *FakeAzureClient) GetBlobURLCalls(stub func(string) (string, error))
func (*FakeAzureClient) GetBlobURLReturns ¶
func (fake *FakeAzureClient) GetBlobURLReturns(result1 string, result2 error)
func (*FakeAzureClient) GetBlobURLReturnsOnCall ¶
func (fake *FakeAzureClient) GetBlobURLReturnsOnCall(i int, result1 string, result2 error)
func (*FakeAzureClient) GetCallCount ¶
func (fake *FakeAzureClient) GetCallCount() int
func (*FakeAzureClient) GetReturns ¶
func (fake *FakeAzureClient) GetReturns(result1 []byte, result2 error)
func (*FakeAzureClient) GetReturnsOnCall ¶
func (fake *FakeAzureClient) GetReturnsOnCall(i int, result1 []byte, result2 error)
func (*FakeAzureClient) Invocations ¶
func (fake *FakeAzureClient) Invocations() map[string][][]interface{}
func (*FakeAzureClient) ListBlobs ¶
func (fake *FakeAzureClient) ListBlobs(arg1 storage.ListBlobsParameters) (storage.BlobListResponse, error)
func (*FakeAzureClient) ListBlobsArgsForCall ¶
func (fake *FakeAzureClient) ListBlobsArgsForCall(i int) storage.ListBlobsParameters
func (*FakeAzureClient) ListBlobsCallCount ¶
func (fake *FakeAzureClient) ListBlobsCallCount() int
func (*FakeAzureClient) ListBlobsCalls ¶
func (fake *FakeAzureClient) ListBlobsCalls(stub func(storage.ListBlobsParameters) (storage.BlobListResponse, error))
func (*FakeAzureClient) ListBlobsReturns ¶
func (fake *FakeAzureClient) ListBlobsReturns(result1 storage.BlobListResponse, result2 error)
func (*FakeAzureClient) ListBlobsReturnsOnCall ¶
func (fake *FakeAzureClient) ListBlobsReturnsOnCall(i int, result1 storage.BlobListResponse, result2 error)
func (*FakeAzureClient) UploadFromStream ¶
func (*FakeAzureClient) UploadFromStreamArgsForCall ¶
func (*FakeAzureClient) UploadFromStreamCallCount ¶
func (fake *FakeAzureClient) UploadFromStreamCallCount() int
func (*FakeAzureClient) UploadFromStreamCalls ¶
func (*FakeAzureClient) UploadFromStreamReturns ¶
func (fake *FakeAzureClient) UploadFromStreamReturns(result1 error)
func (*FakeAzureClient) UploadFromStreamReturnsOnCall ¶
func (fake *FakeAzureClient) UploadFromStreamReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.