sftp

package
v0.0.0-...-f81bbf2 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SFTPStorage

type SFTPStorage struct {
	knoxite.StorageFilesystem
	// contains filtered or unexported fields
}

func (*SFTPStorage) AvailableSpace

func (backend *SFTPStorage) AvailableSpace() (uint64, error)

func (*SFTPStorage) Close

func (backend *SFTPStorage) Close() error

func (*SFTPStorage) CreatePath

func (backend *SFTPStorage) CreatePath(path string) error

func (*SFTPStorage) DeleteFile

func (backend *SFTPStorage) DeleteFile(path string) error

func (*SFTPStorage) DeletePath

func (backend *SFTPStorage) DeletePath(path string) error

func (*SFTPStorage) Description

func (backend *SFTPStorage) Description() string

func (*SFTPStorage) Location

func (backend *SFTPStorage) Location() string

func (*SFTPStorage) NewBackend

func (*SFTPStorage) NewBackend(u url.URL) (knoxite.Backend, error)

func (*SFTPStorage) Protocols

func (backend *SFTPStorage) Protocols() []string

func (*SFTPStorage) ReadFile

func (backend *SFTPStorage) ReadFile(path string) ([]byte, error)

func (*SFTPStorage) Stat

func (backend *SFTPStorage) Stat(path string) (uint64, error)

func (*SFTPStorage) WriteFile

func (backend *SFTPStorage) WriteFile(path string, data []byte) (size uint64, err error)

Jump to

Keyboard shortcuts

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