Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct {
// contains filtered or unexported fields
}
Backend implements storage.Backend for sFTP.
type Config ¶
type Config struct { CacheRoot string Username string Host string Port string Auth SSHAuth Timeout time.Duration }
Config is a structure to store sFTP backend configuration.
type SSHAuth ¶
type SSHAuth struct { Password string PublicKeyFile string Method SSHAuthMethod }
SSHAuth is a structure to store authentication information for SSH connection.
type SSHAuthMethod ¶
type SSHAuthMethod string
SSHAuthMethod describes the type of authentication method.
const ( SSHAuthMethodPassword SSHAuthMethod = "PASSWORD" SSHAuthMethodPublicKeyFile SSHAuthMethod = "PUBLIC_KEY_FILE" )
Click to show internal directories.
Click to hide internal directories.