about

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BuildBranch string
View Source
var BuildCommit string
View Source
var BuildVersion string

Functions

This section is empty.

Types

type AboutCommand

type AboutCommand struct {
}

func NewAboutCommand

func NewAboutCommand() *AboutCommand

func (*AboutCommand) AddOptions

func (cmd *AboutCommand) AddOptions(set shell.CmdSet)

func (*AboutCommand) Execute

func (cmd *AboutCommand) Execute(args []string) error

Execute -- Execute the command About command

type AuthTopic

type AuthTopic struct {
	Key         string
	Title       string
	Description string
	About       string
}

func NewAuthTopic

func NewAuthTopic() *AuthTopic

func (*AuthTopic) GetDescription

func (a *AuthTopic) GetDescription() string

func (*AuthTopic) GetKey

func (a *AuthTopic) GetKey() string

func (*AuthTopic) GetTitle

func (a *AuthTopic) GetTitle() string

func (*AuthTopic) WriteAbout

func (a *AuthTopic) WriteAbout(o io.Writer) error

type BenchmarkTopic

type BenchmarkTopic struct {
	Key         string
	Title       string
	Description string
	About       string
}

func NewBenchmarkTopic

func NewBenchmarkTopic() *BenchmarkTopic

func (*BenchmarkTopic) GetDescription

func (a *BenchmarkTopic) GetDescription() string

func (*BenchmarkTopic) GetKey

func (a *BenchmarkTopic) GetKey() string

func (*BenchmarkTopic) GetTitle

func (a *BenchmarkTopic) GetTitle() string

func (*BenchmarkTopic) WriteAbout

func (a *BenchmarkTopic) WriteAbout(o io.Writer) error

type JsonPathTopic added in v1.3.0

type JsonPathTopic struct {
	Key         string
	Title       string
	Description string
	About       string
}

func NewJsonPathTopic added in v1.3.0

func NewJsonPathTopic() *JsonPathTopic

func (*JsonPathTopic) GetDescription added in v1.3.0

func (a *JsonPathTopic) GetDescription() string

func (*JsonPathTopic) GetKey added in v1.3.0

func (a *JsonPathTopic) GetKey() string

func (*JsonPathTopic) GetTitle added in v1.3.0

func (a *JsonPathTopic) GetTitle() string

func (*JsonPathTopic) WriteAbout added in v1.3.0

func (a *JsonPathTopic) WriteAbout(o io.Writer) error

type SubstitutionTopic

type SubstitutionTopic struct {
	Key         string
	Title       string
	Description string
	About       string
}

func NewSubstitutionTopic

func NewSubstitutionTopic() *SubstitutionTopic

NewSubstitutionTopic -- return a topic structure for help about Substitutions

func (*SubstitutionTopic) GetDescription

func (a *SubstitutionTopic) GetDescription() string

GetDescription -- return the description of substitution about topic

func (*SubstitutionTopic) GetKey

func (a *SubstitutionTopic) GetKey() string

GetKey -- return the key to the substitution help topic

func (*SubstitutionTopic) GetTitle

func (a *SubstitutionTopic) GetTitle() string

GetTitle() -- return the title of the substitution about topic

func (*SubstitutionTopic) WriteAbout

func (a *SubstitutionTopic) WriteAbout(o io.Writer) error

WriteAbout -- write the substitution about topic to the provided writer

func (*SubstitutionTopic) WriteSubTopic

func (a *SubstitutionTopic) WriteSubTopic(o io.Writer, fname string) error

WriteSubTopic -- Write the Subtopic about information

type VersionCommand

type VersionCommand struct {
	Branch  string
	Commit  string
	Version string
}

func NewVersionCommand

func NewVersionCommand() *VersionCommand

func (*VersionCommand) AddOptions

func (cmd *VersionCommand) AddOptions(set shell.CmdSet)

func (*VersionCommand) Execute

func (cmd *VersionCommand) Execute(args []string) error

Jump to

Keyboard shortcuts

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