put

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name      = "put"
	OptCreds  = common.OptCreds
	OptHint   = common.OptHint
	OptMedia  = common.OptMedia
	OptArt    = common.OptArt
	OptDigest = common.OptDigest
)

Variables

This section is empty.

Functions

func Command

func Command(p ppi.Plugin, cmd *cobra.Command, opts *Options) (err error)

func New

func New(p ppi.Plugin) *cobra.Command

Types

type Options

type Options struct {
	Name          string
	Specification json.RawMessage

	Credentials  credentials.DirectCredentials
	MediaType    string
	ArtifactType string
	Digest       string

	Hint string
}

func (*Options) AddFlags

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

func (*Options) Complete

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

Jump to

Keyboard shortcuts

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