Documentation
¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependency ¶
Dependency defined the dependency for a package.
type Options ¶
type Options struct {
CacheTo string
CacheFrom string
Organization string
Platform string
Progress string
Push string
Registry string
}
Options are the options for the build.
type Pkg ¶
type Pkg struct {
Options *Options
Name string `yaml:"name,omitempty"`
Bldr string `yaml:"bldr,omitempty"`
Shell Shell `yaml:"shell,omitempty"`
Version string
Install Install `yaml:"install,omitempty"`
Dependencies []*Dependency `yaml:"dependencies,omitempty"`
Steps []*Step `yaml:"steps,omitempty"`
Finalize []*Finalize `yaml:"finalize,omitempty"`
Variant Variant `yaml:"variant,omitempty"`
}
Pkg defines the package to build.
type Source ¶
type Source struct {
URL string `yaml:"url,omitempty"`
Destination string `yaml:"destination,omitempty"`
SHA256 string `yaml:"sha256,omitempty"`
SHA512 string `yaml:"sha512,omitempty"`
}
Source define a package source options.
type Step ¶
type Step struct {
Prepare *Instruction `yaml:"prepare,omitempty"`
Build *Instruction `yaml:"build,omitempty"`
Install *Instruction `yaml:"install,omitempty"`
Test *Instruction `yaml:"test,omitempty"`
Sources []*Source `yaml:"sources,omitempty"`
}
Step defines a step in the build process.
type Variant ¶
type Variant int
Variant defines the variant of the package.
func (*Variant) UnmarshalYAML ¶
UnmarshalYAML implements the yaml.Unmarshaler interface.
Click to show internal directories.
Click to hide internal directories.