Interface HelmExecProvider

  • All Implemented Interfaces:

    
    public interface HelmExecProvider
    
                        

    Provides a context to execute Helm CLI commands.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit execHelm(String command, String subcommand, Action<HelmExecSpec> action) Executes a Helm CLI command.
      abstract String execHelmCaptureOutput(String command, String subcommand, Action<HelmExecSpec> action) Executes a Helm CLI command, and captures its output.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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 command
        subcommand - optionally, the name of the subcommand
        action - an Action that further customizes the CLI invocation
        Returns:

        a String containing the captured standard output