repooption

package
v0.0.0-...-877fc11 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: Apache-2.0 Imports: 6 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 {
	Spec       string
	Repository oci.Repository
}

func From

func New

func New() *Option

func (*Option) AddFlags

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

func (*Option) CompleteWithSession

func (o *Option) CompleteWithSession(octx clictx.OCI, session oci.Session) error

func (*Option) Configure

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

func (*Option) GetRepository

func (o *Option) GetRepository(ctx clictx.OCI, session oci.Session) (oci.Repository, 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