Documentation
¶
Index ¶
- type Client
- type ClientCache
- type SFTPBackend
- func (be *SFTPBackend) Close() error
- func (be *SFTPBackend) Delete(ctx context.Context, u *url.URL) error
- func (be *SFTPBackend) ListPrefix(ctx context.Context, u *url.URL, optFunc ...types.ListOption) ([]*types.Object, error)
- func (be *SFTPBackend) ReadMetadata(ctx context.Context, u *url.URL) (*types.ObjectMetadata, error)
- func (be *SFTPBackend) Reader(ctx context.Context, u *url.URL) (types.Reader, error)
- func (be *SFTPBackend) ReaderAt(ctx context.Context, u *url.URL) (types.ReaderAt, error)
- func (be *SFTPBackend) Writer(ctx context.Context, u *url.URL) (types.Writer, error)
- type SFTPBackendConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) SFTPClient ¶
type ClientCache ¶
type ClientCache struct {
// contains filtered or unexported fields
}
func NewClientCache ¶
func NewClientCache() *ClientCache
func (*ClientCache) Close ¶
func (cache *ClientCache) Close() error
type SFTPBackend ¶
type SFTPBackend struct {
// contains filtered or unexported fields
}
func NewSFTPBackend ¶
func NewSFTPBackend(ctx context.Context, conf SFTPBackendConfig) *SFTPBackend
func (*SFTPBackend) Close ¶
func (be *SFTPBackend) Close() error
func (*SFTPBackend) ListPrefix ¶
func (be *SFTPBackend) ListPrefix(ctx context.Context, u *url.URL, optFunc ...types.ListOption) ([]*types.Object, error)
func (*SFTPBackend) ReadMetadata ¶
func (be *SFTPBackend) ReadMetadata(ctx context.Context, u *url.URL) (*types.ObjectMetadata, error)
type SFTPBackendConfig ¶
type SFTPBackendConfig struct{}
Click to show internal directories.
Click to hide internal directories.