controller

package
v0.0.0-...-1e7f0c5 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigMapGVK = schema.GroupVersionKind{Group: "", Version: "v1", Kind: "ConfigMap"}

Functions

This section is empty.

Types

type Controller

type Controller struct {
	Namespace   string
	Kubernetes  kubernetes.Interface
	Dynamic     *kubernetesutil.Dynamic
	StopChannel <-chan struct{}

	Processors *kubernetesutil.Processors
	Events     record.EventRecorder

	KubernetesInformerFactory informers.SharedInformerFactory

	ConfigMaps listers.ConfigMapLister

	Context contextpkg.Context
	Log     commonlog.Logger
}

func NewController

func NewController(toolName string, cluster bool, namespace string, kubernetes kubernetes.Interface, dynamic dynamicpkg.Interface, informerResyncPeriod time.Duration, stopChannel <-chan struct{}) *Controller

func (*Controller) GetConfigMap

func (self *Controller) GetConfigMap(namespace string, networkName string) (*core.ConfigMap, error)

func (*Controller) Run

func (self *Controller) Run(concurrency uint, startup func()) error

Jump to

Keyboard shortcuts

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