api

package
v2.23.0-beta.0 Latest Latest
Warning

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

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

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

Jump to

Keyboard shortcuts

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