index

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Index

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

Index deals with commands related to resource indexes

func (*Index) GetDescription

func (index *Index) GetDescription() string

GetDescription returns the description for the index command

func (*Index) GetFlagSet

func (index *Index) GetFlagSet() *flag.FlagSet

GetFlagSet returns a pointer to the flag.FlagSet associated to the command

func (*Index) GetHelpFlag

func (index *Index) GetHelpFlag() *bool

GetHelpFlag returns a pointer to the initialized help flag for the command

func (*Index) GetName

func (index *Index) GetName() string

GetName returns the value of the name constant

func (*Index) GetSubCommands

func (index *Index) GetSubCommands() []cli.Command

GetSubCommands returns a slice of subcommands under the index command (expect empty slice if none)

func (*Index) Init

func (index *Index) Init(helpFlagName string, helpFlagDescription string)

Init initializes the command object

func (*Index) Process

func (index *Index) Process()

Process does nothing, since this command has subcommands that actually do the processing

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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