Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Aws ¶
type Aws struct {
// contains filtered or unexported fields
}
Aws is the plugin struct
type ExitUserChar ¶
type ExitUserChar struct {
// contains filtered or unexported fields
}
ExitUserChar is the plugin struct
func (*ExitUserChar) Get ¶
func (euc *ExitUserChar) Get(format func(string, ...termcolor.Mode) string) (string, []termcolor.Mode)
Get returns the string to use in the prompt
func (ExitUserChar) Help ¶
func (ExitUserChar) Help() (description string, options map[string]string)
Help returns help information about this plugin
func (*ExitUserChar) Load ¶
func (euc *ExitUserChar) Load(Prompter) error
Load is the load function of the plugin
type Git ¶
type Git struct {
// contains filtered or unexported fields
}
Git is the plugin struct
type Golang ¶
type Golang struct {
// contains filtered or unexported fields
}
Golang is the plugin struct
type Hostname ¶
type Hostname struct {
// contains filtered or unexported fields
}
Hostname is the plugin struct
type Kubernetes ¶
type Kubernetes struct {
// contains filtered or unexported fields
}
Kubernetes is the plugin struct
func (Kubernetes) Help ¶
func (Kubernetes) Help() (description string, options map[string]string)
Help returns help information about this plugin
func (*Kubernetes) Load ¶
func (k *Kubernetes) Load(Prompter) error
Load is the load function of the plugin
type LastCommand ¶
type LastCommand struct {
// contains filtered or unexported fields
}
LastCommand is the plugin struct
func (LastCommand) Help ¶
func (LastCommand) Help() (description string, options map[string]string)
Help returns help information about this plugin
func (*LastCommand) Load ¶
func (lc *LastCommand) Load(Prompter) error
Load is the load function of the plugin
type Path ¶
type Path struct {
// contains filtered or unexported fields
}
Path is the plugin struct
type Prompter ¶
type Prompter interface { GetOption(string) (interface{}, bool) GetCache(string) (interface{}, bool) Cache(string, interface{}) error }
Prompter is the interface which provides options/config to the plugin
type Python ¶
type Python struct {
// contains filtered or unexported fields
}
Python is the plugin struct
type User ¶
type User struct {
// contains filtered or unexported fields
}
User is the plugin struct
type UserChar ¶
type UserChar struct {
// contains filtered or unexported fields
}
UserChar is the plugin struct