Documentation
¶
Index ¶
- Variables
- func BuilderToTemplate(builder *manifest.Builder) template.Kustomize
- func Execute()
- func FilePathWalkDir(root string) ([]string, error)
- func GenerateKustomizeResult(config opConfig.Config, kustomizeTemplate template.Kustomize) (string, error)
- func TemplateFromSimpleOverlayedComponents(comps []*opConfig.SimpleOverlayedComponent) template.Kustomize
- func ValidateProvider(prov string) error
- type ProviderProperties
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func FilePathWalkDir ¶
func GenerateKustomizeResult ¶
func GenerateKustomizeResult(config opConfig.Config, kustomizeTemplate template.Kustomize) (string, error)
Given the path to the manifests, and a kustomize config, creates the final kustomization file. It does this by copying the manifests into a temporary directory, inserting the kustomize template and running the kustomize command
func TemplateFromSimpleOverlayedComponents ¶
func TemplateFromSimpleOverlayedComponents(comps []*opConfig.SimpleOverlayedComponent) template.Kustomize
func ValidateProvider ¶
Types ¶
type ProviderProperties ¶
type ProviderProperties struct {
IsCloud bool
}
Click to show internal directories.
Click to hide internal directories.