A cloud bucket application
Pictures are worth a thousand words, right? Let's use some diagrams to help describe our basic application architecture.
Next, we will see the high-level architecture of our application that we'll call onion
. (An onion has layers, so we'll use that metaphor to remind us of the layers.)Â Â It moves files from the SOURCE Cloud Bucket to the local filesystem and then to the SINK Cloud Bucket.
The purple API box in the following diagram represents the web services API that our onion.go
application exposes for the administrative user. The red API represents the Google Cloud Platform storage API:
The admin will direct the onion.go
application to download a log file from the SOURCE Cloud Bucket to the local filesystem. The admin can subsequently tell onion.go
to upload the file to the SINK Cloud Bucket.
The purple paths, for example, /health
, /list-source-buckets
, and /list-sink-buckets
 are the web service APIs that our onion application exposes to the administrative user...