Documentation ¶
Index ¶
- func GetOcmApiUrl() (string, string)
- type OCMInstance
- func (o *OCMInstance) GetCluster(clusterID string) (*v1.ClusterClient, *v1.ClusterGetResponse)
- func (o *OCMInstance) GetClusterBody(clusterID string) *v1.Cluster
- func (o *OCMInstance) GetClusterCredentials(clusterID string) (string, *v1.ClusterCredentials)
- func (o *OCMInstance) ListClusters() *v1.ClusterList
- func (o *OCMInstance) ListClustersRegex(regex string) []*v1.Cluster
- func (o *OCMInstance) ListManagedClusters(clusters []*v1.Cluster) []*v1.Cluster
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOcmApiUrl ¶
Types ¶
type OCMInstance ¶
type OCMInstance struct {
Connection *sdk.Connection
}
func Connect ¶
func Connect() *OCMInstance
func (*OCMInstance) GetCluster ¶
func (o *OCMInstance) GetCluster(clusterID string) (*v1.ClusterClient, *v1.ClusterGetResponse)
func (*OCMInstance) GetClusterBody ¶
func (o *OCMInstance) GetClusterBody(clusterID string) *v1.Cluster
func (*OCMInstance) GetClusterCredentials ¶
func (o *OCMInstance) GetClusterCredentials(clusterID string) (string, *v1.ClusterCredentials)
func (*OCMInstance) ListClusters ¶
func (o *OCMInstance) ListClusters() *v1.ClusterList
func (*OCMInstance) ListClustersRegex ¶
func (o *OCMInstance) ListClustersRegex(regex string) []*v1.Cluster
func (*OCMInstance) ListManagedClusters ¶
func (o *OCMInstance) ListManagedClusters(clusters []*v1.Cluster) []*v1.Cluster
Click to show internal directories.
Click to hide internal directories.