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 ¶
func (factory *NamespaceControllerFactory) Create() controller.RunnableController
Create creates a NamespaceController.
Source Files
¶
- controller.go
- factory.go
Click to show internal directories.
Click to hide internal directories.