generator

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CEL added in v0.0.4

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

func NewCEL added in v0.0.4

func NewCEL(dir string, cfg config.CELGenerator, refStore *reference.Store) *CEL

func (*CEL) Generate added in v0.0.4

func (c *CEL) Generate(ctx context.Context) ([]byte, error)

type Exec

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

func NewExec

func NewExec(dir string, cfg config.ExecGenerator) *Exec

TODO: Use directory as PWD

func (*Exec) Generate

func (e *Exec) Generate(context.Context) ([]byte, error)

type File

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

func NewFile

func NewFile(dir string, cfg config.FileGenerator) *File

func (*File) Generate

func (f *File) Generate(context.Context) ([]byte, error)

type Generator

type Generator interface {
	Generate(context.Context) ([]byte, error)
}

type GoTemplate

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

func NewGoTemplate

func NewGoTemplate(dir string, cfg config.GoTemplateGenerator, refStore *reference.Store) *GoTemplate

func (*GoTemplate) Generate

func (gt *GoTemplate) Generate(_ context.Context) ([]byte, error)

type Helm

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

func NewHelm

func NewHelm(dir string, cfg config.HelmGenerator, refStore *reference.Store) *Helm

func (*Helm) Generate

func (h *Helm) Generate(context.Context) ([]byte, error)

type JQ

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

func NewJQ

func NewJQ(dir string, cfg config.JQGenerator, refStore *reference.Store) *JQ

func (*JQ) Generate

func (jq *JQ) Generate(context.Context) ([]byte, error)

type JSON

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

func NewJSON

func NewJSON(dir string, cfg config.JSONGenerator, refStore *reference.Store) *JSON

func (*JSON) Generate

func (j *JSON) Generate(context.Context) ([]byte, error)

type Kustomize

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

func NewKustomize

func NewKustomize(dir string, cfg config.KustomizeGenerator, refStore *reference.Store) *Kustomize

func (*Kustomize) Generate

func (h *Kustomize) Generate(context.Context) ([]byte, error)

type Merge

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

func NewMerge

func NewMerge(dir string, cfg config.MergeGenerator, refStore *reference.Store) *Merge

func (*Merge) Generate

func (m *Merge) Generate(_ context.Context) ([]byte, error)

type Pipeline

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

func NewPipeline

func NewPipeline(dir string, cfg config.PipelineGenerator, refStore *reference.Store, debug bool) *Pipeline

func (*Pipeline) Generate

func (pipeline *Pipeline) Generate(ctx context.Context) ([]byte, error)

type Value added in v0.0.4

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

func NewValue added in v0.0.4

func NewValue(dir string, cfg config.ValueGenerator, refStore *reference.Store) *Value

func (*Value) Generate added in v0.0.4

func (v *Value) Generate(context.Context) ([]byte, error)

type YAML

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

func NewYAML

func NewYAML(dir string, cfg config.YAMLGenerator, refStore *reference.Store) *YAML

func (*YAML) Generate

func (y *YAML) Generate(context.Context) ([]byte, error)

Jump to

Keyboard shortcuts

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