cli

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: Apache-2.0 Imports: 44 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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