Documentation ¶
Index ¶
Constants ¶
View Source
const ( CoreImg = "ghcr.io/funlessdev/core:latest" WorkerImg = "ghcr.io/funlessdev/worker:latest" LocalLogsPath = "funless-logs" DefaultTemplateRepository = "https://github.com/funlessdev/fl-templates.git" ConfigDir = ".fl" ConfigFileName = "config" ConfigKeys = "api_host,api_token,admin_token,secret_key_base" )
Variables ¶
View Source
var SupportedLanguages = map[string]Language{ "js": { Name: "Javascript", BuilderImage: "ghcr.io/funlessdev/fl-js-builder:latest", Extensions: []string{".js"}, MustContainFiles: []string{"package.json"}, }, "rust": { Name: "Rust", BuilderImage: "ghcr.io/funlessdev/fl-rust-builder:latest", Extensions: []string{".rs"}, MustContainFiles: []string{"Cargo.toml"}, }, }
Functions ¶
func ExtractError ¶ added in v0.4.0
Types ¶
type FLContextKey ¶ added in v0.4.0
type FLContextKey string
type FLError ¶ added in v0.4.0
type FLError struct { Errors struct { Detail string `json:"detail"` } `json:"errors"` }
type ModuleNameList ¶ added in v0.4.0
type ModuleNameList struct {
Names []string
}
type SingleModule ¶ added in v0.4.0
type UserNameToken ¶ added in v0.4.0
type UserNamesList ¶ added in v0.4.0
type UserNamesList struct {
Names []string
}
Click to show internal directories.
Click to hide internal directories.