namespace

package
v1.2.5-beta.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2016 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

namespace contains a controller that handles namespace lifecycle

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServerPreferredNamespacedGroupVersionResources added in v1.2.0

func ServerPreferredNamespacedGroupVersionResources(discoveryClient discovery.DiscoveryInterface) ([]unversioned.GroupVersionResource, error)

ServerPreferredNamespacedGroupVersionResources uses the specified client to discover the set of preferred groupVersionResources that are namespaced

Types

type NamespaceController

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

NamespaceController is responsible for performing actions dependent upon a namespace phase

func NewNamespaceController

func NewNamespaceController(
	kubeClient clientset.Interface,
	clientPool dynamic.ClientPool,
	groupVersionResources []unversioned.GroupVersionResource,
	resyncPeriod time.Duration,
	finalizerToken api.FinalizerName) *NamespaceController

NewNamespaceController creates a new NamespaceController

func (*NamespaceController) Run

func (nm *NamespaceController) Run(workers int, stopCh <-chan struct{})

Run starts observing the system with the specified number of workers.

Jump to

Keyboard shortcuts

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