Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Service ServiceCfg `mapstructure:"service"` ContentCfg ContentSvcConfig `mapstructure:"content"` ManagerCfg ManagerSvcConfig `mapstructure:"manager"` Loadbalancer LoadbalancerCfg `mapstructure:"loadbalancer"` Postgres PostgresCfg `mapstructure:"postgres"` TracerProvider TracerProvider `mapstructure:"tracer"` }
Config The root config structure for the provisioner service
type ContentSvcConfig ¶
type ContentSvcConfig struct { Port string `mapstructure:"port"` Host string `mapstructure:"host"` }
ContentSvcConfig config to allow the provisioner to make calls to the content service
type LoadbalancerCfg ¶
type LoadbalancerCfg struct { Domain string `mapstructure:"domain"` JoinSlug string `mapstructure:"join-slug"` }
LoadbalancerCfg config to tell the provisioner about the loadbalancer
type ManagerSvcConfig ¶
type ManagerSvcConfig struct { Port string `mapstructure:"port"` Host string `mapstructure:"host"` }
ManagerSvcConfig config to allow the provisioner to make calls to the manager service
type PostgresCfg ¶
type PostgresCfg struct { Host string `mapstructure:"host"` Port string `mapstructure:"port"` User string `mapstructure:"user"` Password string `mapstructure:"password"` DBName string `mapstructure:"dbname"` }
PostgresCfg config to allow the service to access postgres
type ServiceCfg ¶
ServiceCfg Configuration specific to the provisioner service
type TracerProvider ¶
type TracerProvider struct {
URL string `mapstructure:"url"`
}
Click to show internal directories.
Click to hide internal directories.