@hashgraph/solo
Version:
An opinionated CLI tool to deploy and manage private Hedera Networks.
36 lines (28 loc) • 789 B
text/typescript
// SPDX-License-Identifier: Apache-2.0
import {Exclude, Expose} from 'class-transformer';
export class ClusterSchema {
public name: string;
public namespace: string;
public deployment: string;
public dnsBaseDomain: string;
public dnsConsensusNodePattern: string;
public constructor(
name?: string,
namespace?: string,
deployment?: string,
dnsBaseDomain?: string,
dnsConsensusNodePattern?: string,
) {
this.name = name ?? '';
this.namespace = namespace ?? '';
this.deployment = deployment ?? '';
this.dnsBaseDomain = dnsBaseDomain ?? 'cluster.local';
this.dnsConsensusNodePattern = dnsConsensusNodePattern ?? 'network-{nodeAlias}-svc.{namespace}.svc';
}
}