mock

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFile

type MockFile struct {
}

func NewMockFile

func NewMockFile() *MockFile

func (*MockFile) AddFileToPath

func (*MockFile) AddFileToPath(_, _ string) error

func (*MockFile) Download

func (*MockFile) Download(_ string) (io.ReadCloser, uint64, error)

func (*MockFile) GetStats

func (*MockFile) GetStats(_, _ string) (*file.Stats, error)

func (*MockFile) ListFiles

func (*MockFile) ListFiles(_ []string) ([]file.Entry, error)

func (*MockFile) LoadFileMeta

func (*MockFile) LoadFileMeta(_ string) error

func (*MockFile) Read

func (*MockFile) Read(_ []byte) (n int, err error)

func (*MockFile) RmFile

func (*MockFile) RmFile(_ string) error

func (*MockFile) Upload

func (*MockFile) Upload(_ io.Reader, _ string, _ int64, _ uint32, _, _ string) error

Jump to

Keyboard shortcuts

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