package
1.11.1
Repository: https://github.com/sh4d1/scaleway-cli.git
Documentation: pkg.go.dev

# Functions

AttachToSerial tries to connect to server serial using 'gotty-client' and fallback with a help message.
GeneratingAnSSHKey generates an SSH key.
IsTCPPortOpen returns true if a TCP communication with "host:port" can be initialized.
LogQuiet Displays info if quiet is activated.
NewSSHExecCmd computes execve compatible arguments to run a command via ssh.
PathToTARPathparts returns the two parts of a unix path.
Quiet enable or disable quiet.
RemoveDuplicates transforms an array into a unique array.
SSHExec executes a command over SSH and redirects file-descriptors.
SSHGetFingerprint returns the fingerprint of an SSH key.
TruncIf ensures the input string does not exceed max size if cond is met.
WaitForTCPPortOpen calls IsTCPPortOpen in a loop.
Wordify convert complex name to a single word without special shell characters.

# Structs

LogQuietStruct is a struct to store information about quiet state.
SpawnRedirection is used to redirects the fluxes.