staticpodstate

package
v0.0.0-...-a892dfa Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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.

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,
) *StaticPodStateController

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

func (*StaticPodStateController) Run

func (c *StaticPodStateController) Run(workers int, stopCh <-chan struct{})

Run starts the kube-apiserver and blocks until stopCh is closed.

Jump to

Keyboard shortcuts

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