class Pyrite::Api::Coordination::V1::LeaseSpec
Overview
LeaseSpec is a specification of a Lease.
Defined in:
versions/v1.14/api/coordination/v1/lease_spec.crConstructors
-
.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
LeaseSpec is a specification of a Lease.
-
.new(pull : JSON::PullParser)
LeaseSpec is a specification of a Lease.
- .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 methods inherited from class Pyrite::Kubernetes::Spec
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(pull : JSON::PullParser) new
Constructor Detail
def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
#
LeaseSpec is a specification of a Lease.
def self.new(*, acquire_time : Time? = nil, holder_identity : String? = nil, lease_duration_seconds : Int32? = nil, lease_transitions : Int32? = nil, renew_time : Time? = nil)
#