calendar-notifier

module
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2021 License: MIT

README

calendar-notifier

Go Reference test-and-build

Calendar Notifier provides event handler and actions triggered by Google Calendar.

dockeri.co

Features

Setup

Usage

Use docker-compose
  • Run docker-compose up
Use docker
  • Run docker build -t calendar-notifier .
  • Run docker run -e SERVICE_ACCOUNT=$(base64 < service_account.json) -e CONFIG=$(base64 < config.yml) calendar-notifier

Permission

Cloud Tasks

If use Cloud Tasks Action, service account should have the following permissions.

cloudtasks.tasks.list
cloudtasks.tasks.create
cloudtasks.tasks.delete
iam.serviceAccounts.actAs

For example, give your service account the following roles.

roles/cloudtasks.viewer
roles/cloudtasks.enqueuer
roles/cloudtasks.taskDeleter
roles/iam.serviceAccountUser
References
Cloud Pub/Sub

If use Cloud Pub/Sub Action, service account should have the following permissions.

pubsub.topics.publish

For example, give your service account the following roles.

roles/pubsub.publisher
References

Directories

Path Synopsis
cmd
domain
interface
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL