packer

package
v0.1.56 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2025 License: GPL-3.0 Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Download added in v0.1.36

func Download(URL *url.URL) ([]byte, error)

func ParseYAML

func ParseYAML(name string, yamlBytes []byte, variablesBytes []byte, set []string) ([]json.RawMessage, error)

func ReadYAMLFile

func ReadYAMLFile(path string) ([]byte, error)

Types

type Definition added in v0.1.56

type Definition struct {
	File       string
	Definition *common.Request
}

func Parse

func Parse(name string, bytes []byte, variables []byte, set []string) ([]*Definition, error)

type Pack added in v0.1.36

type Pack struct {
	Name        string
	Version     string
	Definitions []*Definition
	Variables   []byte
}

func New added in v0.1.36

func New() *Pack

func Read added in v0.1.26

func Read(path string, set []string, relations *relations.RelationRegistry) (*Pack, error)

Jump to

Keyboard shortcuts

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