Globals / "src/main/helm/helm-cli" / HelmCli
Class: HelmCli#
Hierarchy#
↳ HelmCli
Index#
Constructors#
Properties#
- arch
- binaryName
- binaryVersion
- directory
- dirname
- logger
- originalBinaryName
- path
- platformName
- requestOpts
- tarPath
- url
Methods#
- binDir
- binaryDir
- binaryPath
- checkBinary
- downloadBinary
- ensureBinary
- getBinaryDir
- getBinaryPath
- getOriginalBinaryPath
- getTarName
- getUrl
- renameBinary
- setLogger
- untarBinary
Constructors#
constructor#
+ new HelmCli(baseDir: string, version: string): HelmCli
Overrides LensBinary.constructor
Defined in src/main/helm/helm-cli.ts:6
Parameters:
| Name | Type |
|---|---|
baseDir |
string |
version |
string |
Returns: HelmCli
Properties#
arch#
• Protected arch: string
Inherited from LensBinary.arch
Defined in src/main/lens-binary.ts:27
binaryName#
• Protected binaryName: string
Inherited from LensBinary.binaryName
Defined in src/main/lens-binary.ts:25
binaryVersion#
• binaryVersion: string
Inherited from LensBinary.binaryVersion
Defined in src/main/lens-binary.ts:19
directory#
• Protected directory: string
Inherited from LensBinary.directory
Defined in src/main/lens-binary.ts:20
dirname#
• Protected dirname: string
Inherited from LensBinary.dirname
Defined in src/main/lens-binary.ts:24
logger#
• Protected logger: Console | Logger
Inherited from LensBinary.logger
Defined in src/main/lens-binary.ts:30
originalBinaryName#
• Protected originalBinaryName: string
Inherited from LensBinary.originalBinaryName
Defined in src/main/lens-binary.ts:28
path#
• Protected path: string
Inherited from LensBinary.path
Defined in src/main/lens-binary.ts:22
platformName#
• Protected platformName: string
Inherited from LensBinary.platformName
Defined in src/main/lens-binary.ts:26
requestOpts#
• Protected requestOpts: request.Options
Inherited from LensBinary.requestOpts
Defined in src/main/lens-binary.ts:29
tarPath#
• Protected tarPath: string
Inherited from LensBinary.tarPath
Defined in src/main/lens-binary.ts:23
url#
• Protected url: string
Inherited from LensBinary.url
Defined in src/main/lens-binary.ts:21
Methods#
binDir#
▸ binDir(): Promise\
Inherited from LensBinary.binDir
Defined in src/main/lens-binary.ts:96
Returns: Promise\
binaryDir#
▸ ProtectedbinaryDir(): void
Inherited from LensBinary.binaryDir
Defined in src/main/lens-binary.ts:67
Returns: void
binaryPath#
▸ binaryPath(): Promise\
Inherited from LensBinary.binaryPath
Defined in src/main/lens-binary.ts:71
Returns: Promise\
checkBinary#
▸ ProtectedcheckBinary(): Promise\
Inherited from LensBinary.checkBinary
Defined in src/main/lens-binary.ts:106
Returns: Promise\
downloadBinary#
▸ ProtecteddownloadBinary(): Promise\
Inherited from LensBinary.downloadBinary
Defined in src/main/lens-binary.ts:149
Returns: Promise\
ensureBinary#
▸ ensureBinary(): Promise\
Inherited from LensBinary.ensureBinary
Defined in src/main/lens-binary.ts:111
Returns: Promise\
getBinaryDir#
▸ getBinaryDir(): string
Inherited from LensBinary.getBinaryDir
Defined in src/main/lens-binary.ts:92
Returns: string
getBinaryPath#
▸ ProtectedgetBinaryPath(): string
Overrides LensBinary.getBinaryPath
Defined in src/main/helm/helm-cli.ts:26
Returns: string
getOriginalBinaryPath#
▸ ProtectedgetOriginalBinaryPath(): string
Overrides LensBinary.getOriginalBinaryPath
Defined in src/main/helm/helm-cli.ts:30
Returns: string
getTarName#
▸ ProtectedgetTarName(): string | null
Overrides LensBinary.getTarName
Defined in src/main/helm/helm-cli.ts:18
Returns: string | null
getUrl#
▸ ProtectedgetUrl(): string
Overrides LensBinary.getUrl
Defined in src/main/helm/helm-cli.ts:22
Returns: string
renameBinary#
▸ ProtectedrenameBinary(): Promise\
Inherited from LensBinary.renameBinary
Defined in src/main/lens-binary.ts:135
Returns: Promise\
setLogger#
▸ setLogger(logger: Console | Logger): void
Inherited from LensBinary.setLogger
Defined in src/main/lens-binary.ts:63
Parameters:
| Name | Type |
|---|---|
logger |
Console | Logger |
Returns: void
untarBinary#
▸ ProtecteduntarBinary(): Promise\
Inherited from LensBinary.untarBinary
Defined in src/main/lens-binary.ts:123
Returns: Promise\