template

package
v2.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileSystemTask

type FileSystemTask struct {
	InputPath          string
	OutputPath         string
	ValueFiles         []string
	SecretLoaders      []string
	Values             []string
	StringValues       []string
	FileValues         []string
	LeftDelims         string
	RightDelims        string
	AltDelims          bool
	FileLoaderRootPath string
	DryRun             bool
}

FileSystemTask implements filesystem template rendering task.

func (*FileSystemTask) Run

func (t *FileSystemTask) Run(ctx context.Context) error

Run the task.

type RenderTask

type RenderTask struct {
	InputReader   tasks.ReaderProvider
	OutputWriter  tasks.WriterProvider
	ValueFiles    []string
	SecretLoaders []string
	Values        []string
	StringValues  []string
	FileValues    []string
	LeftDelims    string
	RightDelims   string
	AltDelims     bool
	RootPath      string
}

RenderTask implements single template rendering task.

func (*RenderTask) Run

func (t *RenderTask) Run(ctx context.Context) error

Run the task.

type ValueTask

type ValueTask struct {
	OutputWriter tasks.WriterProvider
	ValueFiles   []string
	Values       []string
	StringValues []string
	FileValues   []string
}

ValueTask implements value object generation task.

func (*ValueTask) Run

func (t *ValueTask) Run(ctx context.Context) error

Run the task.

Jump to

Keyboard shortcuts

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