Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KillBackgroundServe ¶
Types ¶
type BuildAndDeploy ¶
type BuildAndDeploy struct {
Build buildCmd `cmd:"" help:"Build all modules found in the specified directories."`
Deploy deployCmd `cmd:"" help:"Build and deploy all modules found in the specified directories."`
}
type CLI ¶
type CLI struct {
BuildAndDeploy
LogConfig log.Config `embed:"" prefix:"log-" group:"Logging:"`
Authenticators map[string]string `help:"Authenticators to use for FTL endpoints." mapsep:"," env:"FTL_AUTHENTICATORS" placeholder:"HOST=EXE,…"`
Insecure bool `help:"Skip TLS certificate verification. Caution: susceptible to machine-in-the-middle attacks."`
Plain bool `help:"Use a plain console with no color or status line." env:"FTL_PLAIN"`
Interactive interactiveCmd `cmd:"" help:"Interactive mode." default:""`
Dev devCmd `` /* 150-byte string literal not displayed */
Serve serveCmd `cmd:"" help:"Start the FTL server."`
Completion kongcompletion.Completion `cmd:"" help:"Outputs shell code for initialising tab completions."`
Logs logsCmd `cmd:"" help:"View logs from FTL modules."`
// Specify the 1Password vault to access secrets from.
Vault string `` /* 183-byte string literal not displayed */
LSP lspCmd `cmd:"" help:"Start the LSP server."`
MCP mcpCmd `cmd:"" help:"Start the MCP server."`
}
type DevModeCLI ¶
type DevModeCLI struct {
Logs struct {
Level logsSetLevelCmd `cmd:"" help:"Set the current log level"`
} `cmd:"" help:"Log commands."`
}
DevModeCLI is the embedded CLI when running in dev mode.
type InteractiveCLI ¶
type InteractiveCLI struct {
BuildAndDeploy
}
InteractiveCLI is the CLI that is used when running in interactive mode.
type KongContextBinder ¶
Source Files
¶
- app.go
- cmd_bench.go
- cmd_build.go
- cmd_call.go
- cmd_changeset.go
- cmd_changeset_list.go
- cmd_changeset_rollback.go
- cmd_config.go
- cmd_deploy.go
- cmd_dev.go
- cmd_download.go
- cmd_edit.go
- cmd_goose.go
- cmd_init.go
- cmd_interactive.go
- cmd_kill.go
- cmd_logs.go
- cmd_logs_set_level.go
- cmd_lsp.go
- cmd_mcp.go
- cmd_module.go
- cmd_module_new.go
- cmd_mysql.go
- cmd_ping.go
- cmd_postgres.go
- cmd_profile.go
- cmd_ps.go
- cmd_pubsub.go
- cmd_realm.go
- cmd_replay.go
- cmd_schema.go
- cmd_schema_diff.go
- cmd_schema_ebnf.go
- cmd_schema_example.go
- cmd_schema_generate.go
- cmd_schema_get.go
- cmd_secret.go
- cmd_serve.go
- cmd_sql_migration_new.go
- cmd_sql_new.go
- cmd_update.go
- inner_cmd.go
Click to show internal directories.
Click to hide internal directories.