Documentation ¶
Index ¶
Constants ¶
View Source
const ( UsernameSecretKey = "username" PasswordSecretKey = "password" CAFileSecretKey = "caFile" CertFileSecretKey = "certFile" KeyFileSecretKey = "keyFile" PrivateKeySecretKey = "identity" PublicKeySecretKey = "identity.pub" KnownHostsSecretKey = "known_hosts" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { Name string Namespace string Labels map[string]string SSHHostname string PrivateKeyAlgorithm PrivateKeyAlgorithm RSAKeyBits int ECDSACurve elliptic.Curve PrivateKeyPath string Username string Password string CAFilePath string CertFilePath string KeyFilePath string TargetPath string ManifestFile string }
func MakeDefaultOptions ¶
func MakeDefaultOptions() Options
type PrivateKeyAlgorithm ¶
type PrivateKeyAlgorithm string
const ( RSAPrivateKeyAlgorithm PrivateKeyAlgorithm = "rsa" ECDSAPrivateKeyAlgorithm PrivateKeyAlgorithm = "ecdsa" Ed25519PrivateKeyAlgorithm PrivateKeyAlgorithm = "ed25519" )
Click to show internal directories.
Click to hide internal directories.