api

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// VisualizeResourceLabel is used to include additional CRDs outside of clusterctl discovery
	// into the Cluster view. The label should be applied to the CRD type itself, and the resource
	// instances must have the `cluster.x-k8s.io/cluster-name` in order to be affiliated with a
	// Cluster.
	// The resource will be inserted into the tree based off its owner reference, and its owners
	// will be inserted as well until the owner is a Cluster, or it has no owner, in which case it
	// will be added as a child of the Cluster.
	VisualizeResourceLabel = "visualizer.cluster.x-k8s.io"

	// ProviderTypeLabel is used to indicate the provider type of a resource. This label should be
	// set on the CRD type itself, and the possible values are "cluster", "infrastructure", "control-plane",
	// "bootstrap", "addons", and "virtual". The provider type is used to determine the color of the
	// node in the tree. If not set, the Visualizer will attempt to infer the provider type based on
	// the resource's APIVersion, and if it cannot, the object will be displayed as a virtual node.
	ProviderTypeLabel = "visualizer.cluster.x-k8s.io/provider-type"
)

Variables

This section is empty.

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