controller

package
v1.3.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2016 License: Apache-2.0 Imports: 14 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 internalclientset.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.Client
}

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