diff options
| author | Brian Grant <bgrant0607@users.noreply.github.com> | 2015-07-19 08:45:54 -0700 |
|---|---|---|
| committer | Brian Grant <bgrant0607@users.noreply.github.com> | 2015-07-19 08:45:54 -0700 |
| commit | 43bfff4f73766effb63fb76f7ab81dafb1981308 (patch) | |
| tree | 9c2d3271af8427a3f8d054b7184143313e7c4c5f /namespaces.md | |
| parent | 4bef20df2177f38a04f0cab82d8d1ca5abe8be5c (diff) | |
| parent | 33ff550b17290853b10e8106492b05d184c3b98e (diff) | |
Merge pull request #11551 from a-robinson/docs
Improve syntax highlighting for design and devel docs
Diffstat (limited to 'namespaces.md')
| -rw-r--r-- | namespaces.md | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/namespaces.md b/namespaces.md index 1f1a767c..da3bb2c5 100644 --- a/namespaces.md +++ b/namespaces.md @@ -74,7 +74,7 @@ The Namespace provides a unique scope for: A *Namespace* defines a logically named group for multiple *Kind*s of resources. -``` +```go type Namespace struct { TypeMeta `json:",inline"` ObjectMeta `json:"metadata,omitempty"` @@ -125,7 +125,7 @@ See [Admission control: Resource Quota](admission_control_resource_quota.md) Upon creation of a *Namespace*, the creator may provide a list of *Finalizer* objects. -``` +```go type FinalizerName string // These are internal finalizers to Kubernetes, must be qualified name unless defined here @@ -154,7 +154,7 @@ set by default. A *Namespace* may exist in the following phases. -``` +```go type NamespacePhase string const( NamespaceActive NamespacePhase = "Active" @@ -262,7 +262,7 @@ to take part in Namespace termination. OpenShift creates a Namespace in Kubernetes -``` +```json { "apiVersion":"v1", "kind": "Namespace", @@ -287,7 +287,7 @@ own storage associated with the "development" namespace unknown to Kubernetes. User deletes the Namespace in Kubernetes, and Namespace now has following state: -``` +```json { "apiVersion":"v1", "kind": "Namespace", @@ -312,7 +312,7 @@ and begins to terminate all of the content in the namespace that it knows about. success, it executes a *finalize* action that modifies the *Namespace* by removing *kubernetes* from the list of finalizers: -``` +```json { "apiVersion":"v1", "kind": "Namespace", @@ -340,7 +340,7 @@ from the list of finalizers. This results in the following state: -``` +```json { "apiVersion":"v1", "kind": "Namespace", |
