node

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeFetcher

type NodeFetcher interface {
	// Run starts the preparing logic to collect node metadata.
	Run(ctx context.Context)

	// GetNode returns those latest node metadata.
	GetNode(ctx context.Context) (*v1.Node, error)
}

NodeFetcher is used to get K8S Node information.

func NewRemoteNodeFetcher

func NewRemoteNodeFetcher(baseConf *global.BaseConfiguration, nodeConf *metaserver.NodeConfiguration, client corev1.NodeInterface) NodeFetcher

Jump to

Keyboard shortcuts

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