diff options
author | Clément Delafargue <39330590+clementd-fretlink@users.noreply.github.com> | 2020-07-03 15:16:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-03 15:16:54 +0200 |
commit | 315c7f51af48b54719bd793d9d28a4bb396a926a (patch) | |
tree | a9e2e081805d89fa1b924d6b2f85be342fd0cc54 /dhall/ServiceDependency.dhall | |
parent | 90634ee04cc1a4ab983de6bf142f25978463bc4a (diff) | |
parent | 3d3287e0767d13b0a81e5936ce9376d58f42e34c (diff) | |
download | ansible-clever-315c7f51af48b54719bd793d9d28a4bb396a926a.tar.gz ansible-clever-315c7f51af48b54719bd793d9d28a4bb396a926a.tar.zst ansible-clever-315c7f51af48b54719bd793d9d28a4bb396a926a.zip |
Merge pull request #74 from clementd-fretlink/service-dependenciesv2.7
Service dependencies
Diffstat (limited to 'dhall/ServiceDependency.dhall')
-rw-r--r-- | dhall/ServiceDependency.dhall | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dhall/ServiceDependency.dhall b/dhall/ServiceDependency.dhall new file mode 100644 index 0000000..9cad9b4 --- /dev/null +++ b/dhall/ServiceDependency.dhall | |||
@@ -0,0 +1,9 @@ | |||
1 | let ServiceDependency = | ||
2 | < Addon : { addon_id : Text } | Application : { app_id : Text } > | ||
3 | |||
4 | let addon = λ(addon_id : Text) → ServiceDependency.Addon { addon_id = addon_id } | ||
5 | |||
6 | let application = | ||
7 | λ(app_id : Text) → ServiceDependency.Application { app_id = app_id } | ||
8 | |||
9 | in { Type = ServiceDependency, addon = addon, application = application } | ||