@hashgraph/solo
Version:
An opinionated CLI tool to deploy and manage private Hedera Networks.
62 lines (61 loc) • 2.82 kB
TypeScript
import { type NamespaceName } from '../types/namespace/namespace-name.js';
import { type ClusterReferenceName, type Context, type DeploymentName } from './../types/index.js';
import { type PodName } from '../integration/kube/resources/pod/pod-name.js';
import { type NodeAlias, type NodeId } from '../types/aliases.js';
import { NetworkNodeServices } from './network-node-services.js';
export declare class NetworkNodeServicesBuilder {
readonly nodeAlias: NodeAlias;
namespace: NamespaceName;
clusterRef: ClusterReferenceName;
context: Context;
deployment: DeploymentName;
nodeId: NodeId;
haProxyName: string;
accountId: string;
haProxyClusterIp: string;
envoyProxyGrpcWebPort: number;
envoyProxyLoadBalancerIp: string;
haProxyLoadBalancerIp: string;
haProxyGrpcPort: number;
haProxyGrpcsPort: number;
haProxyAppSelector: string;
haProxyPodName: PodName;
nodeServiceName: string;
nodeServiceClusterIp: string;
nodeServiceGrpcsPort: number;
envoyProxyClusterIp: string;
envoyProxyName: string;
nodeServiceLoadBalancerIp: string;
nodeServiceGossipPort: number;
nodeServiceGrpcPort: number;
externalAddress: string;
nodePodName: PodName;
constructor(nodeAlias: NodeAlias);
withNamespace(namespace: NamespaceName): this;
withClusterRef(clusterReference: ClusterReferenceName): this;
withContext(context: Context): this;
withDeployment(deployment: DeploymentName): this;
withNodeId(nodeId: NodeId): this;
withAccountId(accountId: string): this;
withHaProxyName(haProxyName: string): this;
withHaProxyClusterIp(haProxyClusterIp: string): this;
withHaProxyLoadBalancerIp(haProxyLoadBalancerIp: string | undefined): this;
withHaProxyGrpcPort(haProxyGrpcPort: number): this;
withHaProxyGrpcsPort(haProxyGrpcsPort: number): this;
withHaProxyAppSelector(haProxyAppSelector: string): this;
withHaProxyPodName(haProxyPodName: PodName): this;
withNodePodName(nodePodName: PodName): this;
withNodeServiceName(nodeServiceName: string): this;
withNodeServiceClusterIp(nodeServiceClusterIp: string): this;
withNodeServiceLoadBalancerIp(nodeServiceLoadBalancerIp: string): this;
withNodeServiceGossipPort(nodeServiceGossipPort: number): this;
withNodeServiceGrpcPort(nodeServiceGrpcPort: number): this;
withNodeServiceGrpcsPort(nodeServiceGrpcsPort: number): this;
withEnvoyProxyName(envoyProxyName: string): this;
withEnvoyProxyClusterIp(envoyProxyClusterIp: string | undefined): this;
withEnvoyProxyLoadBalancerIp(envoyProxyLoadBalancerIp?: string): this;
withEnvoyProxyGrpcWebPort(envoyProxyGrpcWebPort: number): this;
withExternalAddress(externalAddress: string): this;
build(): NetworkNodeServices;
key(): NodeAlias;
}