summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Ghods <sam@box.com>2014-11-30 21:31:52 -0800
committerSam Ghods <sam@box.com>2014-12-02 16:25:28 -0800
commit5de98eeb18e6714216edc35bb6fb9fe220e7878b (patch)
tree709f6149bf701681b1f51f778837f40452045e3d
parent3a3112c0e24b348c045adcfaba08ac57051f9d15 (diff)
Remove unused YAML tags and GetYAML/SetYAML methods
Unneeded after move to ghodss/yaml.
-rw-r--r--namespaces.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/namespaces.md b/namespaces.md
index b80c6825..761daa1a 100644
--- a/namespaces.md
+++ b/namespaces.md
@@ -48,14 +48,14 @@ A *Namespace* is a DNS compatible subdomain.
```
// TypeMeta is shared by all objects sent to, or returned from the client
type TypeMeta struct {
- Kind string `json:"kind,omitempty" yaml:"kind,omitempty"`
- Uid string `json:"uid,omitempty" yaml:"uid,omitempty"`
- CreationTimestamp util.Time `json:"creationTimestamp,omitempty" yaml:"creationTimestamp,omitempty"`
- SelfLink string `json:"selfLink,omitempty" yaml:"selfLink,omitempty"`
- ResourceVersion uint64 `json:"resourceVersion,omitempty" yaml:"resourceVersion,omitempty"`
- APIVersion string `json:"apiVersion,omitempty" yaml:"apiVersion,omitempty"`
- Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"`
- Name string `json:"name,omitempty" yaml:"name,omitempty"`
+ Kind string `json:"kind,omitempty"`
+ Uid string `json:"uid,omitempty"`
+ CreationTimestamp util.Time `json:"creationTimestamp,omitempty"`
+ SelfLink string `json:"selfLink,omitempty"`
+ ResourceVersion uint64 `json:"resourceVersion,omitempty"`
+ APIVersion string `json:"apiVersion,omitempty"`
+ Namespace string `json:"namespace,omitempty"`
+ Name string `json:"name,omitempty"`
}
```