Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Google Cloud Function + Go

Google Cloud Function + Go

2019年2月19日に開催されたオタクが最新技術を追うライトニングトークイベントのライトニングトーク資料です。

6ab47a68ee78e84c34731ce12333deff?s=128

虎の穴ラボ株式会社

February 19, 2019
Tweet

More Decks by 虎の穴ラボ株式会社

Other Decks in Technology

Transcript

  1. Copyright (C) 2019 Toranoana Inc. All Rights Google Cloud Functions

    + Go  ΦλΫ͕࠷৽ٕज़Λ௥͏ϥΠτχϯάτʔΫΠϕϯτճ໨ ދͷ݀ϥϘ ্ా ণ׮
  2. Copyright (C) 2019 Toranoana Inc. All Rights  1. Google

    Cloud Functions 2. Go Module 3. Google Cloud Functions  4.  5.  2
  3. Copyright (C) 2019 Toranoana Inc. All Rights # (Masahiro Ueda)

    • 20175' &% • KEEPER,    *",+$ •  () Kotlin, Go •   !   3
  4. Copyright (C) 2019 Toranoana Inc. All Rights  1 Google

    Cloud Functions Go   4
  5. Copyright (C) 2019 Toranoana Inc. All Rights Google Cloud Functions

    5 • Google Cloud Platform   •  #    → " ! • Node.js 6 
  6. Copyright (C) 2019 Toranoana Inc. All Rights   

    6 • Cloud Storage • Cloud Pub/Sub • FirebaseDBStorage   Auth
  7. Copyright (C) 2019 Toranoana Inc. All Rights Go Module 7

    Go  1.11     Google Cloud Functions 
  8. Copyright (C) 2019 Toranoana Inc. All Rights  8 

         GCF 
  9. Copyright (C) 2019 Toranoana Inc. All Rights   

    9 https://github.com/toranoana/google-cloud-functions-sample-go
  10. Copyright (C) 2019 Toranoana Inc. All Rights #① 10 Google

    Cloud Storage  ! Google Cloud Functions &  "  !$%  !  !  ! #
  11. Copyright (C) 2019 Toranoana Inc. All Rights $② 11 &%#

    ! "    
  12. Copyright (C) 2019 Toranoana Inc. All Rights  12 $

    gcloud functions deploy google-cloud-functions- sample-go --entry-point OnStorageFinalize --runtime go111 --trigger-event=google.storage.object.finalize --trigger-resource images-sample  #'  $(GCS #' & Go)%! GCS "   
  13. Copyright (C) 2019 Toranoana Inc. All Rights  13

  14. Copyright (C) 2019 Toranoana Inc. All Rights   •

    GCF GCS .!"-0 • , ' )$2 –   8*/GCF #(4  • Go35 %1"-7& 35 +6  14