1package v2 2 3// NewObjectMeta makes a new ObjectMeta, with Labels and Annotations assigned 4// empty maps. 5func NewObjectMeta(name, namespace string) ObjectMeta { 6 return ObjectMeta{ 7 Name: name, 8 Namespace: namespace, 9 Labels: make(map[string]string), 10 Annotations: make(map[string]string), 11 } 12} 13