class Pyrite::Api::Coordination::V1::LeaseSpec

Overview

LeaseSpec is a specification of a Lease.

Defined in:

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

Constructors

Instance Method Summary

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(pull : JSON::PullParser) #

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) #

Instance Method Detail

def acquire_time : Time? #

def acquire_time=(acquire_time : Time?) #

def holder_identity : String? #

def holder_identity=(holder_identity : String?) #

def lease_duration_seconds : Int32? #

def lease_duration_seconds=(lease_duration_seconds : Int32?) #

def lease_transitions : Int32? #

def lease_transitions=(lease_transitions : Int32?) #

def renew_time : Time? #

def renew_time=(renew_time : Time?) #