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.
Click to show internal directories.
Click to hide internal directories.