util

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VersionKeyName      = "version"
	ClusterResourceName = "cluster"
)

constants

Variables

This section is empty.

Functions

func GetClusterIDVersion

func GetClusterIDVersion(ctx context.Context, client k8sclient.Client) (string, string, error)

GetClusterIDVersion Returns the cluster id and cluster version by querying the ClusterVersion resource

func GetOpenshiftConsoleURL

func GetOpenshiftConsoleURL(ctx context.Context, client k8sclient.Client) (string, error)

GetOpenshiftConsoleURL Returns the openshift console URL

func GetOpenshiftPlatform

func GetOpenshiftPlatform(ctx context.Context, client k8sclient.Client) (v1.PlatformType, error)

GetOpenshiftPlatform Returns the openshift deployment platform

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL