Documentation
¶
Index ¶
Constants ¶
View Source
const ( ClusterTypeOpenShift = "openshift" ClusterTypeMinikube = "minikube" ClusterTypeKind = "kind" )
Cluster type constants
Variables ¶
View Source
var SupportedClusterTypes = []string{ ClusterTypeOpenShift, ClusterTypeMinikube, ClusterTypeKind, }
SupportedClusterTypes defines all cluster types supported by Kruize
Functions ¶
func GetKubePrometheusVersion ¶
GetKubePrometheusVersion returns the appropriate kube-prometheus version based on cluster type
func IsValidClusterType ¶
IsValidClusterType checks if the given cluster type is supported (case-insensitive)
func NormalizeClusterType ¶
NormalizeClusterType converts user input to lowercase for internal use This allows case-insensitive cluster type matching (e.g., "OpenShift", "OPENSHIFT", "openshift" all work)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.