Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StartConfig ¶
type StartConfig struct { DatabaseURL string `mapstructure:"database-url" validate:"url"` StorageURL string `mapstructure:"storage-url" validate:"url"` Addr string `mapstructure:"addr" validate:"hostname_port"` TLS bool `mapstructure:"tls"` TLSAddr string `mapstructure:"tls-addr" validate:"hostname_port"` TLSACMEEndpoint string `mapstructure:"tls-acme-endpoint"` TLSACMEEmail string `mapstructure:"tls-acme-email"` TLSProtectKey string `mapstructure:"tls-protect-key"` Controller bool `mapstructure:"controller"` Cron bool `mapstructure:"cron"` Sites bool `mapstructure:"sites"` ControllerDomain string `mapstructure:"controller-domain" validate:"omitempty,hostname_rfc1123"` StartSitesConfig `mapstructure:",squash"` StartControllerConfig `mapstructure:",squash"` StartCronConfig `mapstructure:",squash"` }
type StartControllerConfig ¶
type StartControllerConfig struct { MaxDeploymentSize string `mapstructure:"max-deployment-size" validate:"size"` StorageKeyPrefix string `mapstructure:"storage-key-prefix"` TokenSigningKey string `mapstructure:"token-signing-key"` TokenAuthority string `mapstructure:"token-authority"` ReservedApps []string `mapstructure:"reserved-apps"` APIACLFile string `mapstructure:"api-acl" validate:"omitempty,filepath"` CustomDomainMessage string `mapstructure:"custom-domain-message"` }
type StartCronConfig ¶
type StartSitesConfig ¶
type StartSitesConfig struct { HostPattern string `mapstructure:"host-pattern"` HostIDScheme config.HostIDScheme `mapstructure:"host-id-scheme" validate:"hostidscheme"` }
Click to show internal directories.
Click to hide internal directories.