@storm-software/k8s-tools
Version:
Tools for managing Kubernetes (k8s) infrastructure within a Nx workspace.
36 lines (33 loc) • 924 B
text/typescript
import { AbstractHelmClient, PackageOptions, PushOptions } from '../types.mjs';
import 'prettier';
/** Helm wrapper class */
declare class HelmClient extends AbstractHelmClient {
/**
* Creates an instance of HelmClient
*/
constructor();
/**
* Package a chart directory into a chart archive
*
* @param {PackageOptions} [options]
*/
package(options: PackageOptions): Promise<string | undefined>;
push(options: PushOptions): void;
dependencyUpdate(chartFolder: string): void;
dependencyBuild(chartFolder: string): void;
addRepository(name: string, url: string): void;
/**
* Initialize Helm
*
* @returns A promise
*/
initialize(): Promise<void>;
private runCommand;
}
/**
* Create a new Helm client instance
*
* @returns {HelmClient}
*/
declare const createHelmClient: () => HelmClient;
export { HelmClient, createHelmClient };