Documentation
¶
Overview ¶
Package velox defines configuration types and validation used by Velox builds.
Index ¶
Constants ¶
View Source
const ( V2025 string = "v2025" V2024 string = "v2024" V2023 string = "v2023" V2 string = "v2" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CodeHosting ¶
type CodeHosting struct {
BaseURL *Endpoint `mapstructure:"endpoint"`
Token *Token `mapstructure:"token"`
Plugins map[string]*PluginConfig `mapstructure:"plugins"`
}
type Config ¶
type Config struct {
// Version
Roadrunner map[string]string `mapstructure:"roadrunner"`
// Debug configuration
Debug *Debug `mapstructure:"debug"`
// GitHub configuration
GitHub *CodeHosting `mapstructure:"github"`
// GitLab configuration
GitLab *CodeHosting `mapstructure:"gitlab"`
// Log contains log configuration
Log map[string]string `mapstructure:"log"`
}
type ModulesInfo ¶
type ModulesInfo struct {
// Version - commit sha or tag
Version string
// PseudoVersion - Go pseudo version
PseudoVersion string
// module name - eg: github.com/roadrunner-server/logger/v2
ModuleName string
// Replace (for the local dev)
Replace string
}
ModulesInfo represents single go module
type PluginConfig ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package builder builds RoadRunner binaries with selected plugins and target platform options.
|
Package builder builds RoadRunner binaries with selected plugins and target platform options. |
|
templates
Package templates provides template data structures and compilers for generated RoadRunner sources.
|
Package templates provides template data structures and compilers for generated RoadRunner sources. |
|
cmd
|
|
|
vx
command
Package main provides the vx CLI entrypoint.
|
Package main provides the vx CLI entrypoint. |
|
Package github provides a client for downloading and extracting RoadRunner templates from GitHub.
|
Package github provides a client for downloading and extracting RoadRunner templates from GitHub. |
|
Package gitlab provides a client for reading plugin module metadata from GitLab repositories.
|
Package gitlab provides a client for reading plugin module metadata from GitLab repositories. |
|
internal
|
|
|
cli
Package cli wires the root cobra command and shared CLI setup.
|
Package cli wires the root cobra command and shared CLI setup. |
|
cli/build
Package build provides the CLI command that builds RoadRunner from Velox config.
|
Package build provides the CLI command that builds RoadRunner from Velox config. |
|
version
Package version exposes build-time version and timestamp helpers.
|
Package version exposes build-time version and timestamp helpers. |
|
Package logger builds zap loggers and custom encoders used by Velox.
|
Package logger builds zap loggers and custom encoders used by Velox. |
Click to show internal directories.
Click to hide internal directories.