parser

package
v0.0.20 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Loader

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

func (*Loader) Abs

func (r *Loader) Abs(base, name string) string

func (*Loader) Get

func (r *Loader) Get(name string) (io.Reader, error)

type Parser

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

func New

func New(templates map[string]string) (*Parser, error)

func (*Parser) Render

func (r *Parser) Render(ctx context.Context, template string, u *unstructured.Unstructured, w io.Writer) error

Jump to

Keyboard shortcuts

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