Module coordination/v1beta1

@pulumi/kubernetes > coordination > v1beta1

Index

types/input.ts types/output.ts

function isLease

isLease(o: any): boolean

function isLeaseList

isLeaseList(o: any): boolean

interface Lease

Lease defines a lease concept.

property apiVersion

apiVersion: string;

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/api-conventions.md#resources

property kind

kind: string;

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/api-conventions.md#types-kinds

property metadata

metadata: ObjectMeta;

More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata

property spec

spec: LeaseSpec;

Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status

interface LeaseList

LeaseList is a list of Lease objects.

property apiVersion

apiVersion: string;

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/api-conventions.md#resources

property items

items: Lease[];

Items is a list of schema objects.

property kind

kind: string;

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/api-conventions.md#types-kinds

property metadata

metadata: ListMeta;

Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata

interface LeaseSpec

LeaseSpec is a specification of a Lease.

property acquireTime

acquireTime: string;

acquireTime is a time when the current lease was acquired.

property holderIdentity

holderIdentity: string;

holderIdentity contains the identity of the holder of a current lease.

property leaseDurationSeconds

leaseDurationSeconds: number;

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.

property leaseTransitions

leaseTransitions: number;

leaseTransitions is the number of transitions of a lease between holders.

property renewTime

renewTime: string;

renewTime is a time when the current holder of a lease has last updated the lease.