LeaseSpec

io.k8s.api.coordination.v1.LeaseSpec
See theLeaseSpec companion object
final case class LeaseSpec(leaseTransitions: Option[Int], holderIdentity: Option[String], leaseDurationSeconds: Option[Int], renewTime: Option[MicroTime], acquireTime: Option[MicroTime])

LeaseSpec is a specification of a Lease.

Attributes

Companion:
object
Source:
LeaseSpec.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

if acquireTime has a value, transforms to the result of function

if acquireTime has a value, transforms to the result of function

Attributes

Source:
LeaseSpec.scala

if holderIdentity has a value, transforms to the result of function

if holderIdentity has a value, transforms to the result of function

Attributes

Source:
LeaseSpec.scala

if leaseDurationSeconds has a value, transforms to the result of function

if leaseDurationSeconds has a value, transforms to the result of function

Attributes

Source:
LeaseSpec.scala

if leaseTransitions has a value, transforms to the result of function

if leaseTransitions has a value, transforms to the result of function

Attributes

Source:
LeaseSpec.scala

if renewTime has a value, transforms to the result of function

if renewTime has a value, transforms to the result of function

Attributes

Source:
LeaseSpec.scala

Returns a new data with acquireTime set to new value

Returns a new data with acquireTime set to new value

Attributes

Source:
LeaseSpec.scala

Returns a new data with holderIdentity set to new value

Returns a new data with holderIdentity set to new value

Attributes

Source:
LeaseSpec.scala

Returns a new data with leaseDurationSeconds set to new value

Returns a new data with leaseDurationSeconds set to new value

Attributes

Source:
LeaseSpec.scala

Returns a new data with leaseTransitions set to new value

Returns a new data with leaseTransitions set to new value

Attributes

Source:
LeaseSpec.scala

Returns a new data with renewTime set to new value

Returns a new data with renewTime set to new value

Attributes

Source:
LeaseSpec.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product