exec

package
v0.0.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package exec is the HelmClient that runs the helm binary through a CommandRunner.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client runs helm in the codebase root.

func New

func New(runner interfaces.CommandRunner, root string) *Client

New returns the Client running helm in root through runner. It does no I/O.

func (*Client) DependencyBuild

func (c *Client) DependencyBuild(ctx context.Context, chartDir string) error

DependencyBuild runs `helm dependency build <chart>`.

func (*Client) Lint

func (c *Client) Lint(ctx context.Context, spec types.RenderSpec) error

Lint runs `helm lint <chart> [--namespace] [-f …] [--set …]`.

func (*Client) Template

func (c *Client) Template(ctx context.Context, spec types.RenderSpec) ([]byte, error)

Template runs `helm template <release> <chart> [--namespace] [-f …] [--set …]`.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL