api

package
v2.24.12 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 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", "red hat enterprise"},
	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