common

package
v0.0.0-...-b43bd29 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0, MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const TmpResourceData = "data.yml"

Variables

This section is empty.

Functions

func ApplyKustomization

func ApplyKustomization(
	manifests map[string][]byte,
	overrideKustomization *kustomize.Kustomization,
) ([]*unstructured.Unstructured, error)

ApplyKustomization applies kustomizations to given set of manifests and returns a resulting set of manifests parsed into unstructured.Unstructured.

func InitialManifests

func InitialManifests(upstream embed.FS) (map[string]map[string][]byte, error)

ParseManifests parses embedded manifests and then applies default kustomizations. The result is a map with keys being directories in the resulting filesystem, and values being byte blobs containing parsed manifests.

Types

This section is empty.

Jump to

Keyboard shortcuts

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