backingresource

package
v0.0.0-...-db72f7f Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackingResourceController

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

BackingResourceController is a controller that watches the operator config and updates service accounts and RBAC rules in the target namespace according to the bindata manifests (templated with the config) if they differ.

func NewBackingResourceController

func NewBackingResourceController(
	targetNamespace string,
	operatorClient v1helpers.OperatorClient,
	kubeInformersForTargetNamespace informers.SharedInformerFactory,
	kubeClient kubernetes.Interface,
	eventRecorder events.Recorder,
) *BackingResourceController

NewBackingResourceController creates a new backing resource controller.

func (*BackingResourceController) Run

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

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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