nodestatus

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeStatusController

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

func NewNodeStatusController

func NewNodeStatusController(
	cli cloud.CloudClient,
	internalIP string,
	daemonEndpointPort int32,
	capacity corev1.ResourceList,
	labels map[string]string,
) *NodeStatusController

func (*NodeStatusController) Dump

func (n *NodeStatusController) Dump() []byte

func (*NodeStatusController) GetNodeStatus

func (n *NodeStatusController) GetNodeStatus() corev1.NodeStatus

func (*NodeStatusController) NotifyNodeStatus

func (n *NodeStatusController) NotifyNodeStatus(ctx context.Context, cb func(*corev1.Node))

func (*NodeStatusController) Ping

func (*NodeStatusController) Start

func (n *NodeStatusController) Start(quit <-chan struct{}, wg *sync.WaitGroup)

func (*NodeStatusController) UpdateNode

func (n *NodeStatusController) UpdateNode(node *corev1.Node)

Jump to

Keyboard shortcuts

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