clientfakes

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2026 License: Apache-2.0 Imports: 5 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 FakeStorageClient

type FakeStorageClient struct {
	CopyStub func(string, string) error

	DeleteStub func(string) error

	DeleteRecursiveStub func(string) error

	DownloadStub func(string, *os.File) error

	EnsureContainerExistsStub func() error

	ExistsStub func(string) (bool, error)

	ListStub func(string) ([]string, error)

	PropertiesStub func(string) error

	SignedUrlStub func(string, string, time.Duration) (string, error)

	UploadStub func(io.ReadSeekCloser, string) ([]byte, error)

	UploadStreamStub func(io.ReadSeekCloser, string) error
	// contains filtered or unexported fields
}

func (*FakeStorageClient) Copy

func (fake *FakeStorageClient) Copy(arg1 string, arg2 string) error

func (*FakeStorageClient) CopyArgsForCall

func (fake *FakeStorageClient) CopyArgsForCall(i int) (string, string)

func (*FakeStorageClient) CopyCallCount

func (fake *FakeStorageClient) CopyCallCount() int

func (*FakeStorageClient) CopyCalls

func (fake *FakeStorageClient) CopyCalls(stub func(string, string) error)

func (*FakeStorageClient) CopyReturns

func (fake *FakeStorageClient) CopyReturns(result1 error)

func (*FakeStorageClient) CopyReturnsOnCall

func (fake *FakeStorageClient) CopyReturnsOnCall(i int, result1 error)

func (*FakeStorageClient) Delete

func (fake *FakeStorageClient) Delete(arg1 string) error

func (*FakeStorageClient) DeleteArgsForCall

func (fake *FakeStorageClient) DeleteArgsForCall(i int) string

func (*FakeStorageClient) DeleteCallCount

func (fake *FakeStorageClient) DeleteCallCount() int

func (*FakeStorageClient) DeleteCalls

func (fake *FakeStorageClient) DeleteCalls(stub func(string) error)

func (*FakeStorageClient) DeleteRecursive

func (fake *FakeStorageClient) DeleteRecursive(arg1 string) error

func (*FakeStorageClient) DeleteRecursiveArgsForCall

func (fake *FakeStorageClient) DeleteRecursiveArgsForCall(i int) string

func (*FakeStorageClient) DeleteRecursiveCallCount

func (fake *FakeStorageClient) DeleteRecursiveCallCount() int

func (*FakeStorageClient) DeleteRecursiveCalls

func (fake *FakeStorageClient) DeleteRecursiveCalls(stub func(string) error)

func (*FakeStorageClient) DeleteRecursiveReturns

func (fake *FakeStorageClient) DeleteRecursiveReturns(result1 error)

func (*FakeStorageClient) DeleteRecursiveReturnsOnCall

func (fake *FakeStorageClient) DeleteRecursiveReturnsOnCall(i int, result1 error)

func (*FakeStorageClient) DeleteReturns

func (fake *FakeStorageClient) DeleteReturns(result1 error)

func (*FakeStorageClient) DeleteReturnsOnCall

func (fake *FakeStorageClient) DeleteReturnsOnCall(i int, result1 error)

func (*FakeStorageClient) Download

func (fake *FakeStorageClient) Download(arg1 string, arg2 *os.File) error

func (*FakeStorageClient) DownloadArgsForCall

func (fake *FakeStorageClient) DownloadArgsForCall(i int) (string, *os.File)

func (*FakeStorageClient) DownloadCallCount

func (fake *FakeStorageClient) DownloadCallCount() int

func (*FakeStorageClient) DownloadCalls

func (fake *FakeStorageClient) DownloadCalls(stub func(string, *os.File) error)

func (*FakeStorageClient) DownloadReturns

func (fake *FakeStorageClient) DownloadReturns(result1 error)

func (*FakeStorageClient) DownloadReturnsOnCall

func (fake *FakeStorageClient) DownloadReturnsOnCall(i int, result1 error)

func (*FakeStorageClient) EnsureContainerExists

func (fake *FakeStorageClient) EnsureContainerExists() error

func (*FakeStorageClient) EnsureContainerExistsCallCount

func (fake *FakeStorageClient) EnsureContainerExistsCallCount() int

func (*FakeStorageClient) EnsureContainerExistsCalls

func (fake *FakeStorageClient) EnsureContainerExistsCalls(stub func() error)

func (*FakeStorageClient) EnsureContainerExistsReturns

func (fake *FakeStorageClient) EnsureContainerExistsReturns(result1 error)

func (*FakeStorageClient) EnsureContainerExistsReturnsOnCall

func (fake *FakeStorageClient) EnsureContainerExistsReturnsOnCall(i int, result1 error)

func (*FakeStorageClient) Exists

func (fake *FakeStorageClient) Exists(arg1 string) (bool, error)

