Documentation ¶
Index ¶
- func ApplyFilters(ocmClient *sdk.Connection, filters []string) ([]*v1.Cluster, error)
- func CreateConnection() *sdk.Connection
- func GenerateQuery(clusterIdentifier string) string
- func GetCluster(connection *sdk.Connection, key string) (cluster *cmv1.Cluster, err error)
- func GetClusterLimitedSupportReasons(connection *sdk.Connection, clusterID string) ([]*lmtSprReasonItem, error)
- func GetClusters(ocmClient *sdk.Connection, clusterIds []string) []*v1.Cluster
- func GetOCMAccessToken() (*string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyFilters ¶ added in v0.9.6
ApplyFilters retrieves clusters in OCM which match the filters given
func CreateConnection ¶ added in v0.9.6
func CreateConnection() *sdk.Connection
func GenerateQuery ¶ added in v0.9.6
GenerateQuery returns an OCM search query to retrieve all clusters matching an expression (ie- "foo%")
func GetCluster ¶ added in v0.9.6
GetCluster Function allows to get a single cluster with any identifier (displayname, ID, or external ID)
func GetClusterLimitedSupportReasons ¶ added in v0.9.6
func GetClusterLimitedSupportReasons(connection *sdk.Connection, clusterID string) ([]*lmtSprReasonItem, error)
func GetClusters ¶ added in v0.9.6
func GetClusters(ocmClient *sdk.Connection, clusterIds []string) []*v1.Cluster
func GetOCMAccessToken ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.