uploaderoption

package
v0.1.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option struct {
	Registrations []*Registration
	// contains filtered or unexported fields
}

func From

func New

func New() *Option

func (*Option) AddFlags

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

func (*Option) Complete

func (o *Option) Complete(ctx clictx.Context) error

func (*Option) Register

func (o *Option) Register(ctx ocm.ContextProvider) error

func (*Option) Usage

func (o *Option) Usage() string

type Registration

type Registration struct {
	Name         string
	ArtifactType string
	MediaType    string
	Config       json.RawMessage
}

Jump to

Keyboard shortcuts

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