Documentation ¶
Overview ¶
Package rhos provides common functionality to run cloud prepare/cleanup on RHOS Clusters.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunOn ¶
func RunOn(clusterInfo *cluster.Info, config *Config, status reporter.Interface, function func(api.Cloud, api.GatewayDeployer, reporter.Interface) error, ) error
RunOn runs the given function on RHOS, supplying it with a cloud instance connected to RHOS and a reporter that writes to CLI. The functions makes sure that infraID and region are specified, and extracts the credentials from a secret in order to connect to RHOS.
Types ¶
Click to show internal directories.
Click to hide internal directories.