describe

package
v0.19.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 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.Describe
)

Functions

func NewCommand

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

NewCommand creates a new ctf command.

Types

type Command

type Command struct {
	utils.BaseCommand

	BlobFiles bool
	Refs      []string
}

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

type Info

type Info struct {
	Artifact string      `json:"ref"`
	Info     interface{} `json:"info"`
}

type Options

type Options struct {
	BlobFiles bool
}

func From

func From(o *output.Options) *Options

func (*Options) AddFlags

func (o *Options) AddFlags(fs *pflag.FlagSet)

func (*Options) Complete

func (o *Options) Complete() error

Jump to

Keyboard shortcuts

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