noderesults

package
v0.1.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2026 License: Apache-2.0 Imports: 7 Imported by: 1 module, 0 packages

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 (
	// SucceededNodesConfigMapKey is the binaryData key whose value is a
	// gzip-compressed comma-separated list of nodes that passed.
	SucceededNodesConfigMapKey = "succeeded-nodes.csv.gz"

	// FailedNodesConfigMapKey is the binaryData key whose value is a
	// gzip-compressed JSON array of {name, reason, message} objects.
	FailedNodesConfigMapKey = "failed-nodes.json.gz"
)

Variables

This section is empty.

Functions

func DecodeFailedNodesFromConfigMap

func DecodeFailedNodesFromConfigMap(cm *corev1.ConfigMap) ([]burninv1alpha1.FailedNode, error)

DecodeFailedNodesFromConfigMap parses the failed-nodes entry (a JSON array of {name, reason, message} objects) from a node-results ConfigMap's binaryData.

func FailedNodeNames

func FailedNodeNames(nodes []burninv1alpha1.FailedNode) []string

FailedNodeNames extracts the sorted, deduped node names from FailedNode entries.

func FailedNodesFromJSON

func FailedNodesFromJSON(b []byte) ([]burninv1alpha1.FailedNode, error)

FailedNodesFromJSON parses the JSON array produced by FailedNodesToJSON back into FailedNode entries.

func FailedNodesToJSON

func FailedNodesToJSON(nodes []burninv1alpha1.FailedNode) ([]byte, error)

FailedNodesToJSON encodes FailedNode entries as a JSON array of {name, reason, message} objects.

func NodesWithFailureDetails

func NodesWithFailureDetails(names []string, reason burninv1alpha1.NodeFailureReason,
	message string) []burninv1alpha1.FailedNode

NodesWithFailureDetails wraps a list of node names into FailedNode entries with the given reason and message. The result is sorted by node name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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