compile

package
v0.0.0-...-ae50e0a Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2025 License: AGPL-3.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 Artifact

type Artifact struct {
	Spec     api.Spec
	Name     string
	Category *ordereddict.Dict
	Rules    map[string]bool
	Sources  []api.Definition
}

func Compile

func Compile(defs []api.Definition,
	config_obj *api.ConfigDefinitions) (*Artifact, error)

Build the spec and artifact

func (*Artifact) BuildIndex

func (self *Artifact) BuildIndex() []byte

func (*Artifact) WriteZip

func (self *Artifact) WriteZip(path string) error

func (*Artifact) Yaml

func (self *Artifact) Yaml() (string, error)

Produce the YAML of the artifact definition.

type Expansion

type Expansion struct {
	ArtifactName   string
	CompressedSpec string
	Categories     []string
	Rules          []string
	Spec           api.Spec
}

Jump to

Keyboard shortcuts

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