Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PodManager ¶
type PodManager struct {
// contains filtered or unexported fields
}
PodManager manages the power state of pods.
func NewPodManager ¶
func NewPodManager(informerFactory informers.SharedInformerFactory, clientset *kubernetes.Clientset, wattTimeClient *watttime.Client) (*PodManager, error)
NewPodManager creates a PodManager.
func (*PodManager) Run ¶
func (c *PodManager) 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.