template

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Checksum

func Checksum(spec *bundlev1.Template) (string, error)

Checksum calculates the bundle template checksum.

func Execute

func Execute(spec *bundlev1.Template, v visitor.TemplateVisitor) error

Execute a template to generate a final secret bundle.

func JSONSchema added in v0.2.9

func JSONSchema() []byte

JSONSchema returns the used json schema for validation.

func Lint added in v0.2.9

func Lint(r io.Reader) ([]gojsonschema.ResultError, error)

Lint to input reader content with Bundle jsonschema.

func Validate

func Validate(spec *bundlev1.Template) error

Validate bundle template.

func YAML

func YAML(r io.Reader) (*bundlev1.Template, error)

YAML a given reader in order to extract a BundleTemplate sepcification

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