util

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MergeMaps

func MergeMaps(a, b map[string]interface{}) map[string]interface{}

MergeMaps merges map b into given map a and returns the result. It allows overwrites of map values with flat values, and vice versa. This is copied from https://github.com/helm/helm/blob/v3.3.0/pkg/cli/values/options.go#L88, as the public chartutil.CoalesceTables function does not allow overwriting maps with flat values.

func ReleaseRevision

func ReleaseRevision(rel *release.Release) int

ReleaseRevision returns the revision of the given release.Release.

func ValuesChecksum

func ValuesChecksum(values chartutil.Values) string

ValuesChecksum calculates and returns the SHA1 checksum for the given chartutil.Values.

Types

This section is empty.

Jump to

Keyboard shortcuts

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