Merge branch 'main' into cloudrun-support

This commit is contained in:
Tihomir Jovicic
2021-07-01 08:54:44 +02:00
267 changed files with 2667 additions and 1463 deletions

View File

@@ -2,12 +2,12 @@
sidebar_label: gcp
---
# dagger.io/gcp
# alpha.dagger.io/gcp
Google Cloud Platform
```cue
import "dagger.io/gcp"
import "alpha.dagger.io/gcp"
```
## gcp.#Config

View File

@@ -2,12 +2,12 @@
sidebar_label: gcr
---
# dagger.io/gcp/gcr
# alpha.dagger.io/gcp/gcr
Google Container Registry
```cue
import "dagger.io/gcp/gcr"
import "alpha.dagger.io/gcp/gcr"
```
## gcr.#Credentials

View File

@@ -0,0 +1,34 @@
---
sidebar_label: gcs
---
# alpha.dagger.io/gcp/gcs
Google Cloud Storage
```cue
import "alpha.dagger.io/gcp/gcs"
```
## gcs.#Object
GCS Bucket object(s) sync
### gcs.#Object Inputs
| Name | Type | Description |
| ------------- |:-------------: |:-------------: |
|*config.region* | `string` |GCP region |
|*config.project* | `string` |GCP project |
|*config.serviceKey* | `dagger.#Secret` |GCP service key |
|*source* | `dagger.#Artifact` |Source Artifact to upload to GCS |
|*target* | `string` |Target GCS URL (eg. gs://\<bucket-name\>/\<path\>/\<sub-path\>) |
|*delete* | `*false \| true` |Delete files that already exist on remote destination |
|*contentType* | `*"" \| string` |Object content type |
|*always* | `*true \| false` |Always write the object to GCS |
### gcs.#Object Outputs
| Name | Type | Description |
| ------------- |:-------------: |:-------------: |
|*url* | `string` |URL of the uploaded GCS object |

View File

@@ -2,12 +2,12 @@
sidebar_label: gke
---
# dagger.io/gcp/gke
# alpha.dagger.io/gcp/gke
Google Kubernetes Engine
```cue
import "dagger.io/gcp/gke"
import "alpha.dagger.io/gcp/gke"
```
## gke.#KubeConfig