helm

package
v1.60.4 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertJSONToYAML

func ConvertJSONToYAML(jsonBytes []byte) ([]byte, error)

func ConvertYAMLToJSON

func ConvertYAMLToJSON(yamlBytes []byte) ([]byte, error)

func GetModulesImages added in v1.39.0

func GetModulesImages() map[string]interface{}

func ManifestStringToUnstructed added in v1.49.0

func ManifestStringToUnstructed(doc string) *unstructured.Unstructured

Types

type Config

type Config struct {
	RenderError     error
	ValuesValidator *values_validation.ValuesValidator
	// contains filtered or unexported fields
}

func SetupHelmConfig

func SetupHelmConfig(values string) *Config

func (*Config) HelmRender

func (hec *Config) HelmRender(options ...Option)

func (*Config) KubernetesGlobalResource

func (hec *Config) KubernetesGlobalResource(kind, name string) object_store.KubeObject

func (*Config) KubernetesResource

func (hec *Config) KubernetesResource(kind, namespace, name string) object_store.KubeObject

func (Config) ValuesGet

func (hec Config) ValuesGet(path string) library.KubeResult

func (*Config) ValuesSet

func (hec *Config) ValuesSet(path string, value interface{})

func (*Config) ValuesSetFromYaml

func (hec *Config) ValuesSetFromYaml(path, value string)

type Option added in v1.38.0

type Option func(options *configOptions)

func WithFilteredRenderOutput added in v1.38.0

func WithFilteredRenderOutput(m map[string]string, filter string) Option

WithFilteredRenderOutput same as WithRenderOutput but filters files which contain `filter` pattern

func WithRenderOutput added in v1.38.0

func WithRenderOutput(m map[string]string) Option

WithRenderOutput output rendered files in a format: $filename: $renderedTemplates (splitted with ---)

Jump to

Keyboard shortcuts

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