// SPDX-License-Identifier: Apache-2.0
/**
 * Options for uninstalling a Helm chart.
 */
export class UnInstallChartOptions {
    _namespace;
    _kubeContext;
    constructor(namespace, kubeContext) {
        this._namespace = namespace;
        this._kubeContext = kubeContext;
    }
    /**
     * Gets the namespace where the release should be uninstalled.
     * @returns The namespace or undefined if not set.
     */
    get namespace() {
        return this._namespace;
    }
    /**
     * Gets the Kubernetes context to use.
     * @returns The Kubernetes context or undefined if not set.
     */
    get kubeContext() {
        return this._kubeContext;
    }
    /**
     * Applies the options to the given builder.
     * @param builder The builder to apply the options to.
     */
    apply(builder) {
        if (this._namespace) {
            builder.argument('namespace', this._namespace);
        }
        if (this._kubeContext) {
            builder.argument('kube-context', this._kubeContext);
        }
    }
}
//# sourceMappingURL=un-install-chart-options.js.map