hardware_status

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InterfaceStatusOnLine  = "OnLine"
	InterfaceStatusOffLine = "OffLine"
	InterfaceStatusUnknown = "Unknown"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type HostStatus

type HostStatus struct {
	HostName              string
	ClientInterfaceName   string
	ClientInterfaceStatus InterfaceStatus
	HostStatus            InterfaceStatus
	ErrMsg                string
	// contains filtered or unexported fields
}

func GetHostStatus

func GetHostStatus(logger logr.Logger, node *corev1.Node) *HostStatus

type InterfaceStatus

type InterfaceStatus string

Jump to

Keyboard shortcuts

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