Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddonConfig ¶ added in v0.0.23
type AddonConfig struct { DraftConfig `yaml:",inline"` ReferenceComponents map[string][]referenceResource `yaml:"references"` // contains filtered or unexported fields }
AddonConfig is a struct that extends the base DraftConfig to allow for the Referencing previously generated k8s objects. This allows an addon creator to reference pre-entered data from the deployment files.
func (*AddonConfig) GetAddonDestPath ¶ added in v0.0.23
func (ac *AddonConfig) GetAddonDestPath(dest string) (string, error)
func (*AddonConfig) GetReferenceValueMap ¶ added in v0.0.23
func (ac *AddonConfig) GetReferenceValueMap(dest string) (map[string]string, error)
GetReferenceValueMap extracts k8s object values into a mapping of template strings to k8s object value.
type BuilderVar ¶
type BuilderVarDefault ¶ added in v0.0.23
type CreateConfig ¶
type CreateConfig struct { DeployType string LanguageType string DeployVariables []UserInputs LanguageVariables []UserInputs }
type DraftConfig ¶
type DraftConfig struct { NameOverrides []FileNameOverride `yaml:"nameOverrides"` Variables []BuilderVar `yaml:"variables"` VariableDefaults []BuilderVarDefault `yaml:"variableDefaults"` // contains filtered or unexported fields }
TODO: remove Name Overrides since we don't need them anymore
func (*DraftConfig) GetNameOverride ¶
func (d *DraftConfig) GetNameOverride(path string) string
type FileNameOverride ¶
type UserInputs ¶
Click to show internal directories.
Click to hide internal directories.