@hashgraph/solo
Version:
An opinionated CLI tool to deploy and manage private Hedera Networks.
35 lines (34 loc) • 778 B
TypeScript
import { type NamespaceName } from '../../../../types/namespace/namespace-name.js';
/**
* Represents a Kubernetes Lease
*/
export interface Lease {
/**
* The namespace of the lease
*/
readonly namespace: NamespaceName;
/**
* The name of the lease
*/
readonly leaseName: string;
/**
* The identity of the lease-holder
*/
readonly holderIdentity: string;
/**
* The duration of the lease in seconds
*/
readonly durationSeconds: number;
/**
* The time the lease was acquired
*/
readonly acquireTime?: Date;
/**
* The time the lease was renewed
*/
readonly renewTime?: Date;
/**
* The resource version of the lease
*/
readonly resourceVersion?: string;
}