Help us shape the future of Go! Take the 2026 Go Developer Survey

namespacecontroller

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2016 License: Apache-2.0 Imports: 15 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

This section is empty.

Types

type NamespaceController

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

NamespaceController is responsible for performing actions dependent upon a namespace phase

func NewNamespaceController

func NewNamespaceController(kubeClient client.Interface, versions *unversioned.APIVersions, resyncPeriod time.Duration) *NamespaceController

NewNamespaceController creates a new NamespaceController

func (*NamespaceController) Run

func (nm *NamespaceController) Run()

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

func (*NamespaceController) Stop

func (nm *NamespaceController) Stop()

Stop gracefully shutsdown this controller

Jump to

Keyboard shortcuts

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