controller

package
v0.0.0-...-ea77a8b Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2016 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NamespaceController

type NamespaceController struct {
	// Client is an OpenShift client.
	Client osclient.Interface
	// KubeClient is a Kubernetes client.
	KubeClient kclient.Interface
}

NamespaceController is responsible for participating in Kubernetes Namespace termination Use the NamespaceControllerFactory to create this controller.

func (*NamespaceController) Handle

func (c *NamespaceController) Handle(namespace *kapi.Namespace) (err error)

Handle processes a namespace and deletes content in origin if its terminating

type NamespaceControllerFactory

type NamespaceControllerFactory struct {
	// Client is an OpenShift client.
	Client osclient.Interface
	// KubeClient is a Kubernetes client.
	KubeClient kclient.Interface
}

func (*NamespaceControllerFactory) Create

Create creates a NamespaceController.

Jump to

Keyboard shortcuts

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