node

package
v0.0.0-...-5a60d54 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BMCs

type BMCs map[string]*bmc.BMCInfo

type NodeManager

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

NodeManager manages the power state of nodes.

func NewNodeManager

func NewNodeManager(informerFactory informers.SharedInformerFactory, clientset *kubernetes.Clientset, wattTimeClient *watttime.Client) (*NodeManager, error)

NewNodeManager creates a NodeController.

func (*NodeManager) Run

func (c *NodeManager) Run(stopCh <-chan struct{}) error

Run starts shared informers and waits for the shared informer cache to synchronize.

Jump to

Keyboard shortcuts

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