gcs-resource.dhall 633 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. → λ(versionedFile : 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 "versioned_file" versionedFile
  16. ]
  17. }
  18. : Concourse.Resource