Move ObjectMeta to metav1

This commit is contained in:
Clayton Coleman
2017-01-09 17:50:41 -05:00
parent fc8e029f8f
commit 54d8ed001d
4 changed files with 154 additions and 3 deletions

View File

@@ -57,6 +57,7 @@ import (
// ObjectMeta is metadata that all persisted resources must have, which includes all objects
// users must create.
// DEPRECATED: Use k8s.io/kubernetes/pkg/apis/meta/v1.ObjectMeta instead - this type will be removed soon.
type ObjectMeta struct {
// Name is unique within a namespace. Name is required when creating resources, although
// some resources may allow a client to request the generation of an appropriate name