option

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 13 Imported by: 38

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ListDescription = `List option with the given NAME.

If NAME ends with a dot, all options for that subtree are listed.`
View Source
var SetDescription = `Set option NAME to VALUE.`

Functions

This section is empty.

Types

type List

type List struct {
	*flags.ClientFlag
	*flags.OutputFlag
}

func (*List) Description

func (cmd *List) Description() string

func (*List) Process

func (cmd *List) Process(ctx context.Context) error

func (*List) Query

func (cmd *List) Query(ctx context.Context, f *flag.FlagSet, m *object.OptionManager) error

func (*List) Register

func (cmd *List) Register(ctx context.Context, f *flag.FlagSet)

func (*List) Run

func (cmd *List) Run(ctx context.Context, f *flag.FlagSet) error

func (*List) Usage

func (cmd *List) Usage() string

type Set

type Set struct {
	*flags.ClientFlag
}

func (*Set) Description

func (cmd *Set) Description() string

func (*Set) Process

func (cmd *Set) Process(ctx context.Context) error

func (*Set) Register

func (cmd *Set) Register(ctx context.Context, f *flag.FlagSet)

func (*Set) Run

func (cmd *Set) Run(ctx context.Context, f *flag.FlagSet) error

func (*Set) Update

func (cmd *Set) Update(ctx context.Context, f *flag.FlagSet, m *object.OptionManager) error

func (*Set) Usage

func (cmd *Set) Usage() string

Jump to

Keyboard shortcuts

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