Documentation
¶
Index ¶
- func PackagesMapForPaths(packages map[string]v1alpha1.Package) map[string]v1alpha1.Package
- func ReadKustomization(targetPath string) (*kustomize.Kustomization, error)
- func SyncAllClusterKustomization(basePath string, modules, addOns map[string]v1alpha1.Package) error
- func SyncClusterKustomization(basePath, clusterPath string, modules, addOns map[string]v1alpha1.Package) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PackagesMapForPaths ¶
PackagesMapForPaths return the package map with key the disk path for kustomize
func ReadKustomization ¶
func ReadKustomization(targetPath string) (*kustomize.Kustomization, error)
ReadKustomization reads a kustomization file given its path
func SyncAllClusterKustomization ¶
func SyncAllClusterKustomization(basePath string, modules, addOns map[string]v1alpha1.Package) error
SyncKustomization read the kustomization file ath path and sync its resources and components properties with the content of modules and addOns
func SyncClusterKustomization ¶
func SyncClusterKustomization(basePath, clusterPath string, modules, addOns map[string]v1alpha1.Package) error
SyncKustomization read the kustomization file ath path and sync its resources and components properties with the content of modules and addOns specifically for clusters
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.