final case class ObjectMeta(name: Option[String] = None, ownerReferences: Option[Seq[OwnerReference]] = None, creationTimestamp: Option[Time] = None, generation: Option[Long] = None, resourceVersion: Option[String] = None, generateName: Option[String] = None, deletionGracePeriodSeconds: Option[Long] = None, selfLink: Option[String] = None, finalizers: Option[Seq[String]] = None, annotations: Option[Map[String, String]] = None, managedFields: Option[Seq[ManagedFieldsEntry]] = None, labels: Option[Map[String, String]] = None, uid: Option[String] = None, namespace: Option[String] = None, deletionTimestamp: Option[Time] = None) extends Product with Serializable
ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
- Source
- ObjectMeta.scala
- Alphabetic
- By Inheritance
- ObjectMeta
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ObjectMeta(name: Option[String] = None, ownerReferences: Option[Seq[OwnerReference]] = None, creationTimestamp: Option[Time] = None, generation: Option[Long] = None, resourceVersion: Option[String] = None, generateName: Option[String] = None, deletionGracePeriodSeconds: Option[Long] = None, selfLink: Option[String] = None, finalizers: Option[Seq[String]] = None, annotations: Option[Map[String, String]] = None, managedFields: Option[Seq[ManagedFieldsEntry]] = None, labels: Option[Map[String, String]] = None, uid: Option[String] = None, namespace: Option[String] = None, deletionTimestamp: Option[Time] = None)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addAnnotations(newValues: (String, String)*): ObjectMeta
Adds new values to annotations
-
def
addFinalizers(newValues: String*): ObjectMeta
Appends new values to finalizers
-
def
addLabels(newValues: (String, String)*): ObjectMeta
Adds new values to labels
-
def
addManagedFields(newValues: ManagedFieldsEntry*): ObjectMeta
Appends new values to managedFields
-
def
addOwnerReferences(newValues: OwnerReference*): ObjectMeta
Appends new values to ownerReferences
- val annotations: Option[Map[String, String]]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val creationTimestamp: Option[Time]
- val deletionGracePeriodSeconds: Option[Long]
- val deletionTimestamp: Option[Time]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val finalizers: Option[Seq[String]]
- val generateName: Option[String]
- val generation: Option[Long]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val labels: Option[Map[String, String]]
- val managedFields: Option[Seq[ManagedFieldsEntry]]
-
def
mapAnnotations(f: (Map[String, String]) ⇒ Map[String, String]): ObjectMeta
if annotations has a value, transforms to the result of function
-
def
mapCreationTimestamp(f: (Time) ⇒ Time): ObjectMeta
if creationTimestamp has a value, transforms to the result of function
-
def
mapDeletionGracePeriodSeconds(f: (Long) ⇒ Long): ObjectMeta
if deletionGracePeriodSeconds has a value, transforms to the result of function
-
def
mapDeletionTimestamp(f: (Time) ⇒ Time): ObjectMeta
if deletionTimestamp has a value, transforms to the result of function
-
def
mapFinalizers(f: (Seq[String]) ⇒ Seq[String]): ObjectMeta
if finalizers has a value, transforms to the result of function
-
def
mapGenerateName(f: (String) ⇒ String): ObjectMeta
if generateName has a value, transforms to the result of function
-
def
mapGeneration(f: (Long) ⇒ Long): ObjectMeta
if generation has a value, transforms to the result of function
-
def
mapLabels(f: (Map[String, String]) ⇒ Map[String, String]): ObjectMeta
if labels has a value, transforms to the result of function
-
def
mapManagedFields(f: (Seq[ManagedFieldsEntry]) ⇒ Seq[ManagedFieldsEntry]): ObjectMeta
if managedFields has a value, transforms to the result of function
-
def
mapName(f: (String) ⇒ String): ObjectMeta
if name has a value, transforms to the result of function
-
def
mapNamespace(f: (String) ⇒ String): ObjectMeta
if namespace has a value, transforms to the result of function
-
def
mapOwnerReferences(f: (Seq[OwnerReference]) ⇒ Seq[OwnerReference]): ObjectMeta
if ownerReferences has a value, transforms to the result of function
-
def
mapResourceVersion(f: (String) ⇒ String): ObjectMeta
if resourceVersion has a value, transforms to the result of function
-
def
mapSelfLink(f: (String) ⇒ String): ObjectMeta
if selfLink has a value, transforms to the result of function
-
def
mapUid(f: (String) ⇒ String): ObjectMeta
if uid has a value, transforms to the result of function
- val name: Option[String]
- val namespace: Option[String]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val ownerReferences: Option[Seq[OwnerReference]]
- val resourceVersion: Option[String]
- val selfLink: Option[String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val uid: Option[String]
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withAnnotations(value: Map[String, String]): ObjectMeta
Returns a new data with annotations set to new value
-
def
withCreationTimestamp(value: Time): ObjectMeta
Returns a new data with creationTimestamp set to new value
-
def
withDeletionGracePeriodSeconds(value: Long): ObjectMeta
Returns a new data with deletionGracePeriodSeconds set to new value
-
def
withDeletionTimestamp(value: Time): ObjectMeta
Returns a new data with deletionTimestamp set to new value
-
def
withFinalizers(value: Seq[String]): ObjectMeta
Returns a new data with finalizers set to new value
-
def
withGenerateName(value: String): ObjectMeta
Returns a new data with generateName set to new value
-
def
withGeneration(value: Long): ObjectMeta
Returns a new data with generation set to new value
-
def
withLabels(value: Map[String, String]): ObjectMeta
Returns a new data with labels set to new value
-
def
withManagedFields(value: Seq[ManagedFieldsEntry]): ObjectMeta
Returns a new data with managedFields set to new value
-
def
withName(value: String): ObjectMeta
Returns a new data with name set to new value
-
def
withNamespace(value: String): ObjectMeta
Returns a new data with namespace set to new value
-
def
withOwnerReferences(value: Seq[OwnerReference]): ObjectMeta
Returns a new data with ownerReferences set to new value
-
def
withResourceVersion(value: String): ObjectMeta
Returns a new data with resourceVersion set to new value
-
def
withSelfLink(value: String): ObjectMeta
Returns a new data with selfLink set to new value
-
def
withUid(value: String): ObjectMeta
Returns a new data with uid set to new value