MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / newStorageDownloadCmd

Function newStorageDownloadCmd

internal/cli/storage.go:427–438  ·  view source on GitHub ↗

── storage download ──────────────────────────────────────────────────────────

()

Source from the content-addressed store, hash-verified

425// ── storage download ──────────────────────────────────────────────────────────
426
427func newStorageDownloadCmd() *cobra.Command {
428 cmd := &cobra.Command{
429 Use: "download",
430 Short: "Download content into storage",
431 }
432
433 cmd.AddCommand(newStorageDownloadURLCmd())
434 cmd.AddCommand(newStorageDownloadTemplateCmd())
435 cmd.AddCommand(newStorageDownloadOCICmd())
436
437 return cmd
438}
439
440func newStorageDownloadURLCmd() *cobra.Command {
441 cmd := &cobra.Command{

Callers 1

newStorageCmdFunction · 0.85

Calls 3

newStorageDownloadURLCmdFunction · 0.85
newStorageDownloadOCICmdFunction · 0.85

Tested by

no test coverage detected