package v1
- Alphabetic
- Public
- Protected
Type Members
- case class Lease(apiVersion: Option[String] = None, kind: Option[String] = None, metadata: Option[ObjectMeta] = None, spec: Option[LeaseSpec] = None) extends Product with Serializable
Lease defines a lease concept.
Lease defines a lease concept.
- apiVersion
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
- kind
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
- metadata
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
- spec
Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
- case class LeaseList(items: Seq[Lease], apiVersion: Option[String] = None, kind: Option[String] = None, metadata: Option[ListMeta] = None) extends Product with Serializable
LeaseList is a list of Lease objects.
LeaseList is a list of Lease objects.
- items
Items is a list of schema objects.
- apiVersion
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
- kind
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
- metadata
Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
- case class LeaseSpec(acquireTime: Option[MicroTime] = None, holderIdentity: Option[String] = None, leaseDurationSeconds: Option[Int] = None, leaseTransitions: Option[Int] = None, renewTime: Option[MicroTime] = None) extends Product with Serializable
LeaseSpec is a specification of a Lease.
LeaseSpec is a specification of a Lease.
- acquireTime
acquireTime is a time when the current lease was acquired.
- holderIdentity
holderIdentity contains the identity of the holder of a current lease.
- leaseDurationSeconds
leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.
- leaseTransitions
leaseTransitions is the number of transitions of a lease between holders.
- renewTime
renewTime is a time when the current holder of a lease has last updated the lease.
Value Members
- object Lease extends Serializable
- object LeaseList extends Serializable
- object LeaseSpec extends Serializable