Documentation ¶
Index ¶
Constants ¶
View Source
const ( LogFormatConsole = "console" LogFormatJSON = "json" )
Default log formats for logger
View Source
const ( DefaultInstanceID = "default" DefaultOLAPDriver = "duckdb" DefaultOLAPDSN = "main.db" DefaultCatalogStore = "meta.db" DefaultDBDir = "tmp" )
Default instance config on local.
Variables ¶
This section is empty.
Functions ¶
func IsProjectInit ¶ added in v0.36.0
IsProjectInit checks if the project is initialized by checking if rill.yaml exists in the project directory. It doesn't use any runtime functions since we need the ability to check this before creating the instance.
Types ¶
type App ¶
type App struct { Context context.Context Runtime *runtime.Runtime Instance *drivers.Instance Logger *zap.SugaredLogger BaseLogger *zap.Logger Version cmdutil.Version Verbose bool Debug bool ProjectPath string // contains filtered or unexported fields }
App encapsulates the logic associated with configuring and running the UI and the runtime in a local environment. Here, a local environment means a non-authenticated, single-instance and single-project setup on localhost. App encapsulates logic shared between different CLI commands, like start, init, build and source.
type AppOptions ¶ added in v0.41.0
Click to show internal directories.
Click to hide internal directories.