azurefakes

package
v0.13.16 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

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 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 (fake *FakeAzureClient) DownloadBlobToFile(arg1 string, arg2 *os.File, arg3 *time.Time, arg4 int64, arg5 time.Duration) error

func (*FakeAzureClient) DownloadBlobToFileArgsForCall

func (fake *FakeAzureClient) DownloadBlobToFileArgsForCall(i int) (string, *os.File, *time.Time, int64, time.Duration)

func (*FakeAzureClient) DownloadBlobToFileCallCount

func (fake *FakeAzureClient) DownloadBlobToFileCallCount() int

func (*FakeAzureClient) DownloadBlobToFileCalls

func (fake *FakeAzureClient) DownloadBlobToFileCalls(stub func(string, *os.File, *time.Time, int64, time.Duration) error)

func (*FakeAzureClient) DownloadBlobToFileReturns

func (fake *FakeAzureClient) DownloadBlobToFileReturns(result1 error)

func (*FakeAzureClient) DownloadBlobToFileReturnsOnCall

func (fake *FakeAzureClient) DownloadBlobToFileReturnsOnCall(i int, result1 error)

func (*FakeAzureClient) Get

func (fake *FakeAzureClient) Get(arg1 string, arg2 time.Time) ([]byte, error)

func (*FakeAzureClient) GetArgsForCall

func (fake *FakeAzureClient) GetArgsForCall(i int) (string, time.Time)

func (*FakeAzureClient) GetBlobSizeInBytes

func (fake *FakeAzureClient) GetBlobSizeInBytes(arg1 string, arg2 time.Time) (int64, error)

func (*FakeAzureClient) GetBlobSizeInBytesArgsForCall

func (fake *FakeAzureClient) GetBlobSizeInBytesArgsForCall(i int) (string, time.Time)

func (*FakeAzureClient) GetBlobSizeInBytesCallCount

func (fake *FakeAzureClient) GetBlobSizeInBytesCallCount() int

func (*FakeAzureClient) GetBlobSizeInBytesCalls

func (fake *FakeAzureClient) GetBlobSizeInBytesCalls(stub func(string, time.Time) (int64, error))

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

func (fake *FakeAzureClient) GetCalls(stub func(string, time.Time) ([]byte, error))

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 (*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 (fake *FakeAzureClient) UploadFromStream(arg1 string, arg2 io.Reader, arg3 int, arg4 time.Duration) error

func (*FakeAzureClient) UploadFromStreamArgsForCall

func (fake *FakeAzureClient) UploadFromStreamArgsForCall(i int) (string, io.Reader, int, time.Duration)

func (*FakeAzureClient) UploadFromStreamCallCount

func (fake *FakeAzureClient) UploadFromStreamCallCount() int

func (*FakeAzureClient) UploadFromStreamCalls

func (fake *FakeAzureClient) UploadFromStreamCalls(stub func(string, io.Reader, int, time.Duration) error)

func (*FakeAzureClient) UploadFromStreamReturns

func (fake *FakeAzureClient) UploadFromStreamReturns(result1 error)

func (*FakeAzureClient) UploadFromStreamReturnsOnCall

func (fake *FakeAzureClient) UploadFromStreamReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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