Documentation
¶
Overview ¶
Package unregistry builds and inspects local images before the deployer transfers their immutable archives through Tako's structured runtime API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildRequest ¶ added in v0.6.0
type BuildRequest struct {
Image string
ContextDir string
Dockerfile string
Platform string
Args map[string]string
Target string
}
BuildRequest describes a platform-specific local build.
type Client ¶ added in v0.6.0
Client wraps local Docker buildx, inspection, and immutable export.
func (Client) Build ¶ added in v0.6.0
func (c Client) Build(ctx context.Context, req BuildRequest) error
Build builds and loads a single-platform image into local Docker.
func (Client) CheckAvailable ¶ added in v0.6.0
CheckAvailable verifies local Docker and buildx are usable.
type CommandSpec ¶ added in v0.6.0
type CommandSpec struct {
Dir string
Env []string
Name string
Args []string
SensitiveArgIndexes []int
}
CommandSpec describes a local command invocation.
type ExecRunner ¶ added in v0.6.0
ExecRunner runs commands with os/exec.
func (ExecRunner) Run ¶ added in v0.6.0
func (r ExecRunner) Run(ctx context.Context, spec CommandSpec) (string, error)
Run executes a local command and returns combined stdout/stderr output.
type ImageDescriptor ¶ added in v0.10.0
Click to show internal directories.
Click to hide internal directories.