package option

import "github.com/vmware/govmomi/cli/option"

Index

Variables

var ListDescription = `List option with the given NAME.

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

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

Source Files

ls.go set.go

Version
v0.48.1 (latest)
Published
Feb 11, 2025
Platform
linux/amd64
Imports
13 packages
Last checked
2 months ago

Tools for package owners.