Class HelmCommand.Template

    • Method Detail

      • newInstance

        public HelmCommand.Template newInstance​(String helm,
                                                Arguments arguments,
                                                Arguments flags,
                                                EnvironmentVariables env)
        Description copied from interface: CLI
        Create a new instance of this Helm command.
        arguments - the command arguments
        flags - the command flags
        env - the environment variables
        Returns:
        a new instance of this command
      • create

        public HelmCreate create​(String name)
        Create a new chart with the given name.
        Parameters:
        name - the name of the chart to create
      • delete

        public HelmDelete delete​(String name)
        Given a release name, delete the release from Kubernetes.
        Parameters:
        name - the release to delete
      • dependencyBuild

        public HelmDependencyBuild dependencyBuild​(String chart)
        Manage a chart's dependencies - rebuild the charts/ directory based on the requirements.lock file.
        Parameters:
        chart - the chart name
      • dependencyList

        public HelmDependencyList dependencyList​(String chart)
        Manage a chart's dependencies - list the dependencies for the given chart.
        Parameters:
        chart - the chart name
      • dependencyUpdate

        public HelmDependencyUpdate dependencyUpdate​(String chart)
        Manage a chart's dependencies - update charts/ based on the contents of requirements.yaml.
        Parameters:
        chart - the chart name
      • fetch

        public HelmFetch fetch​(String... charts)
        Download a chart from a repository and (optionally) unpack it in local directory.
        Parameters:
        charts - the charts to download
      • get

        public HelmGet get​(String releaseName)
        Download a named release.
      • getHooks

        public HelmGetHooks getHooks​(String releaseName)
        Download all hooks for a named release.
        Parameters:
        releaseName - the name of the release
      • getManifest

        public HelmGetManifest getManifest​(String releaseName)
        Download the manifest for a named release.
        Parameters:
        releaseName - the name of the release
      • getValues

        public HelmGetValues getValues​(String releaseName)
        Download all values file for a named release.
        Parameters:
        releaseName - the name of the release
      • history

        public HelmHistory history​(String releaseName)
        Fetch release history.
        Parameters:
        releaseName - the name of the release
      • init

        public HelmInit init()
        Initialize Helm on both client and server.
      • inspect

        public HelmInspect inspect​(String chart)
        Create a Helm inspect command.
        Parameters:
        chart - the chart to inspect
      • inspect

        public HelmInspect inspect​(File chart)
        Create a Helm inspect command.
        Parameters:
        chart - the chart to inspect
      • inspect

        public HelmInspect inspect​(URL chart)
        Create a Helm inspect command.
        Parameters:
        chart - the chart to inspect
      • install

        public HelmInstall install​(String chart)
        Install a chart archive.
        Parameters:
        chart - the name of the chart
      • install

        public HelmInstall install​(File chart)
        Install a chart archive.
        Parameters:
        chart - the name of the chart
      • install

        public HelmInstall install​(File directory,
                                   String chart)
        Install a chart archive.
        Parameters:
        directory - the directory containing the chart directory
        chart - the name of the chart
      • lint

        public HelmLint lint​(String chart)
        Examines a chart for possible issues.
        Parameters:
        chart - the name of the chart
      • lint

        public HelmLint lint​(File chart)
        Examines a chart for possible issues.
        Parameters:
        chart - the name of the chart
      • lint

        public HelmLint lint​(File directory,
                             String chart)
        Examines a chart for possible issues.
        Parameters:
        directory - the directory containing the chart directory
        chart - the name of the chart
      • list

        public HelmList list()
        List releases.
      • list

        public HelmList list​(String filter)
        List releases with a filter.
        Parameters:
        filter - the Helm list command's filter argument
      • rollback

        public HelmRollback rollback​(String release,
                                     String revision)
        Roll back a release to a previous revision.
        Parameters:
        release - the name of the release
        revision - the revision to rollback to
      • status

        public HelmStatus status​(String release)
        Displays the status of the named release.
        Parameters:
        release - the name of the release to test
      • test

        public HelmTest test​(String release)
        Test a release.
        Parameters:
        release - the name of the release to test
      • upgrade

        public HelmUpgrade upgrade​(String release,
                                   String chart)
        Upgrade a release.
        Parameters:
        release - the name of the release to be upgraded
        chart - the name of the chart to use to upgrade the release
      • upgrade

        public HelmUpgrade upgrade​(String release,
                                   File chart)
        Upgrade a release.
        Parameters:
        release - the name of the release to be upgraded
        chart - the name of the chart to use to upgrade the release