aboutsummaryrefslogtreecommitdiffhomepage
path: root/dhall/Addon.dhall
blob: 4eb0613db61fb241a5289191a53358195b0021c0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
let Addon =
      < Postgresql : { name : Text, env_prefix : Text }
      | Mysql : { name : Text, env_prefix : Text }
      | Redis : { name : Text, env_prefix : Text }
      | MongoDB : { name : Text, env_prefix : Text }
      >

let postgresql =
      Addon.Postgresql { name = "pg", env_prefix = "POSTGRESQL_ADDON" }

let mysql = Addon.Mysql { name = "mysql", env_prefix = "MYSQL_ADDON" }

let redis = Addon.Redis { name = "redis", env_prefix = "REDIS" }

let mongodb = Addon.MongoDB { name = "mongodb", env_prefix = "MONGODB_ADDON" }

in  { Type = Addon, postgresql, mysql, redis, mongodb }