Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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.
Click to show internal directories.
Click to hide internal directories.