Lease

final case class Lease(metadata: Option[ObjectMeta], spec: Option[LeaseSpec]) extends KObject

Lease defines a lease concept.

Source:
Lease.scala
trait KObject
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

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

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

Source:
Lease.scala

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

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

Source:
Lease.scala

Returns a new data with metadata set to new value

Returns a new data with metadata set to new value

Source:
Lease.scala
def withSpec(value: LeaseSpec): Lease

Returns a new data with spec set to new value

Returns a new data with spec set to new value

Source:
Lease.scala

Inherited methods

final def group: String
Inherited from:
KObject
Source:
ResourceKind.scala
Inherited from:
Product

Inherited fields

final lazy val apiVersion: String
Inherited from:
KObject
Source:
ResourceKind.scala
final lazy val kind: String
Inherited from:
KObject
Source:
ResourceKind.scala
final lazy val version: String
Inherited from:
KObject
Source:
ResourceKind.scala