generate

package
v1.39.18 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct {
	// contains filtered or unexported fields
}

Generator provides the functions for the manifest sources (raw manifests, helm charts, kustomize configs and remote packages).

func NewGenerator

func NewGenerator(workingDir string, config latestV2.Generate) *Generator

NewGenerator instantiates a Generator object.

func (*Generator) Generate

func (g *Generator) Generate(ctx context.Context) (manifest.ManifestList, error)

Generate parses the config resources from the paths in .Generate.Manifests. This path can be the path to raw manifest, kustomize manifests, helm charts or kpt function configs. All should be file-watched.

Jump to

Keyboard shortcuts

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