class K8S::Api::Coordination::V1::LeaseSpec

Overview

LeaseSpec is a specification of a Lease.

Included Modules

Defined in:

versions/v1.15/api/coordination/v1/lease_spec.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, acquire_time : Time? = nil, holder_identity : String? = nil, lease_duration_seconds : Int32? = nil, lease_transitions : Int32? = nil, renew_time : Time? = nil) #

[View source]

Instance Method Detail

def acquire_time : Time? #

[View source]
def acquire_time=(acquire_time : Time?) #

[View source]
def holder_identity : String? #

[View source]
def holder_identity=(holder_identity : String?) #

[View source]
def lease_duration_seconds : Int32? #

[View source]
def lease_duration_seconds=(lease_duration_seconds : Int32?) #

[View source]
def lease_transitions : Int32? #

[View source]
def lease_transitions=(lease_transitions : Int32?) #

[View source]
def renew_time : Time? #

[View source]
def renew_time=(renew_time : Time?) #

[View source]