kubernetesk8s.io/kubernetes/pkg/namespace Index | Files

package namespace

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

namespace contains a controller that handles namespace lifecycle

Index

Types

type NamespaceManager

type NamespaceManager struct {
	StopEverything chan struct{}
	// contains filtered or unexported fields
}

NamespaceManager is responsible for performing actions dependent upon a namespace phase

func NewNamespaceManager

func NewNamespaceManager(kubeClient client.Interface, resyncPeriod time.Duration) *NamespaceManager

NewNamespaceManager creates a new NamespaceManager

func (*NamespaceManager) Run

func (nm *NamespaceManager) Run()

Run begins observing the system. It starts a goroutine and returns immediately.

func (*NamespaceManager) Stop

func (nm *NamespaceManager) Stop()

Stop gracefully shutsdown this controller

Source Files

doc.go namespace_controller.go

Version
v0.16.2
Published
May 4, 2015
Platform
js/wasm
Imports
10 packages
Last checked
49 seconds ago

Tools for package owners.