kube

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

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.

Jump to

Keyboard shortcuts

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