Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RevisionController ¶
type RevisionController struct {
// contains filtered or unexported fields
}
RevisionController is a controller that watches a set of configmaps and secrets and them against a revision snapshot of them. If the original resources changes, the revision counter is increased, stored in LatestAvailableRevision field of the operator config and new snapshots suffixed by the revision are created.
func NewRevisionController ¶
func NewRevisionController( targetNamespace string, configMaps []RevisionResource, secrets []RevisionResource, kubeInformersForTargetNamespace informers.SharedInformerFactory, operatorConfigClient v1helpers.StaticPodOperatorClient, configMapGetter corev1client.ConfigMapsGetter, secretGetter corev1client.SecretsGetter, eventRecorder events.Recorder, ) *RevisionController
NewRevisionController create a new revision controller.
func (*RevisionController) Run ¶
func (c *RevisionController) Run(workers int, stopCh <-chan struct{})
Run starts the kube-apiserver and blocks until stopCh is closed.
type RevisionResource ¶
Click to show internal directories.
Click to hide internal directories.