lifecycle

package
v0.11.6 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController

func NewController(
	ctx context.Context,
	opt reconciler.Options,
	k8sClient k8sclient.Interface,
	configmapName string,
	configMapInformer coreinformers.ConfigMapInformer,
	lifecycleProvider LifecycleProvider,
) *controller.Impl

Types

type LifecycleProvider

type LifecycleProvider interface {
	UpdateImage(cm *corev1.ConfigMap) error
}

type Reconciler

type Reconciler struct {
	Key               types.NamespacedName
	ConfigMapLister   corelisters.ConfigMapLister
	Tracker           reconciler.Tracker
	K8sClient         k8sclient.Interface
	LifecycleProvider LifecycleProvider
}

func (*Reconciler) Reconcile

func (c *Reconciler) Reconcile(ctx context.Context, key string) error

Jump to

Keyboard shortcuts

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