clientfakes

package
v0.0.92 Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 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 {
	DeleteStub func(string) error

	DownloadStub func(string, *os.File) error

	ExistsStub func(string) (bool, error)

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

	UploadStub func(io.ReadSeekCloser, string) ([]byte, error)
	// contains filtered or unexported fields
}

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

Jump to

Keyboard shortcuts

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