Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Kustomization ¶
type Kustomization struct {
// contains filtered or unexported fields
}
func ParseKustomization ¶
func ParseKustomization(fsys fs.FS, kustomizationPath string, options KustomizationOptions) (*Kustomization, error)
func (*Kustomization) Path ¶
func (k *Kustomization) Path() string
func (*Kustomization) Render ¶
func (k *Kustomization) Render(context RenderContext, fsys kustfsys.FileSystem) error
type KustomizationOptions ¶
type KustomizationOptions struct {
TemplateSuffix *string
// If defined, the given left delimiter will be used to parse go templates; otherwise, defaults to '{{'
LeftTemplateDelimiter *string
// If defined, the given right delimiter will be used to parse go templates; otherwise, defaults to '}}'
RightTemplateDelimiter *string
// If defined, paths to referenced files or directories outside kustomizationPath
IncludedFiles []string
// If defined, paths to referenced kustomizations
IncludedKustomizations []string
// If defined, used to decrypt files
Decryptor manifests.Decryptor
}
Click to show internal directories.
Click to hide internal directories.