basic

package
v0.0.0-...-cb2ab9f Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildRunner

type BuildRunner interface {
	Run(ctx context.Context, buildOptions *types.BuildOptions, ioCtrl *io.Controller) error
}

BuildRunner runs the build of an image

type Builder

type Builder struct {
	BuildRunner BuildRunner
	IoCtrl      *io.Controller
}

Builder It provides basic functionality to build images. This might be used as a base for more complex builders (e.g. v1, v2)

func (*Builder) Build

func (ob *Builder) Build(ctx context.Context, options *types.BuildOptions) error

Build builds the image defined by the BuildOptions used the BuildRunner passed as dependency of the builder

Jump to

Keyboard shortcuts

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