v1

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Build

type Build struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec BuildSpec `json:"spec"`
}

type BuildSpec

type BuildSpec struct {
	From         string                  `json:"from,omitempty"`
	Entrypoint   []string                `json:"entrypoint,omitempty"`
	Command      []string                `json:"command,omitempty"`
	Packages     []Package               `json:"packages,omitempty"`
	Repositories map[string][]Repository `json:"repositories,omitempty"`
	Files        []File                  `json:"files,omitempty"`
	Links        []Link                  `json:"links,omitempty"`
	Env          []EnvVar                `json:"env,omitempty"`
}

type EnvVar

type EnvVar struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

type File

type File struct {
	URI        string `json:"uri"`
	Path       string `json:"path"`
	Executable bool   `json:"executable"`
	SubPath    string `json:"subPath"`
}
type Link struct {
	Source string `json:"source"`
	Target string `json:"target"`
}

type Package

type Package struct {
	Type  PackageType `json:"type"`
	Names []string    `json:"names"`
}

type PackageType

type PackageType string
const (
	PackageAlpine PackageType = "Alpine"
	PackageDebian PackageType = "Debian"
	PackageRPM    PackageType = "RPM"
	PackageFile   PackageType = "File"
	PackageOCI    PackageType = "OCI"
)

type Repository

type Repository struct {
	URL string `json:"url"`
}

Jump to

Keyboard shortcuts

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