runtime

package
v1.134.2 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2026 License: MIT Imports: 2 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// NodeTypeAffinityKey is the label key for the custom node type
	NodeTypeAffinityKey = "radix-nodetype"
	// NodeTypeTolerationKey is the taint key for the custom node type
	NodeTypeTolerationKey = "radix-nodetype"
)

Variables

This section is empty.

Functions

func GetArchitectureFromRuntime

func GetArchitectureFromRuntime(runtime *radixv1.Runtime) (string, bool)

GetArchitectureFromRuntime returns architecture from Runtime. If Runtime is nil or Runtime.Architecture is empty then defaults.DefaultNodeSelectorArchitecture is returned with false flag

func GetArchitectureFromRuntimeOrDefault

func GetArchitectureFromRuntimeOrDefault(runtime *radixv1.Runtime) string

GetArchitectureFromRuntimeOrDefault returns architecture from Runtime.

Types

type NodeType

type NodeType struct {
	// Architecture is the architecture of the node type
	Architecture radixv1.RuntimeArchitecture `json:"architecture,omitempty"`
	// Deprecated is the deprecation information of the node type
	Deprecated *NodeTypeDeprecation `json:"deprecated,omitempty"`
}

NodeType holds information about a node type attributes

type NodeTypeDeprecation

type NodeTypeDeprecation struct {
	// Message is the deprecation message
	Message string `json:"message,omitempty"`
	// ReplacedBy is the node type that replaces this node type
	ReplacedBy string `json:"replacedBy,omitempty"`
}

NodeTypeDeprecation holds information about deprecation of a node type

Jump to

Keyboard shortcuts

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