Documentation
¶
Index ¶
- type Stim
- func (stim *Stim) AddStimpak(s Stimpak)
- func (stim *Stim) BindCommand(command *cobra.Command, parentCommand *cobra.Command)
- func (stim *Stim) Debug(message string)
- func (stim *Stim) DebugError(err error)
- func (stim *Stim) Execute()
- func (stim *Stim) Fatal(err error)
- func (stim *Stim) Get(configKey string) interface{}
- func (stim *Stim) GetConfig(configKey string) string
- func (stim *Stim) GetConfigBool(configKey string) bool
- func (stim *Stim) GetVersion() string
- func (stim *Stim) IsAutomated() bool
- func (stim *Stim) Kubernetes() *kubernetes.Kubernetes
- func (stim *Stim) LoadConfigFile() error
- func (stim *Stim) Pagerduty() *pagerduty.Pagerduty
- func (stim *Stim) Prometheus() *prometheus.Prometheus
- func (stim *Stim) PromptBool(label string, override bool, defaultvalue bool) (bool, error)
- func (stim *Stim) PromptList(label string, list []string, override string) (string, error)
- func (stim *Stim) PromptListVault(vaultPath string, label string, override string) (string, error)
- func (stim *Stim) PromptString(label string, override string, defaultvalue string) (string, error)
- func (stim *Stim) Set(key string, value string)
- func (stim *Stim) UpdateConfigFileKey(key string, value string) error
- func (stim *Stim) UpdateVaultUser(username string) error
- func (stim *Stim) User() (string, error)
- func (stim *Stim) Vault() *vault.Vault
- type Stimpak
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Stim ¶
type Stim struct {
// contains filtered or unexported fields
}
func (*Stim) AddStimpak ¶
func (*Stim) BindCommand ¶
func (*Stim) DebugError ¶
func (*Stim) GetConfigBool ¶
func (*Stim) GetVersion ¶
func (*Stim) IsAutomated ¶
func (*Stim) Kubernetes ¶
func (stim *Stim) Kubernetes() *kubernetes.Kubernetes
func (*Stim) LoadConfigFile ¶
func (*Stim) Prometheus ¶
func (stim *Stim) Prometheus() *prometheus.Prometheus
func (*Stim) PromptBool ¶
Prompt for yes/no type question label: prompt label override: if set to true, this function will return true default: what will be used if nothing is entered
func (*Stim) PromptList ¶
Prompt List label: prompt label override: if set, will use this value instead of prompting default: what will be used if nothing is entered
func (*Stim) PromptListVault ¶
Prompt List label: prompt label override: if set, will use this value instead of prompting default: what will be used if nothing is entered
func (*Stim) PromptString ¶
Prompt for string label: prompt label override: if set, will use this value instead of prompting default: what will be used if nothing is entered
func (*Stim) UpdateConfigFileKey ¶
func (*Stim) UpdateVaultUser ¶
Click to show internal directories.
Click to hide internal directories.