cluster

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Identity

type Identity struct {
	Name string
	UUID string
}

Identity holds the auto-discovered cluster name and UUID. Issue #615: Used by the Remediation Orchestrator to inject cluster context into notifications.

func DiscoverIdentity

func DiscoverIdentity(ctx context.Context, reader client.Reader) (*Identity, error)

DiscoverIdentity resolves cluster UUID (from kube-system namespace UID) and cluster name (OCP infrastructure > Kind node label > empty) at boot time.

Jump to

Keyboard shortcuts

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