docs: refreshed stdlib
Signed-off-by: Sam Alba <sam.alba@gmail.com>
This commit is contained in:
parent
d1454a9871
commit
5eb40b3176
@ -4,7 +4,7 @@ sidebar_label: cloudformation
|
||||
|
||||
# dagger.io/aws/cloudformation
|
||||
|
||||
AWS Cloud Formation
|
||||
AWS CloudFormation
|
||||
|
||||
## #Stack
|
||||
|
||||
@ -19,10 +19,13 @@ AWS CloudFormation Stack
|
||||
|*config.secretKey* | `dagger.#Secret` |AWS secret key |
|
||||
|*source* | `string` |Source is the Cloudformation template (JSON/YAML string) |
|
||||
|*stackName* | `string` |Stackname is the cloudformation stack |
|
||||
|*parameters* | `struct` |Stack parameters |
|
||||
|*onFailure* | `*"DO_NOTHING" \| "ROLLBACK" \| "DELETE"` |Behavior when failure to create/update the Stack |
|
||||
|*timeout* | `*10 \| \>=0 & int` |Maximum waiting time until stack creation/update (in minutes) |
|
||||
|*neverUpdate* | `*false \| bool` |Never update the stack if already exists |
|
||||
|*neverUpdate* | `*false \| true` |Never update the stack if already exists |
|
||||
|
||||
### #Stack Outputs
|
||||
|
||||
_No output._
|
||||
| Name | Type | Description |
|
||||
| ------------- |:-------------: |:-------------: |
|
||||
|*outputs* | `struct` |- |
|
||||
|
@ -8,7 +8,7 @@ Amazon Elastic Container Registry (ECR)
|
||||
|
||||
## #Credentials
|
||||
|
||||
Convert AWS credentials to Docker Registry credentials for ECR
|
||||
Convert ECR credentials to Docker Login format
|
||||
|
||||
### #Credentials Inputs
|
||||
|
||||
@ -23,4 +23,7 @@ Convert AWS credentials to Docker Registry credentials for ECR
|
||||
|
||||
### #Credentials Outputs
|
||||
|
||||
_No output._
|
||||
| Name | Type | Description |
|
||||
| ------------- |:-------------: |:-------------: |
|
||||
|*username* | `"AWS"` |ECR registry |
|
||||
|*secret* | `string` |ECR registry secret |
|
||||
|
@ -6,11 +6,11 @@ sidebar_label: rds
|
||||
|
||||
AWS Relational Database Service (RDS)
|
||||
|
||||
## #CreateDB
|
||||
## #Database
|
||||
|
||||
Creates a new Database on an existing RDS Instance
|
||||
|
||||
### #CreateDB Inputs
|
||||
### #Database Inputs
|
||||
|
||||
| Name | Type | Description |
|
||||
| ------------- |:-------------: |:-------------: |
|
||||
@ -22,36 +22,12 @@ Creates a new Database on an existing RDS Instance
|
||||
|*secretArn* | `string` |ARN of the database secret (for connecting via rds api) |
|
||||
|*dbType* | `string` |Database type MySQL or PostgreSQL (Aurora Serverless only) |
|
||||
|
||||
### #CreateDB Outputs
|
||||
### #Database Outputs
|
||||
|
||||
| Name | Type | Description |
|
||||
| ------------- |:-------------: |:-------------: |
|
||||
|*out* | `string` |Name of the DB created |
|
||||
|
||||
## #CreateUser
|
||||
|
||||
Creates a new user credentials on an existing RDS Instance
|
||||
|
||||
### #CreateUser Inputs
|
||||
|
||||
| Name | Type | Description |
|
||||
| ------------- |:-------------: |:-------------: |
|
||||
|*config.region* | `string` |AWS region |
|
||||
|*config.accessKey* | `dagger.#Secret` |AWS access key |
|
||||
|*config.secretKey* | `dagger.#Secret` |AWS secret key |
|
||||
|*username* | `string` |Username |
|
||||
|*password* | `string` |Password |
|
||||
|*dbArn* | `string` |ARN of the database instance |
|
||||
|*secretArn* | `string` |ARN of the database secret (for connecting via rds api) |
|
||||
|*grantDatabase* | `*"" \| string` |Name of the database to grants access to |
|
||||
|*dbType* | `string` |Database type MySQL or PostgreSQL (Aurora Serverless only) |
|
||||
|
||||
### #CreateUser Outputs
|
||||
|
||||
| Name | Type | Description |
|
||||
| ------------- |:-------------: |:-------------: |
|
||||
|*out* | `string` |Outputed username |
|
||||
|
||||
## #Instance
|
||||
|
||||
Fetches information on an existing RDS Instance
|
||||
@ -72,3 +48,27 @@ Fetches information on an existing RDS Instance
|
||||
|*hostname* | `_\|_` |DB hostname |
|
||||
|*port* | `_\|_` |DB port |
|
||||
|*info* | `_\|_` |- |
|
||||
|
||||
## #User
|
||||
|
||||
Creates a new user credentials on an existing RDS Instance
|
||||
|
||||
### #User Inputs
|
||||
|
||||
| Name | Type | Description |
|
||||
| ------------- |:-------------: |:-------------: |
|
||||
|*config.region* | `string` |AWS region |
|
||||
|*config.accessKey* | `dagger.#Secret` |AWS access key |
|
||||
|*config.secretKey* | `dagger.#Secret` |AWS secret key |
|
||||
|*username* | `string` |Username |
|
||||
|*password* | `string` |Password |
|
||||
|*dbArn* | `string` |ARN of the database instance |
|
||||
|*secretArn* | `string` |ARN of the database secret (for connecting via rds api) |
|
||||
|*grantDatabase* | `*"" \| string` |Name of the database to grants access to |
|
||||
|*dbType* | `string` |Database type MySQL or PostgreSQL (Aurora Serverless only) |
|
||||
|
||||
### #User Outputs
|
||||
|
||||
| Name | Type | Description |
|
||||
| ------------- |:-------------: |:-------------: |
|
||||
|*out* | `string` |Outputed username |
|
||||
|
@ -40,7 +40,7 @@ S3 Bucket sync
|
||||
|*config.secretKey* | `dagger.#Secret` |AWS secret key |
|
||||
|*source* | `dagger.#Artifact` |Source Artifact to upload to S3 |
|
||||
|*target* | `string` |Target S3 URL (eg. s3://\<bucket-name\>/\<path\>/\<sub-path\>) |
|
||||
|*delete* | `*false \| bool` |Files that exist in the destination but not in the source are deleted during sync. |
|
||||
|*delete* | `*false \| bool` |Delete files that already exist on remote destination |
|
||||
|*contentType* | `*"" \| string` |Object content type |
|
||||
|*always* | `*true \| bool` |Always write the object to S3 |
|
||||
|
||||
|
@ -22,4 +22,5 @@ Credentials retriever for GCR
|
||||
|
||||
| Name | Type | Description |
|
||||
| ------------- |:-------------: |:-------------: |
|
||||
|*secret* | `string` |- |
|
||||
|*username* | `"oauth2accesstoken"` |GCR registry username |
|
||||
|*secret* | `string` |GCR registry secret |
|
||||
|
@ -4,6 +4,8 @@ sidebar_label: helm
|
||||
|
||||
# dagger.io/kubernetes/helm
|
||||
|
||||
Helm package manager
|
||||
|
||||
## #Chart
|
||||
|
||||
Install a Helm chart
|
||||
|
@ -8,6 +8,8 @@ import (
|
||||
)
|
||||
|
||||
// S3 Bucket upload (file or directory)
|
||||
// FIXME: rename #Put to use a noun
|
||||
// FIXME: deprecate in favor of #Sync
|
||||
#Put: {
|
||||
|
||||
// AWS Config
|
||||
@ -93,6 +95,7 @@ import (
|
||||
}
|
||||
|
||||
// S3 Bucket sync
|
||||
// FIXME: rename #Sync to use a noun
|
||||
#Sync: {
|
||||
|
||||
// AWS Config
|
||||
|
Reference in New Issue
Block a user