Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RuntimeCmd ¶
RuntimeCmd represents the runtime command
Types ¶
type Config ¶
type Config struct {
HTTPPort int `default:"8080" split_words:"true"`
GRPCPort int `default:"9090" split_words:"true"`
LogLevel zapcore.Level `default:"info" split_words:"true"`
MetastoreDriver string `default:"sqlite"`
MetastoreURL string `default:"file:rill?mode=memory&cache=shared" split_words:"true"`
AuthEnable bool `default:"false" split_words:"true"`
AuthIssuerURL string `default:"" split_words:"true"`
AuthAudienceURL string `default:"" split_words:"true"`
ConnectionCacheSize int `default:"100" split_words:"true"`
QueryCacheSize int `default:"10000" split_words:"true"`
AllowHostCredentials bool `default:"false" split_words:"true"`
}
Config describes runtime server config derived from environment variables. Env var keys must be prefixed with RILL_RUNTIME_ and are converted from snake_case to CamelCase. For example RILL_RUNTIME_HTTP_PORT is mapped to Config.HTTPPort.
Click to show internal directories.
Click to hide internal directories.