func (*FakeStorageClient) ExistsArgsForCall

func (fake *FakeStorageClient) ExistsArgsForCall(i int) string

func (*FakeStorageClient) ExistsCallCount

func (fake *FakeStorageClient) ExistsCallCount() int

func (*FakeStorageClient) ExistsCalls

func (fake *FakeStorageClient) ExistsCalls(stub func(string) (bool, error))

func (*FakeStorageClient) ExistsReturns

func (fake *FakeStorageClient) ExistsReturns(result1 bool, result2 error)

func (*FakeStorageClient) ExistsReturnsOnCall

func (fake *FakeStorageClient) ExistsReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeStorageClient) Invocations

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

func (*FakeStorageClient) List

func (fake *FakeStorageClient) List(arg1 string) ([]string, error)

func (*FakeStorageClient) ListArgsForCall

func (fake *FakeStorageClient) ListArgsForCall(i int) string

func (*FakeStorageClient) ListCallCount

func (fake *FakeStorageClient) ListCallCount() int

func (*FakeStorageClient) ListCalls

func (fake *FakeStorageClient) ListCalls(stub func(string) ([]string, error))

func (*FakeStorageClient) ListReturns

func (fake *FakeStorageClient) ListReturns(result1 []string, result2 error)

func (*FakeStorageClient) ListReturnsOnCall

func (fake *FakeStorageClient) ListReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeStorageClient) Properties

func (fake *FakeStorageClient) Properties(arg1 string) error

func (*FakeStorageClient) PropertiesArgsForCall

func (fake *FakeStorageClient) PropertiesArgsForCall(i int) string

func (*FakeStorageClient) PropertiesCallCount

func (fake *FakeStorageClient) PropertiesCallCount() int

func (*FakeStorageClient) PropertiesCalls

func (fake *FakeStorageClient) PropertiesCalls(stub func(string) error)

func (*FakeStorageClient) PropertiesReturns

func (fake *FakeStorageClient) PropertiesReturns(result1 error)

func (*FakeStorageClient) PropertiesReturnsOnCall

func (fake *FakeStorageClient) PropertiesReturnsOnCall(i int, result1 error)

func (*FakeStorageClient) SignedUrl

func (fake *FakeStorageClient) SignedUrl(arg1 string, arg2 string, arg3 time.Duration) (string, error)

func (*FakeStorageClient) SignedUrlArgsForCall

func (fake *FakeStorageClient) SignedUrlArgsForCall(i int) (string, string, time.Duration)

func (*FakeStorageClient) SignedUrlCallCount

func (fake *FakeStorageClient) SignedUrlCallCount() int

func (*FakeStorageClient) SignedUrlCalls

func (fake *FakeStorageClient) SignedUrlCalls(stub func(string, string, time.Duration) (string, error))

func (*FakeStorageClient) SignedUrlReturns

func (fake *FakeStorageClient) SignedUrlReturns(result1 string, result2 error)

func (*FakeStorageClient) SignedUrlReturnsOnCall

func (fake *FakeStorageClient) SignedUrlReturnsOnCall(i int, result1 string, result2 error)

func (*FakeStorageClient) Upload

func (fake *FakeStorageClient) Upload(arg1 io.ReadSeekCloser, arg2 string) ([]byte, error)

func (*FakeStorageClient) UploadArgsForCall

func (fake *FakeStorageClient) UploadArgsForCall(i int) (io.ReadSeekCloser, string)

func (*FakeStorageClient) UploadCallCount

func (fake *FakeStorageClient) UploadCallCount() int

func (*FakeStorageClient) UploadCalls

func (fake *FakeStorageClient) UploadCalls(stub func(io.ReadSeekCloser, string) ([]byte, error))

func (*FakeStorageClient) UploadReturns

func (fake *FakeStorageClient) UploadReturns(result1 []byte, result2 error)

func (*FakeStorageClient) UploadReturnsOnCall

func (fake *FakeStorageClient) UploadReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakeStorageClient) UploadStream

func (fake *FakeStorageClient) UploadStream(arg1 io.ReadSeekCloser, arg2 string) error

func (*FakeStorageClient) UploadStreamArgsForCall

func (fake *FakeStorageClient) UploadStreamArgsForCall(i int) (io.ReadSeekCloser, string)

func (*FakeStorageClient) UploadStreamCallCount

func (fake *FakeStorageClient) UploadStreamCallCount() int

func (*FakeStorageClient) UploadStreamCalls

func (fake *FakeStorageClient) UploadStreamCalls(stub func(io.ReadSeekCloser, string) error)

func (*FakeStorageClient) UploadStreamReturns

func (fake *FakeStorageClient) UploadStreamReturns(result1 error)

func (*FakeStorageClient) UploadStreamReturnsOnCall

func (fake *FakeStorageClient) UploadStreamReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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