Documentation ¶
Index ¶
- type SFTPStorage
- func (backend *SFTPStorage) AvailableSpace() (uint64, error)
- func (backend *SFTPStorage) Close() error
- func (backend *SFTPStorage) CreatePath(path string) error
- func (backend *SFTPStorage) DeleteFile(path string) error
- func (backend *SFTPStorage) DeletePath(path string) error
- func (backend *SFTPStorage) Description() string
- func (backend *SFTPStorage) Location() string
- func (*SFTPStorage) NewBackend(u url.URL) (knoxite.Backend, error)
- func (backend *SFTPStorage) Protocols() []string
- func (backend *SFTPStorage) ReadFile(path string) ([]byte, error)
- func (backend *SFTPStorage) Stat(path string) (uint64, error)
- func (backend *SFTPStorage) WriteFile(path string, data []byte) (size uint64, err error)
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) Protocols ¶
func (backend *SFTPStorage) Protocols() []string
Click to show internal directories.
Click to hide internal directories.