conditions

package
v1.63.7 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateNodeGroupConditions

func CalculateNodeGroupConditions(
	ng NodeGroup,
	nodes []*Node,
	currentConditions []ngv1.NodeGroupCondition,
	errors []string,
	minPerAllZone int,
) []ngv1.NodeGroupCondition

Types

type Node

type Node struct {
	Ready                     bool
	ShouldDeleted             bool
	Unschedulable             bool
	Updating                  bool
	CreationTimestamp         time.Time
	WaitingDisruptiveApproval bool
}

func NodeToConditionsNode

func NodeToConditionsNode(node *corev1.Node) *Node

type NodeGroup

type NodeGroup struct {
	Type      ngv1.NodeType
	Instances int32
	Desired   int32

	HasFrozenMachineDeployment bool
}

Jump to

Keyboard shortcuts

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