node

package
v1.7.5 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UnscheduledStatus = "unscheduled"
	Normal            = "normal"
	AbNormal          = "abnormal"
)

Variables

This section is empty.

Functions

func ParseNodeStatus

func ParseNodeStatus(node corev1.Node) (status string)

Types

type Node

type Node struct {
	// contains filtered or unexported fields
}

func NewNode

func NewNode(client mgrclient.Client, condition *filter.Condition) Node

func (*Node) GetExtendNodes

func (node *Node) GetExtendNodes() (*unstructured.Unstructured, error)

Jump to

Keyboard shortcuts

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