Documentation ¶
Index ¶
Constants ¶
View Source
const (
ClusterServiceClusterSearch = "id = '%s' or name = '%s' or external_id = '%s'"
)
Variables ¶
This section is empty.
Functions ¶
func CreateConnection ¶
func CreateConnection() (*sdk.Connection, error)
CreateConnection takes care of common friendly errors and creates an OCM connection. As a consumer, remember to close the connection when you are done using it.
func GetCloudCredentials ¶
GetCloudCredentials sets up AWS credentials via backplane-api given a cluster id, OCM token, and backplane-api URL
func GetCluster ¶
GetCluster returns an OCM cluster object given an OCM connection and cluster id (internal and external ids both supported).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.