Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8sVersion ¶
type K8sVersion int
K8sVersion is a enum of k8s versions
const ( //V1dot5 k8s version 1.5 V1dot5 K8sVersion = iota + 1 // V1dot6 k8s version 1.6 V1dot6 )
func GetK8sVersionFromString ¶
func GetK8sVersionFromString(name string) (K8sVersion, error)
GetK8sVersionFromString returns k8s version
func (K8sVersion) String ¶
func (version K8sVersion) String() string
type RookPlatformType ¶
type RookPlatformType int
RookPlatformType is enum if rook platforms
const ( //Kubernetes plafrom is default Kubernetes RookPlatformType = iota + 1 //BareMetal plafrom BareMetal //StandAlone plafrom is default StandAlone //None platform None )
func GetRookPlatFormTypeFromString ¶
func GetRookPlatFormTypeFromString(name string) (RookPlatformType, error)
GetRookPlatFormTypeFromString returns rook platform type
func (RookPlatformType) String ¶
func (platform RookPlatformType) String() string
Click to show internal directories.
Click to hide internal directories.