Documentation ¶
Index ¶
- func DumpPrivateKey(privateKey *ecdsa.PrivateKey, file string) error
- func GenerateKeyPair(tmpDir string) (privateKeyPath string, publicKey ssh.PublicKey, err error)
- func NewKeyPair() (*ecdsa.PrivateKey, ssh.PublicKey, error)
- func RenderUserDataWithKey(key ssh.PublicKey) string
- func SCPToVMI(vmi *v1.VirtualMachineInstance, keyFile, srcFile, targetFile string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DumpPrivateKey ¶
func DumpPrivateKey(privateKey *ecdsa.PrivateKey, file string) error
func GenerateKeyPair ¶
func NewKeyPair ¶
func NewKeyPair() (*ecdsa.PrivateKey, ssh.PublicKey, error)
func RenderUserDataWithKey ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.