helm

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: MPL-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package helm provides functions to install and uninstall the MarbleRun Helm chart.

Index

Constants

View Source
const (
	CoordinatorDeployment = "marblerun-coordinator"
	InjectorDeployment    = "marble-injector"
	Namespace             = "marblerun"
)

Helm constants.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client provides functionality to install and uninstall Helm charts.

func New

func New() (*Client, error)

New initializes a new helm client.

func (*Client) GetChart

func (c *Client) GetChart(chartPath, version string, enterpriseRelease bool) (*chart.Chart, error)

GetChart loads the helm chart from the given path or from the edgeless helm repo. This will add the edgeless helm repo if it is not already present on disk.

func (*Client) Install

func (c *Client) Install(ctx context.Context, wait bool, chart *chart.Chart, values map[string]interface{}) error

Install installs MarbleRun using the provided chart and values.

func (*Client) Uninstall

func (c *Client) Uninstall(wait bool) error

Uninstall removes the MarbleRun deployment from the cluster.

func (*Client) UpdateValues

func (c *Client) UpdateValues(options Options, chartValues map[string]interface{}) (map[string]interface{}, error)

UpdateValues merges the provided options with the default values of the chart.

type Options

type Options struct {
	Hostname            string
	DCAPQPL             string
	PCCSURL             string
	UseSecureCert       string
	AccessToken         string
	SGXResourceKey      string
	WebhookSettings     []string
	SimulationMode      bool
	CoordinatorRESTPort int
	CoordinatorGRPCPort int
}

Jump to

Keyboard shortcuts

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