Documentation
¶
Overview ¶
Package services builds and configures a dependency tree of otf services. For use by the otfd binary and for integration testing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
AgentConfig *agent.Config
LoggerConfig *cmdutil.LoggerConfig
CacheConfig *inmem.CacheConfig
Github cloud.CloudOAuthConfig
Gitlab cloud.CloudOAuthConfig
Secret string // secret for signing URLs
SiteToken string
Host string
Address, Database string
MaxConfigSize int64
SSL bool
CertFile, KeyFile string
EnableRequestLogging bool
DevMode bool
}
func NewDefaultConfig ¶
func NewDefaultConfig() Config
type Services ¶
type Services struct {
Config
Handlers []otf.Handlers
organization.OrganizationService
auth.AuthService
variable.VariableService
vcsprovider.VCSProviderService
state.StateService
workspace.WorkspaceService
module.ModuleService
otf.HostnameService
configversion.ConfigurationVersionService
run.RunService
repo.RepoService
logs.LogsService
pubsub.Broker
}
Click to show internal directories.
Click to hide internal directories.