api

package
v2.20.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2022 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"

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