Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterVersion ¶
ClusterVersion represents the parts of a Kubernetes cluster version.
func ParseClusterVersion ¶
func ParseClusterVersion(version string) (ClusterVersion, error)
ParseClusterVersion parses the string "gitVersion" of a Kubernetes cluster.
func (ClusterVersion) GKESuffix ¶
func (cv ClusterVersion) GKESuffix() (int, error)
GKESuffix returns the GKE patch version integer from the -gke suffix
func (ClusterVersion) IsAtLeast ¶
func (cv ClusterVersion) IsAtLeast(other ClusterVersion) bool
IsAtLeast returns whether the ClusterVersion is at least the provided version.
func (ClusterVersion) String ¶
func (cv ClusterVersion) String() string
String returns the canonical string representation of a ClusterVersion.
Click to show internal directories.
Click to hide internal directories.