Documentation
¶
Overview ¶
Package daemon configures and starts the otfd daemon and its subsystems.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyDefaults ¶
func ApplyDefaults(cfg *Config)
Types ¶
type Config ¶
type Config struct {
AgentConfig *agent.Config
CacheConfig *inmem.CacheConfig
Github cloud.CloudOAuthConfig
Gitlab cloud.CloudOAuthConfig
Secret string // secret for signing URLs
SiteToken string
Host string
Address string
Database string
MaxConfigSize int64
SSL bool
CertFile, KeyFile string
EnableRequestLogging bool
DevMode bool
DisableScheduler bool
RestrictOrganizationCreation bool
SiteAdmins []string
tokens.GoogleIAPConfig
}
Config configures the otfd daemon. Descriptions of each field can be found in the flag definitions in ./cmd/otfd
type Daemon ¶
type Daemon struct {
Config
logr.Logger
otf.DB
*pubsub.Broker
organization.OrganizationService
orgcreator.OrganizationCreatorService
auth.AuthService
tokens.TokensService
variable.VariableService
vcsprovider.VCSProviderService
state.StateService
workspace.WorkspaceService
module.ModuleService
otf.HostnameService
configversion.ConfigurationVersionService
run.RunService
repo.RepoService
logs.LogsService
Handlers []otf.Handlers
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.