Documentation ¶
Overview ¶
Package helm provides utilities for helm
Index ¶
- func ActionConfig(namespace string, debugLog action.DebugLog) *helm.Configuration
- func ApplyManifest(dynamicClient dynamic.Interface, mapper meta.RESTMapper, manifest string) error
- func ApplyYAMLs(dynamicClient dynamic.Interface, mapper meta.RESTMapper, manifests string, ...) error
- func DeleteManifest(dynamicClient dynamic.Interface, mapper meta.RESTMapper, manifest string) error
- func MergeMaps(a, b map[string]interface{}) map[string]interface{}
- func ReadFile(filePath string) ([]byte, error)
- func RenderChart(templateClient *helm.Install, object metav1.Object, chartSource []byte, ...) (ctrl.Result, error)
- func TemplateClient(cfg *helm.Configuration, releaseName, namespace string, ...) *helm.Install
- type YAMLHandlerFunc
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 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 MergeMaps ¶
MergeMaps merges two maps together, with the values in the second map taking precedence.
func ReadFile ¶ added in v1.3.0
ReadFile load a file from stdin, the local directory, or a remote file with a url.
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
Click to show internal directories.
Click to hide internal directories.