Documentation ¶
Index ¶
- func ConfigureViaSsh(settings *config.Settings, ni *NodeInfo, client *ssh.Client) error
- func DescribeInstance(settings *config.Settings, name string) error
- func EndSession(settings *config.Settings, instance string) error
- func GetMetadataKeys(settings *config.Settings, name string) ([]string, error)
- func GetNodeIp(settings *config.Settings, wantednode string) (string, error)
- func InstallViaSsh(settings *config.Settings, ni *NodeInfo, client *ssh.Client) error
- func List(settings *config.Settings) error
- func ListImages(settings *config.Settings) error
- func MakeSshClientConfig(settings *config.Settings) (*ssh.ClientConfig, error)
- func NewAuthenticatedClient(scopes []string) (context.Context, *http.Client, error)
- func NewSshProxiedTransport(client *ssh.Client) http.RoundTripper
- func NewTransport(trans http.RoundTripper) http.RoundTripper
- func PrintMetadata() error
- func ShowMetadata(settings *config.Settings, configName string) error
- func TarGZTools(w io.Writer) error
- func WaitForSsh(settings *config.Settings, ni *NodeInfo) (*ssh.Client, error)
- type NodeInfo
- type Paths
- type VersionTuple
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureViaSsh ¶
ConfigureViaSsh invokes the specified command string via ssh to perform additional configuration of the target node. Significant additional featurism is possible.
func DescribeInstance ¶
DescribeInstance describes instance |name| with a sump of its JSON description.
func EndSession ¶
TODO(rjk): Consider making this block until the instance is actually gone.
func GetMetadataKeys ¶
func InstallViaSsh ¶
func ListImages ¶
ListImages lists available and default selected images for each image family currently in use.
func MakeSshClientConfig ¶
func MakeSshClientConfig(settings *config.Settings) (*ssh.ClientConfig, error)
MakeSshClientConfig populates an ssh.ClientConfig for reuse by each connection attempt.
func NewAuthenticatedClient ¶
func NewSshProxiedTransport ¶
func NewSshProxiedTransport(client *ssh.Client) http.RoundTripper
func NewTransport ¶
func NewTransport(trans http.RoundTripper) http.RoundTripper
func PrintMetadata ¶
func PrintMetadata() error
func ShowMetadata ¶
ShowMetadata will display the metadata object.
func TarGZTools ¶
Types ¶
type NodeInfo ¶
NodeInfo holds all the state necessary for subsequent utilities to be able to connect to the node.
type VersionTuple ¶
type VersionTuple [4]int
Click to show internal directories.
Click to hide internal directories.