packagerender

package
v1.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidConditionalPathsExpression = errors.New("invalid spec.conditionalPaths expression")

Functions

func RenderObjectSetTemplateSpec

func RenderObjectSetTemplateSpec(
	pkgInstance *packagetypes.PackageInstance,
) (templateSpec corev1alpha1.ObjectSetTemplateSpec)

Renders a ObjectSetTemplateSpec from a PackageInstance to use with ObjectSet and ObjectDeployment APIs.

func RenderObjects

Renders all .yml and .yaml files into Kubernetes Objects.

func RenderPackageInstance

Turns a Package and PackageRenderContext into a PackageInstance.

func RenderTemplates

func RenderTemplates(_ context.Context, pkg *packagetypes.Package, tmplCtx packagetypes.PackageRenderContext) error

Runs a go-template transformer on all .gotmpl files.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL