lookupoption

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: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option struct {
	standard.TransferOptionsCreator
	RepoSpecs []string
	Resolver  ocm.ComponentVersionResolver
}

func From

func New

func New() *Option

func (*Option) AddFlags

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

func (*Option) ApplyTransferOption

func (o *Option) ApplyTransferOption(opts transferhandler.TransferOptions) error

func (*Option) CompleteWithSession

func (o *Option) CompleteWithSession(octx clictx.OCM, session ocm.Session) error

func (*Option) IsGiven

func (o *Option) IsGiven() bool

func (*Option) LookupComponentProviders

func (o *Option) LookupComponentProviders(name string) []ocm.ResolvedComponentProvider

func (*Option) LookupComponentVersion

func (o *Option) LookupComponentVersion(name string, vers string) (ocm.ComponentVersionAccess, error)

func (*Option) Usage

func (o *Option) Usage() string

Jump to

Keyboard shortcuts

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