Documentation ¶
Overview ¶
Package controller provides some method to help controller handles event.
Index ¶
Constants ¶
View Source
const ( OteNamespaceKind = "Namespace" OteNamespaceURI = "/api/v1/namespaces" OteApiVersionV1 = "v1" )
Variables ¶
This section is empty.
Functions ¶
func SerializeNamespaceObject ¶
SerializeNamespaceObject serializes an oteNamespace to be the body of k8s rest request with specific name.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package clustercrd watch cluster crd if it is created, get all namespace from center etcd,and send them to the new cluster.
|
Package clustercrd watch cluster crd if it is created, get all namespace from center etcd,and send them to the new cluster. |
Package namespace watch Namespace resource if it is created, and send it to all clusters.
|
Package namespace watch Namespace resource if it is created, and send it to all clusters. |
Click to show internal directories.
Click to hide internal directories.