utils

package
v0.9.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateKeyPair

func CreateKeyPair(ssh *types.SSH, providerName, name, keypair string) ([]byte, error)

CreateKeyPair create ssh key pair if key path not given.

func IsExistedNodes

func IsExistedNodes(nodes []types.Node, instance string) (int, bool)

IsExistedNodes check that the node already exists.

func RandomPassword

func RandomPassword() string

RandomPassword generate random password.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL