class K8S::Api::Coordination::V1::LeaseSpec
- K8S::Api::Coordination::V1::LeaseSpec
- Reference
- Object
Overview
LeaseSpec is a specification of a Lease.
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.22/api/coordination/v1/lease_spec.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, acquire_time : Time? = nil, holder_identity : String? = nil, lease_duration_seconds : Int32? = nil, lease_transitions : Int32? = nil, renew_time : Time? = nil)
Instance Method Summary
- #acquire_time : Time?
- #acquire_time=(acquire_time : Time?)
- #holder_identity : String?
- #holder_identity=(holder_identity : String?)
- #lease_duration_seconds : Int32?
- #lease_duration_seconds=(lease_duration_seconds : Int32?)
- #lease_transitions : Int32?
- #lease_transitions=(lease_transitions : Int32?)
- #renew_time : Time?
- #renew_time=(renew_time : Time?)
Constructor Detail
def self.new(*, acquire_time : Time? = nil, holder_identity : String? = nil, lease_duration_seconds : Int32? = nil, lease_transitions : Int32? = nil, renew_time : Time? = nil)
#