nodeidentity

package
v1.23.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2021 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
	InstanceLifecycle string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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