cli

package
v1.2.41 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: Apache-2.0 Imports: 52 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildCPIOCmd added in v0.18.0

func BuildCPIOCmd(ctx context.Context, dest string, opts ...build.Option) error

func BuildCmd

func BuildCmd(ctx context.Context, imageRef, output string, archs []types.Architecture, tags []string, wantSBOM bool, sbomPath string, opts ...build.Option) error

func BuildMinirootFSCmd

func BuildMinirootFSCmd(ctx context.Context, opts ...build.Option) error

func CleanImpl added in v0.30.0

func CleanImpl(ctx context.Context, cacheDir string, dryRun bool) error

func DotCmd added in v0.11.0

func DotCmd(ctx context.Context, configFile string, archs []types.Architecture, web, span bool, opts ...build.Option) error

func LockCmd added in v0.14.0

func LockCmd(ctx context.Context, output string, archs []types.Architecture, opts []build.Option) error

func New

func New() *cobra.Command

func PublishCmd

func PublishCmd(ctx context.Context, outputRefs string, archs []types.Architecture, ropt []remote.Option, sbomPath string, buildOpts []build.Option, publishOpts []PublishOption) error

func RemoveLabel added in v0.17.0

func RemoveLabel(s string) (string, error)

func ShowConfigCmd

func ShowConfigCmd(ctx context.Context, opts ...build.Option) error

func ShowPackagesCmd added in v0.7.0

func ShowPackagesCmd(ctx context.Context, format string, archs []types.Architecture, opts ...build.Option) error

Types

type PublishOption added in v0.9.0

type PublishOption func(*publishOpt) error

PublishOption is an option for publishing

func WithLocal added in v0.9.0

func WithLocal(local bool) PublishOption

WithLocal sets whether to publish image to local Docker daemon.

func WithTags added in v0.9.0

func WithTags(tags ...string) PublishOption

WithTags tags to use

Jump to

Keyboard shortcuts

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