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 ¶
GetArchitectureFromRuntime returns architecture from Runtime. If Runtime is nil or Runtime.Architecture is empty then defaults.DefaultNodeSelectorArchitecture is returned with false flag
func GetArchitectureFromRuntimeOrDefault ¶
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
Click to show internal directories.
Click to hide internal directories.