Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultTarget = "default"
Variables ¶
View Source
var (
Schema value.Schema
)
Functions ¶
This section is empty.
Types ¶
type Build ¶
type Build struct { From string `json:"from,omitempty"` Shell Shlex `json:"shell,omitempty"` StopSignal string `json:"stopSignal,omitempty"` CacheVolumes []string `json:"cacheVolumes,omitempty"` Entrypoint Shlex `json:"entrypoint,omitempty"` Workdir string `json:"workdir,omitempty"` Acornfile string `json:"acornfile,omitempty"` User *int `json:"user,omitempty"` Env []string `json:"env,omitempty"` Run Instructions `json:"run,omitempty"` }
type CacheMount ¶
type CacheMount struct {
Target string `json:"target,omitempty"`
}
func (*CacheMount) UnmarshalJSON ¶
func (c *CacheMount) UnmarshalJSON(data []byte) error
type DetectFile ¶
type Instruction ¶
type Instruction struct { Run `json:",inline"` Volume `json:",inline"` Workdir `json:",inline"` Copy *Copy `json:"copy,omitempty"` }
func (*Instruction) UnmarshalJSON ¶
func (i *Instruction) UnmarshalJSON(data []byte) error
type Instructions ¶
type Instructions []Instruction
func (*Instructions) UnmarshalJSON ¶
func (i *Instructions) UnmarshalJSON(data []byte) error
type Mount ¶
type Mount struct {
Cache *CacheMount `json:"cache,omitempty"`
}
type Template ¶
type Template struct { Name string `json:"name,omitempty"` Targets map[string]Build `json:"targets,omitempty"` LocalFiles map[string]string `json:"localFiles,omitempty"` Detect []DetectFile `json:"detect,omitempty"` }
func (*Template) ToDockerfile ¶
func (*Template) WriteLocalFiles ¶
Click to show internal directories.
Click to hide internal directories.