transfer

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func NewCommand

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

NewCommand creates a new ctf command.

Types

type BOM added in v0.4.1

type BOM struct {
	List []BomEntry `json:"componentVersions"`
}

type BomEntry added in v0.4.1

type BomEntry struct {
	Component string `json:"component"`
	Version   string `json:"version"`
}

type Command

type Command struct {
	utils.BaseCommand

	Refs                []string
	TargetName          string
	BOMFile             string
	DisableBlobHandlers bool
}

func (*Command) AddFlags added in v0.4.1

func (o *Command) AddFlags(fs *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