Interface HelmExecProvider
-
- All Implemented Interfaces:
public interface HelmExecProviderProvides a context to execute Helm CLI commands.
-
-
Method Summary
Modifier and Type Method Description abstract UnitexecHelm(String command, String subcommand, Action<HelmExecSpec> action)Executes a Helm CLI command. abstract StringexecHelmCaptureOutput(String command, String subcommand, Action<HelmExecSpec> action)Executes a Helm CLI command, and captures its output. -
-
Method Detail
-
execHelm
abstract Unit execHelm(String command, String subcommand, Action<HelmExecSpec> action)
Executes a Helm CLI command.
- Parameters:
command- the name of the command (e.g.subcommand- optionally, the name of the subcommand (e.g.action- an optional Action that further customizes the CLI invocation
-
execHelmCaptureOutput
abstract String execHelmCaptureOutput(String command, String subcommand, Action<HelmExecSpec> action)
Executes a Helm CLI command, and captures its output.
- Parameters:
command- the name of the commandsubcommand- optionally, the name of the subcommandaction- an Action that further customizes the CLI invocation- Returns:
a String containing the captured standard output
-
-
-
-