cmd

package
v0.0.0-...-fbd76f2 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2022 License: Apache-2.0 Imports: 33 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/NewsYoung/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 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) *cobra.Command

NewCmdCatalog creates a new cobra.Command for the repos 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 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 NewCmdOptimize

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

NewCmdOptimize creates a new cobra.Command for the optimize 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 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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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