Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Build ¶
func Build(ctx BuildContext, spec BuildSpec) error
Types ¶
type BaseImageMetadata ¶
type BaseImageMetadata struct {
// contains filtered or unexported fields
}
type BuildContext ¶
type BuildSpec ¶
type BuildSpec struct { BaseRef string InjectLayer BuildSpecInjectLayer Target BuildSpecTarget Author string Annotations map[string]string Env map[string]string }
type BuildSpecInjectLayer ¶
type BuildSpecTarget ¶
type BuildSpecTarget struct { Repo string Type TargetType }
type ExitCleanupWatcher ¶
type ExitCleanupWatcher struct {
// contains filtered or unexported fields
}
func NewExitCleanupWatcher ¶
func NewExitCleanupWatcher() *ExitCleanupWatcher
NewExitCleanupWatcher creates a new ExitCleanupWatcher and starts watching for exit signals. This is useful for situations like layer creation, where a temp file's lifetime is not tied closely to the creation point.
func (*ExitCleanupWatcher) Append ¶
func (w *ExitCleanupWatcher) Append(path string)
func (*ExitCleanupWatcher) Close ¶
func (w *ExitCleanupWatcher) Close()
type Platform ¶
func ParsePlatform ¶
type TargetType ¶
type TargetType int
const ( REMOTE TargetType = iota LOCAL_DAEMON LOCAL_FILE )
func ParseTargetType ¶
func ParseTargetType(str string) (TargetType, error)
Click to show internal directories.
Click to hide internal directories.