case class Binding(metadata: Optional[ObjectMeta] = Optional.Absent, target: ObjectReference) extends Product with Serializable
Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Binding
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Binding(metadata: Optional[ObjectMeta] = Optional.Absent, target: ObjectReference)
Value Members
-
def
getMetadata: IO[K8sFailure, ObjectMeta]
Gets metadata.
Gets metadata.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getTarget: IO[K8sFailure, ObjectReference]
Gets target.
Gets target.
This effect always succeeds, it is safe to use the field target directly.
- val metadata: Optional[ObjectMeta]
- val target: ObjectReference