manifest

package
v3.11.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2025 License: Apache-2.0 Imports: 18 Imported by: 4

Documentation

Index

Constants

View Source
const (
	Helm2TestSuccessHook = "test-success"
	Helm3TestHook        = "test"
)

Variables

This section is empty.

Functions

func Generate added in v3.10.0

func Generate(actionConfig *action.Configuration, originalManifest, targetManifest []byte) ([]byte, []byte, error)

func Parse

func Parse(manifest string, defaultNamespace string, normalizeManifests bool, excludedHooks ...string) map[string]*MappingResult

Parse parses manifest strings into MappingResult

Types

type MappingResult

type MappingResult struct {
	Name           string
	Kind           string
	Content        string
	ResourcePolicy string
}

MappingResult to store result of diff

func ParseObject added in v3.11.0

func ParseObject(object runtime.Object, defaultNamespace string, excludedHooks ...string) (*MappingResult, string, error)

Jump to

Keyboard shortcuts

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