@hashgraph/solo
Version:
An opinionated CLI tool to deploy and manage private Hedera Networks.
44 lines (43 loc) • 1.57 kB
TypeScript
import { type HelmExecutionBuilder } from '../../execution/helm-execution-builder.js';
import { type Options } from '../options.js';
/**
* Options for upgrading a Helm chart.
*/
export declare class UpgradeChartOptions implements Options {
private readonly _namespace?;
private readonly _kubeContext?;
private readonly _reuseValues;
private readonly _extraArgs?;
private readonly _version?;
constructor(namespace?: string, kubeContext?: string, reuseValues?: boolean, extraArguments?: string, version?: string);
/**
* Gets the namespace where the release should be upgraded.
* @returns The namespace or undefined if not set.
*/
get namespace(): string | undefined;
/**
* Gets the Kubernetes context to use.
* @returns The Kubernetes context or undefined if not set.
*/
get kubeContext(): string | undefined;
/**
* Gets whether to reuse the last release's values.
* @returns True if values should be reused, false otherwise.
*/
get reuseValues(): boolean;
/**
* Gets additional arguments to pass to the helm command.
* @returns The additional arguments or undefined if not set.
*/
get extraArgs(): string | undefined;
/**
* Gets the version of the chart to upgrade to.
* @returns The version or undefined if not set.
*/
get version(): string | undefined;
/**
* Applies the options to the given builder.
* @param builder The builder to apply the options to.
*/
apply(builder: HelmExecutionBuilder): void;
}