Documentation
¶
Index ¶
- func ExecuteCommand(args []string) error
- func FormatCompletions(completions []string, termWidth int) string
- func FormatVPPStyle(items []string) string
- func GetDryRunInfo(command string) string
- func GetServiceStatus() map[string]bool
- func HandleHelpRequest(command string) error
- func IsConfigurationMode() bool
- func IsOperationalMode() bool
- func IsServiceAvailable(serviceType detector.CommandType) bool
- func SetMode(mode ShellMode)
- func SetPrompt(hostname string)
- func StartInteractiveShell() error
- func ValidateCommand(command string) error
- type FloofCompleter
- type ShellMode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteCommand ¶
func FormatCompletions ¶
func FormatVPPStyle ¶
func GetDryRunInfo ¶
func GetServiceStatus ¶
func HandleHelpRequest ¶
func IsConfigurationMode ¶
func IsConfigurationMode() bool
func IsOperationalMode ¶
func IsOperationalMode() bool
func IsServiceAvailable ¶
func IsServiceAvailable(serviceType detector.CommandType) bool
func StartInteractiveShell ¶
func StartInteractiveShell() error
func ValidateCommand ¶
Types ¶
type FloofCompleter ¶
type FloofCompleter struct {
// contains filtered or unexported fields
}
func NewFloofCompleter ¶
func NewFloofCompleter() *FloofCompleter
Click to show internal directories.
Click to hide internal directories.