node_net_status

package
v0.0.0-...-1142a2b Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const NodeClientIP v1.NodeConditionType = "NodeClientIP"

NodeClientIP means status of the node client ip.

View Source
const NodeClientNetworkUnavailable v1.NodeConditionType = "NodeClientNetworkUnavailable"

NodeClientNetworkUnavailable means that client network of the node is not correctly configured.

View Source
const NodeOobIP v1.NodeConditionType = "NodeOobIP"

NodeOobIP means status of the node oob ip.

View Source
const NodeRefreshFlag v1.NodeConditionType = "NodeRefreshFlag"

NodeRefreshFlag means status of the node.

Variables

View Source
var ProbeRunnerCounter uint64 = 0

Functions

func GetNodeCondition

func GetNodeCondition(node *v1.Node, conType v1.NodeConditionType) *v1.NodeCondition

func StartNodeNetworkProbe

func StartNodeNetworkProbe(client *clientset.Clientset, stop <-chan struct{})

Types

type HybridDeploySetting

type HybridDeploySetting struct {
	IsCheckOObIP  bool
	DisableSanCmd bool
	Err           error
}

type PolarNodeNetworkProbe

type PolarNodeNetworkProbe struct {
	KubeClient *clientSet.Clientset
	NodeName   string

	ClientCardName string
	// contains filtered or unexported fields
}

func NewPolarNodeNetworkProbe

func NewPolarNodeNetworkProbe(client *clientSet.Clientset, nodeName string) *PolarNodeNetworkProbe

func (*PolarNodeNetworkProbe) DoNetWorkProbe

func (probe *PolarNodeNetworkProbe) DoNetWorkProbe() error

func (*PolarNodeNetworkProbe) GetHybridDeploySetting

func (probe *PolarNodeNetworkProbe) GetHybridDeploySetting() *HybridDeploySetting

func (*PolarNodeNetworkProbe) GetNodeClientStatus

func (probe *PolarNodeNetworkProbe) GetNodeClientStatus() (bool, string, string)

func (*PolarNodeNetworkProbe) Init

func (probe *PolarNodeNetworkProbe) Init() error

type StorageStatus

type StorageStatus struct {
	Available bool
	Status    string
}

Jump to

Keyboard shortcuts

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