mocks

package
v0.0.0-...-8e82ce0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Folder

type Folder struct {
	mock.Mock
}

Folder is an autogenerated mock type for the Folder type

func (*Folder) DeleteObjects

func (_m *Folder) DeleteObjects(objectRelativePaths []string) error

DeleteObjects provides a mock function with given fields: objectRelativePaths

func (*Folder) Exists

func (_m *Folder) Exists(objectRelativePath string) (bool, error)

Exists provides a mock function with given fields: objectRelativePath

func (*Folder) GetPath

func (_m *Folder) GetPath() string

GetPath provides a mock function with given fields:

func (*Folder) GetSubFolder

func (_m *Folder) GetSubFolder(subFolderRelativePath string) storage.Folder

GetSubFolder provides a mock function with given fields: subFolderRelativePath

func (*Folder) ListFolder

func (_m *Folder) ListFolder() ([]storage.Object, []storage.Folder, error)

ListFolder provides a mock function with given fields:

func (*Folder) PutObject

func (_m *Folder) PutObject(name string, content io.Reader) error

PutObject provides a mock function with given fields: name, content

func (*Folder) ReadObject

func (_m *Folder) ReadObject(objectRelativePath string) (io.ReadCloser, error)

ReadObject provides a mock function with given fields: objectRelativePath

type Object

type Object struct {
	mock.Mock
}

Object is an autogenerated mock type for the Object type

func (*Object) GetLastModified

func (_m *Object) GetLastModified() time.Time

GetLastModified provides a mock function with given fields:

func (*Object) GetName

func (_m *Object) GetName() string

GetName provides a mock function with given fields:

Jump to

Keyboard shortcuts

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