aboutsummaryrefslogtreecommitdiffhomepage
path: root/dhall/Addon.dhall
blob: b7ab9581191e743f43aacb1144f714175375176b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
let Addon =
      < Postgresql : { name : Text, env_prefix : Text }
      | Mysql : { name : Text, env_prefix : Text }
      | Redis : { 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" }

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