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 HumanizeKustomizeError(err error) string
- func TemplateFromSimpleOverlayedComponents(comps []*opConfig.SimpleOverlayedComponent) template.Kustomize
- type ProviderProperties
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ConfigurationFilePath string ParametersFilePath string Provider string DNS string ArtifactRepositoryProvider string Dev bool EnableEFKLogging bool EnableHTTPS bool EnableCertManager bool EnableMetalLb bool GPUDevicePlugins []string Services []string )
View Source
var ( // ServiceAccountName is the "username" we show to the user. We look up this value in k8s ServiceAccountName string )
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 HumanizeKustomizeError ¶ added in v0.16.0
HumanizeKustomizeError takes errors returned from GenerateKustomizeResult and returns them in a human friendly string
func TemplateFromSimpleOverlayedComponents ¶
func TemplateFromSimpleOverlayedComponents(comps []*opConfig.SimpleOverlayedComponent) template.Kustomize
Types ¶
type ProviderProperties ¶
type ProviderProperties struct {
IsCloud bool
}
Click to show internal directories.
Click to hide internal directories.