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.19.3
Published
Jun 22, 2015
Platform
windows/amd64
Imports
12 packages
Last checked
1 minute ago

Tools for package owners.