Documentation ¶ Index ¶ Variables func NewCommand(ctx clictx.Context, names ...string) *cobra.Command type BOM type BomEntry type Command func (o *Command) AddFlags(fs *pflag.FlagSet) func (o *Command) Complete(args []string) error func (o *Command) ForName(name string) *cobra.Command func (o *Command) Run() error 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 ¶ type BOM struct { List []BomEntry `json:"componentVersions"` } type BomEntry ¶ 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 ¶ 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 Source Files ¶ View all Source files cmd.go Click to show internal directories. Click to hide internal directories.