build

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildFromDockerfileContent added in v0.2.0

func BuildFromDockerfileContent(tag, dockerfile string) error

BuildFromDockerfileContent writes a Dockerfile string to a temp dir and builds it.

func BuildFromGenerated

func BuildFromGenerated(generatedPath string, tag string, contextDir string) error

func Generate

func Generate(clawfilePath string) (string, error)

func ImageExistsLocally added in v0.2.0

func ImageExistsLocally(tag string) bool

ImageExistsLocally returns true if the given image tag is available in the local Docker daemon.

func ResolveLocalRunnerProvenance added in v0.10.0

func ResolveLocalRunnerProvenance(driverName string, d driver.RunnerBaseProvider) (*clawfile.RunnerProvenance, error)

Types

type MissingRunnerBaseError added in v0.10.0

type MissingRunnerBaseError struct {
	Alias    string
	ImageRef string
}

func (*MissingRunnerBaseError) Error added in v0.10.0

func (e *MissingRunnerBaseError) Error() string

type RefreshResult added in v0.10.0

type RefreshResult struct {
	DriverName  string
	Alias       string
	ImageRef    string
	BuiltRef    string
	VersionTag  string
	PreviousRef string
	PreviousTag string
	ImageID     string
	RecipeSHA   string
}

func RefreshRunnerBase added in v0.10.0

func RefreshRunnerBase(driverName string, d driver.RunnerBaseProvider) (*RefreshResult, error)

type RunnerRefreshRequiredError added in v0.10.0

type RunnerRefreshRequiredError struct {
	Alias    string
	ImageRef string
	Reason   string
}

func (*RunnerRefreshRequiredError) Error added in v0.10.0

Jump to

Keyboard shortcuts

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