Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
SupportedUrls = []string{
"prod",
"stage",
"int",
"prodgov",
}
)
SupportedUrls is a shortened list of the urlAliases, for the help message We actually support all the urlAliases, but that's too many for the help
Functions ¶
func GetCluster ¶
GetCluster takes an *sdk.Connection and a cluster identifier string, and returns a *sdk.Cluster The string can be anything - UUID, ID, DisplayName
func GetClusterId ¶
func GetClusterId(ocmClient *sdk.Connection, key string) (string, error)
GetClusterId takes an *sdk.Connection and a cluster identifier string, and returns the cluster ID
func NewClient ¶
func NewClient() (*sdk.Connection, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.