summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorocramz <>2018-03-13 16:43:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2018-03-13 16:43:00 (GMT)
commit8e2359eaf194d4fde901f560bc2a8cd32c5add31 (patch)
tree5e128ddaefd2e044b87eeebc707706ddd4949573
parent115f2591de8ea7b5e889001d22a74478d38395d1 (diff)
version 0.1.2HEAD0.1.2master
-rw-r--r--goggles-gcs.cabal2
-rw-r--r--src/Network/Goggles/Auth/GCP.hs5
-rw-r--r--src/Network/Goggles/Auth/GCP/TokenExchange.hs2
-rw-r--r--src/Network/Goggles/GCS.hs8
4 files changed, 14 insertions, 3 deletions
diff --git a/goggles-gcs.cabal b/goggles-gcs.cabal
index f46ff49..c019f39 100644
--- a/goggles-gcs.cabal
+++ b/goggles-gcs.cabal
@@ -1,5 +1,5 @@
name: goggles-gcs
-version: 0.1.1
+version: 0.1.2
synopsis: `goggles` interface to Google Cloud Storage
description: `goggles` interface to Google Cloud Storage
homepage: https://github.com/ocramz/goggles-gcs
diff --git a/src/Network/Goggles/Auth/GCP.hs b/src/Network/Goggles/Auth/GCP.hs
index 7dc23bf..347dc53 100644
--- a/src/Network/Goggles/Auth/GCP.hs
+++ b/src/Network/Goggles/Auth/GCP.hs
@@ -1,6 +1,9 @@
module Network.Goggles.Auth.GCP
(
- GCP(..), scopesDefault,
+ GCP(..),
+ GCPServiceAccount(..),
+ GCPTokenOptions(..) ,
+ scopesDefault,
getObject,
getObjectMetadata,
listObjects,
diff --git a/src/Network/Goggles/Auth/GCP/TokenExchange.hs b/src/Network/Goggles/Auth/GCP/TokenExchange.hs
index 21d2317..746a4e3 100644
--- a/src/Network/Goggles/Auth/GCP/TokenExchange.hs
+++ b/src/Network/Goggles/Auth/GCP/TokenExchange.hs
@@ -3,6 +3,8 @@
module Network.Goggles.Auth.GCP.TokenExchange (
scopesDefault
, GCP
+ , GCPServiceAccount(..)
+ , GCPTokenOptions(..)
, requestTokenGCP
, getObject
, getObjectMetadata
diff --git a/src/Network/Goggles/GCS.hs b/src/Network/Goggles/GCS.hs
index e28cb41..0498824 100644
--- a/src/Network/Goggles/GCS.hs
+++ b/src/Network/Goggles/GCS.hs
@@ -29,11 +29,17 @@ This first example, @listBucket@, reads content from a cloud storage bucket:
-}
module Network.Goggles.GCS (
- GCP(..), scopesDefault,
+ -- * Types
+ GCP(..),
+ GCPServiceAccount(..),
+ GCPTokenOptions(..),
+ scopesDefault,
+ -- * Methods
getObject,
getObjectMetadata,
listObjects,
putObject,
+ -- * Token handling
requestTokenGCP
)
where