Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DistributionLabelKey is the label that gets applied. DistributionLabelKey = "x-kubernetes.io/distribution" // CentOSLabelValue is the value of the label for CentOS. CentOSLabelValue = "centos" // UbuntuLabelValue is the value of the label for Ubuntu. UbuntuLabelValue = "ubuntu" // SLESLabelValue is the value of the label for SLES. SLESLabelValue = "sles" // RHELLabelValue is the value of the label for RHEL. RHELLabelValue = "rhel" // FlatcarLabelValue is the value of the label for Flatcar Linux. FlatcarLabelValue = "flatcar" // RockyLinuxLabelValue is the value of the label for RockyLinux. RockyLinuxLabelValue = "rockylinux" // AmazonLinuxLabelValue is the value of the label for Amazon Linux 2. AmazonLinuxLabelValue = "amzn2" )
Variables ¶
View Source
var OSLabelMatchValues = map[string][]string{ CentOSLabelValue: {"centos"}, UbuntuLabelValue: {"ubuntu"}, SLESLabelValue: {"sles"}, RHELLabelValue: {"rhel"}, FlatcarLabelValue: {"flatcar container linux"}, RockyLinuxLabelValue: {"rockylinux", "rocky linux"}, AmazonLinuxLabelValue: {"amzn2"}, }
OSLabelMatchValues is a mapping between OS labels and the strings to match on in OSImage. Note that these are all lower case.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.