kubernetes: github.com/erimatnor/kubernetes/pkg/namespace Index | Files

package namespace

import "github.com/erimatnor/kubernetes/pkg/namespace"

namespace contains a controller that handles namespace lifecycle

Index

Package Files

doc.go namespace_controller.go

type NamespaceManager Uses

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

NamespaceManager is responsible for performing actions dependent upon a namespace phase

func NewNamespaceManager Uses

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

NewNamespaceManager creates a new NamespaceManager

func (*NamespaceManager) Run Uses

func (nm *NamespaceManager) Run()

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

func (*NamespaceManager) Stop Uses

func (nm *NamespaceManager) Stop()

Stop gracefully shutsdown this controller

Package namespace imports 10 packages (graph). Updated 2017-05-11. Refresh now. Tools for package owners.