helm

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Overview

Package helm provides utilities for helm

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActionConfig added in v1.1.1

func ActionConfig(namespace string, debugLog action.DebugLog) *helm.Configuration

func ApplyManifest added in v1.1.1

func ApplyManifest(dynamicClient dynamic.Interface, mapper meta.RESTMapper, manifest string) error

func ApplyYAMLs added in v1.1.1

func ApplyYAMLs(
	dynamicClient dynamic.Interface,
	mapper meta.RESTMapper,
	manifests string,
	handler YAMLHandlerFunc,
	showFiles ...string,
) error

func DeleteManifest added in v1.1.1

func DeleteManifest(dynamicClient dynamic.Interface, mapper meta.RESTMapper, manifest string) error

func RenderChart

func RenderChart(
	templateClient *helm.Install,
	object metav1.Object,
	chartSource []byte,
	mc configurator.Configurator,
	client client.Client,
	scheme *runtime.Scheme,
	resolveValues func(metav1.Object, configurator.Configurator) (map[string]interface{}, error),
) (ctrl.Result, error)

RenderChart renders a chart and returns the rendered manifest

func TemplateClient added in v1.1.1

func TemplateClient(cfg *helm.Configuration, releaseName, namespace string, kubeVersion *chartutil.KubeVersion) *helm.Install

Types

type YAMLHandlerFunc added in v1.1.1

type YAMLHandlerFunc func(dynamicClient dynamic.Interface, mapper meta.RESTMapper, manifest string) error

Jump to

Keyboard shortcuts

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