discover

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustRegister

func MustRegister()

func NewDiscoverCommand

func NewDiscoverCommand(b *builder.AppBuilder, j json.RawMessage, log builder.Logger) (builder.Command, error)

func Register

func Register() error

Types

type Command

type Command struct {
	StandardFilter bool                       `json:"std_filters"`
	Filter         *discovery.StandardOptions `json:"filter"`
	builder.GenericCommand
	builder.GenericSubCommands
}

type Discover

type Discover struct {
	// contains filtered or unexported fields
}

func (*Discover) CreateCommand

func (r *Discover) CreateCommand(app builder.KingpinCommand) (*fisk.CmdClause, error)

func (*Discover) String

func (r *Discover) String() string

func (*Discover) SubCommands

func (r *Discover) SubCommands() []json.RawMessage

func (*Discover) Validate

func (r *Discover) Validate(log builder.Logger) error

Jump to

Keyboard shortcuts

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