Documentation
¶
Index ¶
- Variables
- func New(use, short string, options []crane.Option) *cobra.Command
- func NewCmdAppend(options *[]crane.Option) *cobra.Command
- func NewCmdAuth(argv ...string) *cobra.Command
- func NewCmdAuthGet(argv ...string) *cobra.Command
- func NewCmdAuthLogin(argv ...string) *cobra.Command
- func NewCmdBlob(options *[]crane.Option) *cobra.Command
- func NewCmdCatalog(options *[]crane.Option) *cobra.Command
- func NewCmdConfig(options *[]crane.Option) *cobra.Command
- func NewCmdCopy(options *[]crane.Option) *cobra.Command
- func NewCmdDelete(options *[]crane.Option) *cobra.Command
- func NewCmdDigest(options *[]crane.Option) *cobra.Command
- func NewCmdExport(options *[]crane.Option) *cobra.Command
- func NewCmdFlatten(options *[]crane.Option) *cobra.Command
- func NewCmdList(options *[]crane.Option) *cobra.Command
- func NewCmdManifest(options *[]crane.Option) *cobra.Command
- func NewCmdMutate(options *[]crane.Option) *cobra.Command
- func NewCmdOptimize(options *[]crane.Option) *cobra.Command
- func NewCmdPull(options *[]crane.Option) *cobra.Command
- func NewCmdPush(options *[]crane.Option) *cobra.Command
- func NewCmdRebase(options *[]crane.Option) *cobra.Command
- func NewCmdTag(options *[]crane.Option) *cobra.Command
- func NewCmdValidate(options *[]crane.Option) *cobra.Command
- func NewCmdVersion() *cobra.Command
Constants ¶
This section is empty.
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 ¶ added in v0.2.0
New returns a top-level command for crane. This is mostly exposed to share code with gcrane.
func NewCmdAppend ¶
NewCmdAppend creates a new cobra.Command for the append subcommand.
func NewCmdAuth ¶
NewCmdAuth creates a new cobra.Command for the auth subcommand.
func NewCmdAuthGet ¶
NewCmdAuthGet creates a new `crane auth get` command.
func NewCmdAuthLogin ¶
NewCmdAuthLogin creates a new `crane auth login` command.
func NewCmdBlob ¶
NewCmdBlob creates a new cobra.Command for the blob subcommand.
func NewCmdCatalog ¶
NewCmdCatalog creates a new cobra.Command for the repos subcommand.
func NewCmdConfig ¶
NewCmdConfig creates a new cobra.Command for the config subcommand.
func NewCmdCopy ¶
NewCmdCopy creates a new cobra.Command for the copy subcommand.
func NewCmdDelete ¶
NewCmdDelete creates a new cobra.Command for the delete subcommand.
func NewCmdDigest ¶
NewCmdDigest creates a new cobra.Command for the digest subcommand.
func NewCmdExport ¶
NewCmdExport creates a new cobra.Command for the export subcommand.
func NewCmdFlatten ¶ added in v0.7.0
NewCmdFlatten creates a new cobra.Command for the flatten subcommand.
func NewCmdList ¶
NewCmdList creates a new cobra.Command for the ls subcommand.
func NewCmdManifest ¶
NewCmdManifest creates a new cobra.Command for the manifest subcommand.
func NewCmdMutate ¶ added in v0.5.0
NewCmdMutate creates a new cobra.Command for the mutate subcommand.
func NewCmdOptimize ¶ added in v0.3.0
NewCmdOptimize creates a new cobra.Command for the optimize subcommand.
func NewCmdPull ¶
NewCmdPull creates a new cobra.Command for the pull subcommand.
func NewCmdPush ¶
NewCmdPush creates a new cobra.Command for the push subcommand.
func NewCmdRebase ¶
NewCmdRebase creates a new cobra.Command for the rebase subcommand.
func NewCmdValidate ¶
NewCmdValidate creates a new cobra.Command for the validate subcommand.
func NewCmdVersion ¶
NewCmdVersion creates a new cobra.Command for the version subcommand.
Types ¶
This section is empty.