Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTempDir ¶
CreateTempDir creates a temporary directory on the user's file system for rendering templates
func IsHelm ¶
Checks whether a given path is a helm directory or a path to a Helm Chart (contains/is Chart.yaml)
func IsKustomize ¶
IsKustomize checks whether a given path should be treated as a kustomize project
func RenderHelmChart ¶
func RenderHelmChart(isFile bool, mainChartPath, tempDir string) ([]safeguards.ManifestFile, error)
Given a Helm chart directory or file, renders all templates and writes them to the specified directory
func RenderKustomizeManifest ¶
func RenderKustomizeManifest(kustomizationPath, tempDir string) ([]safeguards.ManifestFile, error)
Given a kustomization manifest file within kustomizationPath, RenderKustomizeManifest will render templates out to tempDir
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.