cloud

package
v0.0.0-...-f852ded Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2018 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ValidRegions = validRegionsImpl

ValidRegions returns a list of supported regions for a given cloud provider

Functions

func Run

func Run(conn db.Conn, adminSSHKey string)

Run continually checks 'conn' for cloud changes and recreates the cloud as needed.

func SyncCredentials

func SyncCredentials(conn db.Conn, sshKey ssh.Signer, ca rsa.KeyPair, kubeSecret string)

SyncCredentials installs TLS certificates on all machines. It generates the certificates using the given certificate authority, and copies them over using the given ssh key. It only installs certificates once -- once certificates are in place on a machine, they are left alone. SyncCredentials also writes the installed signed certificate for each machine into the database.

Types

This section is empty.

Jump to

Keyboard shortcuts

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