Help us shape the future of Go! Take the 2026 Go Developer Survey

cmd

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2025 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Root = New(use, short, []crane.Option{})
View Source
var Version string

Version can be set via: -ldflags="-X 'github.com/google/go-containerregistry/cmd/crane/cmd.Version=$TAG'"

Functions

func New

func New(use, short string, options []crane.Option) *cobra.Command

New returns a top-level command for crane. This is mostly exposed to share code with gcrane.

func NewCmdAuth

func NewCmdAuth(options []crane.Option, argv ...string) *cobra.Command

NewCmdAuth creates a new cobra.Command for the auth subcommand.

func NewCmdAuthGet

func NewCmdAuthGet(options []crane.Option, argv ...string) *cobra.Command

NewCmdAuthGet creates a new `crane auth get` command.

func NewCmdAuthLogin

func NewCmdAuthLogin(argv ...string) *cobra.Command

NewCmdAuthLogin creates a new `crane auth login` command.

func NewCmdAuthLogout

func NewCmdAuthLogout(argv ...string) *cobra.Command

NewCmdAuthLogout creates a new `crane auth logout` command.

func NewCmdAuthToken

func NewCmdAuthToken(options []crane.Option) *cobra.Command

func NewCmdCatalog

func NewCmdCatalog(options *[]crane.Option, _ ...string) *cobra.Command

NewCmdCatalog creates a new cobra.Command for the catalog subcommand.

func NewCmdCleanup

func NewCmdCleanup(options *[]crane.Option) *cobra.Command

NewCmdCleanup creates a new cobra.Command for the cleanup subcommand.

func NewCmdCopy

func NewCmdCopy(options *[]crane.Option) *cobra.Command

NewCmdCopy creates a new cobra.Command for the copy subcommand.

func NewCmdDelete

func NewCmdDelete(options *[]crane.Option) *cobra.Command

NewCmdDelete creates a new cobra.Command for the delete subcommand.

func NewCmdList

func NewCmdList(options *[]crane.Option) *cobra.Command

NewCmdList creates a new cobra.Command for the ls subcommand.

func NewCmdPull

func NewCmdPull(options *[]crane.Option) *cobra.Command

NewCmdPull creates a new cobra.Command for the pull subcommand.

func NewCmdPush

func NewCmdPush(options *[]crane.Option) *cobra.Command

NewCmdPush creates a new cobra.Command for the push subcommand.

func NewCmdVersion

func NewCmdVersion() *cobra.Command

NewCmdVersion creates a new cobra.Command for the version subcommand.

Types

This section is empty.

Jump to

Keyboard shortcuts

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