Documentation ¶
Index ¶
Constants ¶
View Source
const (
ActiLabel = "acti"
)
Variables ¶
This section is empty.
Functions ¶
func SetupSignalHandlers ¶
func SetupSignalHandlers() (stopCh <-chan struct{})
SetupSignalHandlers registered for SIGTERM and SIGINT. A stop channel is returned which is closed on one of these signals. If a second signal is caught, the program is terminated with exit code 1.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController( actiNamespace string, nodeName string, podName string, klient kubernetes.Interface, actiKlient acticlientset.Interface, podInformer coreinformers.PodInformer, actiNodeInformer actinformers.ActiNodeInformer, ) (controller *Controller, err error)
func (*Controller) Run ¶
func (c *Controller) Run(threadiness int, stopCh <-chan struct{}) error
Click to show internal directories.
Click to hide internal directories.