docs: refreshed stdlib

Signed-off-by: Sam Alba <sam.alba@gmail.com>
This commit is contained in:
Sam Alba
2021-06-16 12:14:39 +02:00
parent 776814910d
commit c6e3d35899
26 changed files with 293 additions and 189 deletions

View File

@@ -6,11 +6,15 @@ sidebar_label: gcp
Google Cloud Platform
## #Config
```cue
import "dagger.io/gcp"
```
## gcp.#Config
Base Google Cloud Config
### #Config Inputs
### gcp.#Config Inputs
| Name | Type | Description |
| ------------- |:-------------: |:-------------: |
@@ -18,15 +22,15 @@ Base Google Cloud Config
|*project* | `string` |GCP project |
|*serviceKey* | `dagger.#Secret` |GCP service key |
### #Config Outputs
### gcp.#Config Outputs
_No output._
## #GCloud
## gcp.#GCloud
Re-usable gcloud component
### #GCloud Inputs
### gcp.#GCloud Inputs
| Name | Type | Description |
| ------------- |:-------------: |:-------------: |
@@ -34,6 +38,6 @@ Re-usable gcloud component
|*config.project* | `string` |GCP project |
|*config.serviceKey* | `dagger.#Secret` |GCP service key |
### #GCloud Outputs
### gcp.#GCloud Outputs
_No output._

View File

@@ -6,11 +6,15 @@ sidebar_label: gcr
Google Container Registry
## #Credentials
```cue
import "dagger.io/gcp/gcr"
```
## gcr.#Credentials
Credentials retriever for GCR
### #Credentials Inputs
### gcr.#Credentials Inputs
| Name | Type | Description |
| ------------- |:-------------: |:-------------: |
@@ -18,7 +22,7 @@ Credentials retriever for GCR
|*config.project* | `string` |GCP project |
|*config.serviceKey* | `dagger.#Secret` |GCP service key |
### #Credentials Outputs
### gcr.#Credentials Outputs
| Name | Type | Description |
| ------------- |:-------------: |:-------------: |

View File

@@ -6,11 +6,15 @@ sidebar_label: gke
Google Kubernetes Engine
## #KubeConfig
```cue
import "dagger.io/gcp/gke"
```
## gke.#KubeConfig
KubeConfig config outputs a valid kube-auth-config for kubectl client
### #KubeConfig Inputs
### gke.#KubeConfig Inputs
| Name | Type | Description |
| ------------- |:-------------: |:-------------: |
@@ -20,7 +24,7 @@ KubeConfig config outputs a valid kube-auth-config for kubectl client
|*clusterName* | `string` |GKE cluster name |
|*version* | `*"v1.19.9" \| string` |Kubectl version |
### #KubeConfig Outputs
### gke.#KubeConfig Outputs
| Name | Type | Description |
| ------------- |:-------------: |:-------------: |