filefakes

package
v3.6.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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 FakeSyncFileOp

type FakeSyncFileOp struct {
	RunStub func(context.Context) error
	// contains filtered or unexported fields
}

func (*FakeSyncFileOp) Invocations

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

func (*FakeSyncFileOp) Run

func (fake *FakeSyncFileOp) Run(arg1 context.Context) error

func (*FakeSyncFileOp) RunArgsForCall

func (fake *FakeSyncFileOp) RunArgsForCall(i int) context.Context

func (*FakeSyncFileOp) RunCallCount

func (fake *FakeSyncFileOp) RunCallCount() int

func (*FakeSyncFileOp) RunCalls

func (fake *FakeSyncFileOp) RunCalls(stub func(context.Context) error)

func (*FakeSyncFileOp) RunReturns

func (fake *FakeSyncFileOp) RunReturns(result1 error)

func (*FakeSyncFileOp) RunReturnsOnCall

func (fake *FakeSyncFileOp) RunReturnsOnCall(i int, result1 error)

type FakeSyncFilestore

type FakeSyncFilestore struct {
	ListFilesStub func(context.Context) (map[string]*file.SyncFileInfo, error)

	OpenReaderStub func(context.Context, string) (io.ReadCloser, error)

	UploadFileStub func(context.Context, string, string) error
	// contains filtered or unexported fields
}

func (*FakeSyncFilestore) Invocations

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

func (*FakeSyncFilestore) ListFiles

func (fake *FakeSyncFilestore) ListFiles(arg1 context.Context) (map[string]*file.SyncFileInfo, error)

func (*FakeSyncFilestore) ListFilesArgsForCall

func (fake *FakeSyncFilestore) ListFilesArgsForCall(i int) context.Context

func (*FakeSyncFilestore) ListFilesCallCount

func (fake *FakeSyncFilestore) ListFilesCallCount() int

func (*FakeSyncFilestore) ListFilesCalls

func (fake *FakeSyncFilestore) ListFilesCalls(stub func(context.Context) (map[string]*file.SyncFileInfo, error))

func (*FakeSyncFilestore) ListFilesReturns

func (fake *FakeSyncFilestore) ListFilesReturns(result1 map[string]*file.SyncFileInfo, result2 error)

func (*FakeSyncFilestore) ListFilesReturnsOnCall

func (fake *FakeSyncFilestore) ListFilesReturnsOnCall(i int, result1 map[string]*file.SyncFileInfo, result2 error)

func (*FakeSyncFilestore) OpenReader

func (fake *FakeSyncFilestore) OpenReader(arg1 context.Context, arg2 string) (io.ReadCloser, error)

func (*FakeSyncFilestore) OpenReaderArgsForCall

func (fake *FakeSyncFilestore) OpenReaderArgsForCall(i int) (context.Context, string)

func (*FakeSyncFilestore) OpenReaderCallCount

func (fake *FakeSyncFilestore) OpenReaderCallCount() int

func (*FakeSyncFilestore) OpenReaderCalls

func (fake *FakeSyncFilestore) OpenReaderCalls(stub func(context.Context, string) (io.ReadCloser, error))

func (*FakeSyncFilestore) OpenReaderReturns

func (fake *FakeSyncFilestore) OpenReaderReturns(result1 io.ReadCloser, result2 error)

func (*FakeSyncFilestore) OpenReaderReturnsOnCall

func (fake *FakeSyncFilestore) OpenReaderReturnsOnCall(i int, result1 io.ReadCloser, result2 error)

func (*FakeSyncFilestore) UploadFile

func (fake *FakeSyncFilestore) UploadFile(arg1 context.Context, arg2 string, arg3 string) error

func (*FakeSyncFilestore) UploadFileArgsForCall

func (fake *FakeSyncFilestore) UploadFileArgsForCall(i int) (context.Context, string, string)

func (*FakeSyncFilestore) UploadFileCallCount

func (fake *FakeSyncFilestore) UploadFileCallCount() int

func (*FakeSyncFilestore) UploadFileCalls

func (fake *FakeSyncFilestore) UploadFileCalls(stub func(context.Context, string, string) error)

func (*FakeSyncFilestore) UploadFileReturns

func (fake *FakeSyncFilestore) UploadFileReturns(result1 error)

func (*FakeSyncFilestore) UploadFileReturnsOnCall

func (fake *FakeSyncFilestore) UploadFileReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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