Documentation
¶
Index ¶
- Constants
- Variables
- func ComponentInstalled(component string) (bool, error)
- func ConfirmationPrompt(prompt string) bool
- func LoadEngineEnvironment(ctx *Context) error
- func ScoreEngines(ctx *Context) ([]engines.ScoredManifest, error)
- func ServerApiUrls(ctx *Context) (map[string]string, error)
- func StartProgressSpinner(prefix string) (stop func())
- func SuggestEngineInfo() string
- func SuggestServerLogs() string
- func SuggestServerStartup() string
- func SuggestServiceManagement() string
- func SuggestStartServer() string
- func UnsetEngineConfig(engineName string, ctx *Context) error
- type Context
Constants ¶
View Source
const OpenAiEndpointKey = "openai"
Variables ¶
View Source
var (
ErrPermissionDenied = errors.New("permission denied, try again with sudo")
)
Functions ¶
func ComponentInstalled ¶
func ConfirmationPrompt ¶
ConfirmationPrompt prompts the user for a yes/no answer and returns true for 'y', false for 'n'.
func LoadEngineEnvironment ¶
func ScoreEngines ¶
func ScoreEngines(ctx *Context) ([]engines.ScoredManifest, error)
func StartProgressSpinner ¶
func StartProgressSpinner(prefix string) (stop func())
func SuggestEngineInfo ¶
func SuggestEngineInfo() string
func SuggestServerLogs ¶
func SuggestServerLogs() string
func SuggestServerStartup ¶
func SuggestServerStartup() string
func SuggestServiceManagement ¶
func SuggestServiceManagement() string
func SuggestStartServer ¶
func SuggestStartServer() string
func UnsetEngineConfig ¶
Types ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.