package
0.0.0-20180108144400-194264adc583
Repository: https://github.com/ciao-project/ciao.git
Documentation: pkg.go.dev

# Functions

CertName gives file name to use for downloaded certificate.
CleanupImages will remove all images from the cache directory that match a specific pattern.
CreateAdminCert creates and installs the authentication certificates.
CreateBatWorkloads creates all necessary workloads to run BAT.
CreateCNCIImage creates a customised CNCI image in the system.
CreateUserCert creates a user certificate in current working directory.
DefaultImageCacheDir provides the default location for downloaded images.
DialSSHContext is the equivalent of ssh.Dial but allowing the use of a context.
DownloadImage checks for a cached image in the cache directory and downloads otherwise.
GenerateCert creates a certificate signed by the anchor certificate for a given role.
HostnameWithFallback returns hostname with a fallback to localhost.
InGoPath returns the desired path relative to $GOPATH.
InstallTool installs a tool to its final destination and manages it via systemd.
InstallToolRemote installs a tool a on a remote machine and setups it up with systemd.
OutputEnvironment prints the environment to be used to access cluster.
SetupLocalLauncher installs launcher in dual mode on this node for testing.
SetupMaster configures this machine to be a master node of the cluster.
SetupNodes joins the given nodes as launcher nodes.
SSHCreateFile creates a file on a remote machine.
SSHRunCommand is a convenience function to run a command on a given host.
SSHRunCommandWithStatus is a convenience function to run a command on a given host.
SudoChownFiles changes the user and group one or more files to ciaoUserAndGroup.
SudoCommandContext runs the given command with root privileges.
SudoCopyFile copies the file from the source to dest as root.
SudoMakeDirectory creates the desired directory hiearchy as root.
SudoRemoveDirectory deletes the directory hiearchy as root.
SudoRemoveFile deletes the file as root.
TeardownNodes removes launcher from the given nodes.
UpdateMaster updates the running one the master.

# Structs

ClusterConfiguration provides cluster setup information.