Constructors
Methods
addRepo
- addRepo(name: string, url: string, forceUpdateArg: string): Promise<string>
Parameters
- name: string
- url: string
- forceUpdateArg: string
Returns Promise<string>
getInstalledCharts
- getInstalledCharts(namespaceName: string): Promise<string[]>
Returns Promise<string[]>
install
- install(
namespaceName: string,
chartReleaseName: string,
chartPath: string,
version: string,
valuesArg?: string,
): Promise<boolean> Parameters
- namespaceName: string
- chartReleaseName: string
- chartPath: string
- version: string
- valuesArg: string = ''
Returns Promise<boolean>
isChartInstalled
- isChartInstalled(
namespaceName: string,
chartReleaseName: string,
): Promise<boolean> Parameters
- namespaceName: string
- chartReleaseName: string
Returns Promise<boolean>
setup
- setup(repoURLs?: Map<string, string>, force?: boolean): Promise<string[]>
Parameters
- repoURLs: Map<string, string> = constants.DEFAULT_CHART_REPO
- force: boolean = true
Returns Promise<string[]>
the urls
uninstall
- uninstall(namespaceName: string, chartReleaseName: string): Promise<boolean>
Parameters
- namespaceName: string
- chartReleaseName: string
Returns Promise<boolean>
upgrade
- upgrade(
namespaceName: string,
chartReleaseName: string,
chartPath: string,
version?: string,
valuesArg?: string,
): Promise<boolean> Parameters
- namespaceName: string
- chartReleaseName: string
- chartPath: string
- version: string = ''
- valuesArg: string = ''
Returns Promise<boolean>
List available clusters