Documentation
¶
Overview ¶
Package upload2gcs in the upload2gcs go module is a function based on the function framework to upload JSON files to a Google Cloud Storage bucket
Triggered by ¶
A cloud event containing the document content to be published ¶
Output ¶
- Created / updated / deleted doc in firestore
Cardinality ¶
- one-one
Automatic retrying ¶
Yes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Env ¶
type Env struct { KConfiguration string `envconfig:"k_configuration"` KRevision string `envconfig:"k_revision"` KService string `envconfig:"k_service"` }
Env list environment variables
type Global ¶
type Global struct { CommonEv glo.CommonEntryValues // contains filtered or unexported fields }
Global structure for global variables to optimize the performances in serverless mode
type ServiceEnv ¶
type ServiceEnv struct { AssetJSONBucketName string `envconfig:"asset_json_bucket_name"` Environment string `envconfig:"environment" default:"dev"` LogOnlySeveritylevels string `envconfig:"log_only_severity_levels" default:"WARNING NOTICE CRITICAL"` ProjectID string `envconfig:"project_id" required:"true"` StartProfiler bool `envconfig:"start_profiler" default:"false"` }
ServiceEnv list environment variables prefixed with the name of the microservice
Source Files
¶
Click to show internal directories.
Click to hide internal directories.