UNPKG

@hashgraph/solo

Version:

An opinionated CLI tool to deploy and manage private Hedera Networks.

66 lines (65 loc) 2.98 kB
import { type HelmClient } from '../helm-client.js'; import { type HelmClientBuilder } from '../helm-client-builder.js'; /** * The default implementation of the HelmClientBuilder interface. */ export declare class DefaultHelmClientBuilder implements HelmClientBuilder { /** * The default namespace to be set by the HelmClient. Defaults to a null value which indicates that * the Helm -n <namespace> argument should not be specified. */ private _defaultNamespace?; /** * The working directory to be used by the HelmClient. */ private _workingDirectory?; /** * The kubernetes API server address and port number to which the client should connect. Defaults to a null * value which indicates that the Helm --kube-apiserver <address_and_port> argument should not be specified. */ private _kubeApiServer?; /** * The kubernetes CA certificate file. Defaults to a null value which indicates that the Helm * --kube-ca-file <ca_file> argument should not be specified. */ private _kubeCAFile?; /** * The kubernetes context from the kube config file to be used. Defaults to a null value which indicates * that the Helm --kube-context <context> argument should not be specified. */ private _kubeContext?; /** * Specifies whether the Helm client should skip TLS certificate verification. Defaults to a null value * which indicates that the Helm --kube-insecure-skip-tls-verify <bool> argument should not be specified. */ private _kubeSkipTlsVerification?; /** * The kubernetes server name to use for TLS server certificate validation. Defaults to a null value * which indicates that the Helm --kube-tls-server-name <name> argument should not be specified. */ private _kubeTlsServerName?; /** * The kubernetes bearer token to be used for authentication. Defaults to a null values which indicates that * the Helm --kube-token <token> argument should not be specified. */ private _kubeToken?; /** * The path to the kube config file. Defaults to a null value which indicates that the Helm * --kubeconfig <context> argument should not be specified. */ private _kubeConfig?; /** * Constructs a new builder instance and initializes it with the default configuration. */ constructor(); defaultNamespace(namespace: string): HelmClientBuilder; workingDirectory(workingDirectory: string): HelmClientBuilder; kubeApiServer(kubeApiServer: string): HelmClientBuilder; kubeCAFile(kubeCAFile: string): HelmClientBuilder; kubeContext(kubeContext: string): HelmClientBuilder; kubeSkipTlsVerification(kubeSkipTlsVerification: boolean): HelmClientBuilder; kubeTlsServerName(kubeTlsServerName: string): HelmClientBuilder; kubeToken(kubeToken: string): HelmClientBuilder; kubeConfig(kubeConfig: string): HelmClientBuilder; build(): Promise<HelmClient>; }