Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KernelRelease ¶
type KernelRelease struct { Fullversion string Version string PatchLevel string Sublevel string Extraversion string FullExtraversion string }
KernelRelease contains all the version parts.
func FromString ¶
func FromString(kernelVersionStr string) KernelRelease
FromString extracts a KernelRelease object from string.
func (*KernelRelease) IsGKE ¶ added in v0.3.0
func (kr *KernelRelease) IsGKE() bool
IsGKE tells whether the current kernel release is for GKE by looking at its name.
Click to show internal directories.
Click to hide internal directories.