Documentation ¶
Index ¶
- func FastHash(data []byte) string
- func GenerateNonce(length uint) (string, error)
- func GetHomeDir() (string, error)
- func GetSSHPublicKey(key crypto.PublicKey) ([]byte, error)
- func InHomeDir(items ...string) (string, error)
- func IsRoot() bool
- func MkDir(dir string, perm os.FileMode) error
- func RunCommand(cmdName string, env map[string]string) error
- func SSHFingerprint(key ssh.PublicKey) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateNonce ¶
func GetHomeDir ¶
func SSHFingerprint ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.