gcs-regexp-resource.dhall 611 B

12345678910111213141516171819202122
  1. let Concourse = ../lib/dhall-concourse/types.dhall
  2. let Defaults = ../lib/dhall-concourse/defaults.dhall
  3. let Prelude = ../lib/prelude/package.dhall
  4. in λ(name : Text)
  5. → λ(jsonKey : Text)
  6. → λ(bucket : Text)
  7. → λ(regexp : Text)
  8. → Defaults.Resource
  9. ⫽ { name = name
  10. , type = ../resource-types/gcs.dhall
  11. , source =
  12. Some
  13. [ Prelude.JSON.keyText "json_key" jsonKey
  14. , Prelude.JSON.keyText "bucket" bucket
  15. , Prelude.JSON.keyText "regexp" regexp
  16. ]
  17. }
  18. : Concourse.Resource