package cmd

import "github.com/google/go-containerregistry/cmd/crane/cmd"

Index

Variables

var Root = New(use, short, []crane.Option{})
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 NewCmdAppend

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

NewCmdAppend creates a new cobra.Command for the append subcommand.

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 NewCmdBlob

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

NewCmdBlob creates a new cobra.Command for the blob subcommand.

func NewCmdCatalog

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

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

func NewCmdConfig

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

NewCmdConfig creates a new cobra.Command for the config 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 NewCmdDigest

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

NewCmdDigest creates a new cobra.Command for the digest subcommand.

func NewCmdExport

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

NewCmdExport creates a new cobra.Command for the export subcommand.

func NewCmdFlatten

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

NewCmdFlatten creates a new cobra.Command for the flatten subcommand.

func NewCmdIndex

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

NewCmdIndex creates a new cobra.Command for the index subcommand.

func NewCmdIndexAppend

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

NewCmdIndexAppend creates a new cobra.Command for the index append subcommand.

func NewCmdIndexFilter

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

NewCmdIndexFilter creates a new cobra.Command for the index filter subcommand.

func NewCmdLayout

func NewCmdLayout() *cobra.Command

func NewCmdList

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

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

func NewCmdManifest

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

NewCmdManifest creates a new cobra.Command for the manifest subcommand.

func NewCmdMutate

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

NewCmdMutate creates a new cobra.Command for the mutate 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 NewCmdRebase

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

NewCmdRebase creates a new cobra.Command for the rebase subcommand.

func NewCmdRegistry

func NewCmdRegistry() *cobra.Command

func NewCmdTag

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

NewCmdTag creates a new cobra.Command for the tag subcommand.

func NewCmdValidate

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

NewCmdValidate creates a new cobra.Command for the validate subcommand.

func NewCmdVersion

func NewCmdVersion() *cobra.Command

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

Source Files

append.go auth.go blob.go catalog.go config.go copy.go delete.go digest.go export.go flatten.go gc.go index.go list.go manifest.go mutate.go pull.go push.go rebase.go root.go serve.go tag.go util.go validate.go version.go

Version
v0.20.4
Published
May 20, 2025
Platform
js/wasm
Imports
42 packages
Last checked
6 seconds ago

Tools for package owners.