manager_status

package
v1.1.24 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	Node *node.Node
	// contains filtered or unexported fields
}

Manager report node status and resource usage

func NewManager

func NewManager(n *node.Node) *Manager

NewManager returns a new Manager

func (*Manager) Run

func (m *Manager) Run(ctx context.Context)

Run start working

type NodeStatus

type NodeStatus struct {
	NodeName    string
	Node        *node.Node
	Cap         *node.Capacity
	Allocatable *node.Allocatable
	Conditions  *node.Condition
}

NodeStatus reporting work

func NewNodeStatus

func NewNodeStatus(nodeName string) *NodeStatus

NewNodeStatus returns a new NodeStatus

Jump to

Keyboard shortcuts

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