Documentation
¶
Overview ¶
Package unregistry builds local images and transfers them to remote Docker hosts through psviderski/unregistry's docker-pussh plugin.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildRequest ¶ added in v0.6.0
BuildRequest describes a platform-specific local build.
type Client ¶ added in v0.6.0
Client wraps Docker buildx and docker-pussh.
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, buildx, and docker-pussh are usable.
type CommandSpec ¶ added in v0.6.0
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.
Click to show internal directories.
Click to hide internal directories.