Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKubernetesClient ¶
func GetKubernetesClient() (*kubernetes.Clientset, error)
GetKubernetesClient returns Kubernetes client to use for the worker.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is the class with the relabeling logic.
func NewController ¶
func NewController(client kubernetes.Interface, specs specs.Specs) (*Controller, error)
NewController constructs new instance of Controller.
func (*Controller) Run ¶
func (c *Controller) Run(stopCh <-chan struct{}, stopSyncCh <-chan struct{}) error
Run runs the controller until the stop channel is signalled.
Click to show internal directories.
Click to hide internal directories.