Documentation
¶
Index ¶
- type AdminAPIConfig
- type AdminAPIType
- type AppConfig
- type AppKubernetesConfig
- type AuditLogConfig
- type AuthgearConfig
- type DomainImplementationType
- type GoogleTagManagerConfig
- type KubernetesConfig
- type MailConfig
- type OsanoConfig
- type PortalFeaturesConfig
- type PortalFrontendSentryConfig
- type SMTPConfig
- type SearchConfig
- type StripeConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminAPIConfig ¶
type AdminAPIConfig struct { Type AdminAPIType `envconfig:"TYPE" default:"static"` Auth config.AdminAPIAuth `envconfig:"AUTH" default:"jwt"` // Endpoint is used in http.Request.URL to connect the server. Endpoint string `envconfig:"ENDPOINT" default:"http://localhost:3002"` }
type AppConfig ¶
type AppConfig struct { HostSuffix string `envconfig:"HOST_SUFFIX" default:".localhost:3002"` IDPattern string `envconfig:"ID_PATTERN" default:"^[a-z0-9][a-z0-9-]{2,30}[a-z0-9]$"` Kubernetes AppKubernetesConfig `envconfig:"KUBERNETES"` // CustomResourceDirectory sets the directory for customized resource files CustomResourceDirectory string `envconfig:"CUSTOM_RESOURCE_DIRECTORY"` // MaxOwnedApps controls how many apps a user can own. MaxOwnedApps int `envconfig:"MAX_OWNED_APPS" default:"-1"` // DefaultPlan defines the default plan for apps during app creation DefaultPlan string `envconfig:"DEFAULT_PLAN"` }
type AppKubernetesConfig ¶
type AppKubernetesConfig struct {
IngressTemplateFile string `envconfig:"INGRESS_TEMPLATE_FILE"`
}
type AuditLogConfig ¶
type AuditLogConfig struct {
Enabled bool `envconfig:"ENABLED" default:"false"`
}
type AuthgearConfig ¶
type DomainImplementationType ¶
type DomainImplementationType string
const ( DomainImplementationTypeNone DomainImplementationType = "" DomainImplementationTypeKubernetes DomainImplementationType = "kubernetes" )
type GoogleTagManagerConfig ¶
type GoogleTagManagerConfig struct {
ContainerID string `envconfig:"CONTAINER_ID"`
}
type KubernetesConfig ¶
type KubernetesConfig struct { // KubeConfig indicates the path to the `.kubeconfig` config file KubeConfig string `envconfig:"KUBERNETES_KUBECONFIG"` // AppNamespace indicates the namespace where the app's resources (e.g. ingress, cert) resides AppNamespace string `envconfig:"KUBERNETES_APP_NAMESPACE"` }
type MailConfig ¶
type OsanoConfig ¶
type OsanoConfig struct {
ScriptSrc string `envconfig:"SCRIPT_SRC"`
}
type PortalFeaturesConfig ¶
type PortalFeaturesConfig struct {
ShowCustomSMSGateway bool `envconfig:"SHOW_CUSTOM_SMS_GATEWAY" default:"false"`
}
type PortalFrontendSentryConfig ¶
type PortalFrontendSentryConfig struct {
DSN string `envconfig:"DSN"`
}
type SMTPConfig ¶
type SearchConfig ¶
type SearchConfig struct {
Enabled bool `envconfig:"ENABLED" default:"false"`
}
type StripeConfig ¶
Click to show internal directories.
Click to hide internal directories.