transfer

package
v0.0.0-...-877fc11 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Names = names.Artifacts
	Verb  = verbs.Transfer
)

Functions

func NewAction

func NewAction(ctx clictx.Context, session oci.Session, target string, transferRepo bool) (*action, error)

func NewCommand

func NewCommand(ctx clictx.Context, names ...string) *cobra.Command

Types

type Command

type Command struct {
	utils.BaseCommand

	TransferRepo bool

	Refs   []string
	Target string
}

func (*Command) AddFlags

func (o *Command) AddFlags(flags *pflag.FlagSet)

func (*Command) Complete

func (o *Command) Complete(args []string) error

func (*Command) ForName

func (o *Command) ForName(name string) *cobra.Command

func (*Command) Run

func (o *Command) Run() error

Jump to

Keyboard shortcuts

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