version

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 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 Version

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

Version holds data for the version sub-command

func (*Version) GetDescription

func (v *Version) GetDescription() string

GetDescription returns the description for the version sub-command

func (*Version) GetFlagSet

func (v *Version) GetFlagSet() *flag.FlagSet

GetFlagSet returns a flag.FlagSet corresponding to the version sub-command

func (*Version) GetHelpFlag

func (v *Version) GetHelpFlag() *bool

GetHelpFlag returns the value for the help flag in the version sub-command.

func (*Version) GetName

func (v *Version) GetName() string

GetName returns the name of the version sub-command

func (*Version) GetSubCommands

func (v *Version) GetSubCommands() []cli.Command

GetSubCommands returns a list of sub-commands under the version sub-command

func (*Version) Init

func (v *Version) Init(helpFlagName string, helpFlagDescription string)

Init initializes Version struct

func (*Version) Process

func (v *Version) Process()

Process executes the logic involved in printing sre-tooling version

Jump to

Keyboard shortcuts

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