io.k8s.api.coordination.v1alpha2.LeaseCandidate
See theLeaseCandidate companion object
final case class LeaseCandidate(metadata: Option[ObjectMeta], spec: Option[LeaseCandidateSpec]) extends KObject
LeaseCandidate defines a candidate for a Lease object. Candidates are created such that coordinated leader election will pick the best leader from the list of candidates.
Attributes
- Companion
- object
- Source
- LeaseCandidate.scala
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Attributes
- Definition Classes
- Source
- LeaseCandidate.scala
if metadata has a value, transforms to the result of function
if metadata has a value, transforms to the result of function
Attributes
- Source
- LeaseCandidate.scala
if spec has a value, transforms to the result of function
Returns a new data with metadata set to new value
Returns a new data with spec set to new value
Inherited methods
Attributes
- Inherited from:
- KObject
- Source
- ResourceKind.scala
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Inherited fields
Attributes
- Inherited from:
- KObject
- Source
- ResourceKind.scala
Attributes
- Inherited from:
- KObject
- Source
- ResourceKind.scala
Attributes
- Inherited from:
- KObject
- Source
- ResourceKind.scala
In this article