api

package
v9.99.0-rc.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

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"

	// ContainerLinuxLabelValue is the value of the label for Container Linux
	ContainerLinuxLabelValue = "container-linux"

	// 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"
)

Variables

View Source
var OSLabelMatchValues = map[string]string{
	CentOSLabelValue:         "centos",
	UbuntuLabelValue:         "ubuntu",
	ContainerLinuxLabelValue: "container linux",
	SLESLabelValue:           "sles",
	RHELLabelValue:           "rhel",
	FlatcarLabelValue:        "flatcar container linux",
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL