utils

package
v1.4.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package utils provides utility functions for the Helm.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MergeVals

func MergeVals(
	helmFlagOpts values.Options,
	helmMapOpts map[string]string,
) (map[string]interface{}, error)

MergeVals merges all values from flag options ('helmFlagOpts') and auto-generated helm options based on environment ('helmMapOpts'), and returns a single map with all of these options merged. 'helmMapOpts' can be nil.

func SetupEverestDevChart

func SetupEverestDevChart(l *zap.SugaredLogger, path *string) (func(), error)

SetupEverestDevChart sets up the development chart for Everest. Returns a clean-up function that should be called when the chart is no longer needed.

func YAMLStringsToBytes

func YAMLStringsToBytes(strs []string) []byte

YAMLStringsToBytes converts a slice of YAML strings to a single byte slice.

Types

This section is empty.

Jump to

Keyboard shortcuts

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