cli

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 45 Imported by: 0

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 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