kubernetes: k8s.io/kubernetes/pkg/controller/namespace Index | Files | Directories

package namespace

import "k8s.io/kubernetes/pkg/controller/namespace"

Package namespace contains a controller that handles namespace lifecycle

Index

Package Files

doc.go namespace_controller.go

type NamespaceController Uses

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

NamespaceController is responsible for performing actions dependent upon a namespace phase

func NewNamespaceController Uses

func NewNamespaceController(
    kubeClient clientset.Interface,
    metadataClient metadata.Interface,
    discoverResourcesFn func() ([]*metav1.APIResourceList, error),
    namespaceInformer coreinformers.NamespaceInformer,
    resyncPeriod time.Duration,
    finalizerToken v1.FinalizerName) *NamespaceController

NewNamespaceController creates a new NamespaceController

func (*NamespaceController) Run Uses

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

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

Directories

PathSynopsis
config
config/v1alpha1
deletion

Package namespace imports 17 packages (graph) and is imported by 123 packages. Updated 2019-07-21. Refresh now. Tools for package owners.