quadlet

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2025 License: Apache-2.0 Imports: 6 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListQuadlets

func ListQuadlets() map[string]Quadlet

ListQuadlets list all quadlet files from the default quadlet dir returns a map of quadle name to quadlet files

Types

type Container

type Container struct {
	Image         string `ini:",omitempty"`
	ContainerName string `ini:",omitempty"`
	Exec          string `ini:",omitempty"`
	Network       string `ini:",omitempty"`
	PublishPort   string `ini:",omitempty"`
	Volume        string `ini:",omitempty"`
}

type Quadlet

type Quadlet struct {
	Name  string
	Path  string
	Files []QuadletFile
}

type QuadletFile

type QuadletFile struct {
	Unit      Unit      `ini:"Unit"`
	Container Container `ini:"Container,omitempty"`
	FileName  string
}

type Unit

type Unit struct {
	Description string `ini:",omitempty"`
	Requires    string `ini:",omitempty"`
	Requisite   string `ini:",omitempty"`
	Wants       string `ini:",omitempty"`
	BindsTo     string `ini:",omitempty"`
	PartOf      string `ini:",omitempty"`
	Conflicts   string `ini:",omitempty"`
	Before      string `ini:",omitempty"`
	OnFailure   string `ini:",omitempty"`
	After       string `ini:",omitempty"`
}

Jump to

Keyboard shortcuts

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