subst

package
v2.0.0-...-98cc131 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SubstitutionTarget

type SubstitutionTarget interface {
	SubstituteByData(path string, value []byte) error
	SubstituteByValue(path string, value interface{}) error

	Content() ([]byte, error)
}

func Parse

func Parse(data []byte) (SubstitutionTarget, error)

func ParseFile

func ParseFile(file string, fss ...vfs.FileSystem) (SubstitutionTarget, error)

Jump to

Keyboard shortcuts

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