nodeidentity

package
v1.30.2 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Identifier

type Identifier interface {
	IdentifyNode(ctx context.Context, node *corev1.Node) (*Info, error)
}

type Info

type Info struct {
	InstanceID string
	Labels     map[string]string
}

type LegacyIdentifier added in v1.19.0

type LegacyIdentifier interface {
	IdentifyNode(ctx context.Context, node *corev1.Node) (*LegacyInfo, error)
}

type LegacyInfo added in v1.19.0

type LegacyInfo struct {
	InstanceID    string
	InstanceGroup string
	// TODO: Remove
	InstanceLifecycle string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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