Documentation ¶
Index ¶
- func AskForConfirmation(prompt string) bool
- func BroadcastIPv4(network net.IPNet) (net.IP, error)
- func CreatePublicKey(privateKey *rsa.PrivateKey, publicKeyPath string) error
- func IncrementIPv4(ip net.IP) (net.IP, error)
- func LoadOrCreatePrivateSSHKey(privateKeyPath string) (*rsa.PrivateKey, error)
- func MakeFileAskOnOverwrite(name string) (*os.File, error)
- func MakeStringSet(slice []string) map[string]struct{}
- func MakeUniqueFile(name string, suffix string, count int) (*os.File, error)
- func StringSetContains(set map[string]struct{}, value string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AskForConfirmation ¶
func CreatePublicKey ¶
func CreatePublicKey(privateKey *rsa.PrivateKey, publicKeyPath string) error
func LoadOrCreatePrivateSSHKey ¶
func LoadOrCreatePrivateSSHKey(privateKeyPath string) (*rsa.PrivateKey, error)
func MakeStringSet ¶
func StringSetContains ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.