Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStaticPodStateController

func NewStaticPodStateController(
	targetNamespace, staticPodName, operatorNamespace, operandName string,
	kubeInformersForTargetNamespace informers.SharedInformerFactory,
	operatorClient v1helpers.StaticPodOperatorClient,
	configMapGetter corev1client.ConfigMapsGetter,
	podsGetter corev1client.PodsGetter,
	versionRecorder status.VersionGetter,
	eventRecorder events.Recorder,
) factory.Controller

    NewStaticPodStateController creates a controller that watches static pods and will produce a failing status if the static pods start crashing for some reason.

    Types

    type StaticPodStateController

    type StaticPodStateController struct {
    	// contains filtered or unexported fields
    }

      StaticPodStateController is a controller that watches static pods and will produce a failing status if the // static pods start crashing for some reason.