Documentation
¶
Index ¶
Constants ¶
const ( ClusterTypeOpenShift = "openshift" ClusterTypeMinikube = "minikube" ClusterTypeKind = "kind" )
Cluster type constants
Variables ¶
var SupportedClusterTypes = []string{ ClusterTypeOpenShift, ClusterTypeMinikube, ClusterTypeKind, }
SupportedClusterTypes defines all cluster types supported by Kruize
Functions ¶
func GetDefaultAutotuneImage ¶ added in v0.0.4
func GetDefaultAutotuneImage() string
GetDefaultAutotuneImage returns the cached default Autotune image. The image is resolved once at package initialization from environment variables or defaults.
func GetDefaultUIImage ¶ added in v0.0.4
func GetDefaultUIImage() string
GetDefaultUIImage returns the cached default Autotune UI image. The image is resolved once at package initialization from environment variables or defaults.
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.