make docs
Signed-off-by: Joel Longtine <joel@dagger.io>
This commit is contained in:
parent
a839ab124a
commit
b32e2da0a5
@ -16,26 +16,7 @@ Create an ArgoCD application
|
|||||||
|
|
||||||
### argocd.#App Inputs
|
### argocd.#App Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*config.version* | `*"v2.0.5" \| string` |ArgoCD CLI binary version |
|
|
||||||
|*config.server* | `string` |ArgoCD server |
|
|
||||||
|*config.project* | `*"default" \| string` |ArgoCD project |
|
|
||||||
|*config.token* | `*null \| {\n $dagger: {\n secret: {}\n }\n}` |ArgoCD authentication token |
|
|
||||||
|*name* | `string` |App name |
|
|
||||||
|*repo* | `string` |Repository url (git or helm) |
|
|
||||||
|*path* | `string` |Folder to deploy |
|
|
||||||
|*server* | `*"https://kubernetes.default.svc" \| string` |Destination server |
|
|
||||||
|*image.config.version* | `*"v2.0.5" \| string` |ArgoCD CLI binary version |
|
|
||||||
|*image.config.server* | `string` |ArgoCD server |
|
|
||||||
|*image.config.project* | `*"default" \| string` |ArgoCD project |
|
|
||||||
|*image.config.token* | `*null \| {\n $dagger: {\n secret: {}\n }\n}` |ArgoCD authentication token |
|
|
||||||
|*namespace* | `*"default" \| string` |Destination namespace |
|
|
||||||
|*env.APP_NAME* | `string` |- |
|
|
||||||
|*env.APP_REPO* | `string` |- |
|
|
||||||
|*env.APP_PATH* | `string` |- |
|
|
||||||
|*env.APP_SERVER* | `*"https://kubernetes.default.svc" \| string` |- |
|
|
||||||
|*env.APP_NAMESPACE* | `*"default" \| string` |- |
|
|
||||||
|
|
||||||
### argocd.#App Outputs
|
### argocd.#App Outputs
|
||||||
|
|
||||||
@ -47,12 +28,7 @@ Re-usable CLI component
|
|||||||
|
|
||||||
### argocd.#CLI Inputs
|
### argocd.#CLI Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*config.version* | `*"v2.0.5" \| string` |ArgoCD CLI binary version |
|
|
||||||
|*config.server* | `string` |ArgoCD server |
|
|
||||||
|*config.project* | `*"default" \| string` |ArgoCD project |
|
|
||||||
|*config.token* | `*null \| {\n $dagger: {\n secret: {}\n }\n}` |ArgoCD authentication token |
|
|
||||||
|
|
||||||
### argocd.#CLI Outputs
|
### argocd.#CLI Outputs
|
||||||
|
|
||||||
@ -64,12 +40,7 @@ ArgoCD configuration
|
|||||||
|
|
||||||
### argocd.#Config Inputs
|
### argocd.#Config Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*version* | `*"v2.0.5" \| string` |ArgoCD CLI binary version |
|
|
||||||
|*server* | `string` |ArgoCD server |
|
|
||||||
|*project* | `*"default" \| string` |ArgoCD project |
|
|
||||||
|*token* | `*null \| {\n $dagger: {\n secret: {}\n }\n}` |ArgoCD authentication token |
|
|
||||||
|
|
||||||
### argocd.#Config Outputs
|
### argocd.#Config Outputs
|
||||||
|
|
||||||
@ -81,24 +52,11 @@ Get application's status
|
|||||||
|
|
||||||
### argocd.#Status Inputs
|
### argocd.#Status Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*config.version* | `*"v2.0.5" \| string` |ArgoCD CLI binary version |
|
|
||||||
|*config.server* | `string` |ArgoCD server |
|
|
||||||
|*config.project* | `*"default" \| string` |ArgoCD project |
|
|
||||||
|*config.token* | `*null \| {\n $dagger: {\n secret: {}\n }\n}` |ArgoCD authentication token |
|
|
||||||
|*name* | `string` |ArgoCD application |
|
|
||||||
|
|
||||||
### argocd.#Status Outputs
|
### argocd.#Status Outputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No output._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*outputs.health* | `string` |Application health |
|
|
||||||
|*outputs.sync* | `string` |Application sync state |
|
|
||||||
|*outputs.namespace* | `string` |Namespace |
|
|
||||||
|*outputs.server* | `string` |Server |
|
|
||||||
|*outputs.urls* | `string` |Comma separated list of application URLs |
|
|
||||||
|*outputs.state* | `string` |Last operation state message |
|
|
||||||
|
|
||||||
## argocd.#Sync
|
## argocd.#Sync
|
||||||
|
|
||||||
@ -106,32 +64,8 @@ Sync an application to its target state
|
|||||||
|
|
||||||
### argocd.#Sync Inputs
|
### argocd.#Sync Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*config.version* | `*"v2.0.5" \| string` |ArgoCD CLI binary version |
|
|
||||||
|*config.server* | `string` |ArgoCD server |
|
|
||||||
|*config.project* | `*"default" \| string` |ArgoCD project |
|
|
||||||
|*config.token* | `*null \| {\n $dagger: {\n secret: {}\n }\n}` |ArgoCD authentication token |
|
|
||||||
|*application* | `string` |ArgoCD application |
|
|
||||||
|*wait* | `*false \| bool` |Wait the application to sync correctly |
|
|
||||||
|*ctr.image.config.version* | `*"v2.0.5" \| string` |ArgoCD CLI binary version |
|
|
||||||
|*ctr.image.config.server* | `string` |ArgoCD server |
|
|
||||||
|*ctr.image.config.project* | `*"default" \| string` |ArgoCD project |
|
|
||||||
|*ctr.image.config.token* | `*null \| {\n $dagger: {\n secret: {}\n }\n}` |ArgoCD authentication token |
|
|
||||||
|*ctr.env.APPLICATION* | `string` |- |
|
|
||||||
|*status.config.version* | `*"v2.0.5" \| string` |ArgoCD CLI binary version |
|
|
||||||
|*status.config.server* | `string` |ArgoCD server |
|
|
||||||
|*status.config.project* | `*"default" \| string` |ArgoCD project |
|
|
||||||
|*status.config.token* | `*null \| {\n $dagger: {\n secret: {}\n }\n}` |ArgoCD authentication token |
|
|
||||||
|*status.name* | `string` |ArgoCD application |
|
|
||||||
|
|
||||||
### argocd.#Sync Outputs
|
### argocd.#Sync Outputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No output._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*status.outputs.health* | `string` |Application health |
|
|
||||||
|*status.outputs.sync* | `string` |Application sync state |
|
|
||||||
|*status.outputs.namespace* | `string` |Namespace |
|
|
||||||
|*status.outputs.server* | `string` |Server |
|
|
||||||
|*status.outputs.urls* | `string` |Comma separated list of application URLs |
|
|
||||||
|*status.outputs.state* | `string` |Last operation state message |
|
|
||||||
|
@ -14,13 +14,7 @@ import "alpha.dagger.io/aws"
|
|||||||
|
|
||||||
### aws.#CLI Inputs
|
### aws.#CLI Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*config.region* | `string` |AWS region |
|
|
||||||
|*config.accessKey* | `dagger.#Secret` |AWS access key |
|
|
||||||
|*config.secretKey* | `dagger.#Secret` |AWS secret key |
|
|
||||||
|*config.localMode* | `*false \| bool` |AWS localstack mode |
|
|
||||||
|*version* | `*"1.19" \| string` |- |
|
|
||||||
|
|
||||||
### aws.#CLI Outputs
|
### aws.#CLI Outputs
|
||||||
|
|
||||||
@ -32,12 +26,7 @@ AWS Config shared by all AWS packages
|
|||||||
|
|
||||||
### aws.#Config Inputs
|
### aws.#Config Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*region* | `string` |AWS region |
|
|
||||||
|*accessKey* | `dagger.#Secret` |AWS access key |
|
|
||||||
|*secretKey* | `dagger.#Secret` |AWS secret key |
|
|
||||||
|*localMode* | `*false \| bool` |AWS localstack mode |
|
|
||||||
|
|
||||||
### aws.#Config Outputs
|
### aws.#Config Outputs
|
||||||
|
|
||||||
@ -49,13 +38,7 @@ Configuration specific to CLI v1
|
|||||||
|
|
||||||
### aws.#V1 Inputs
|
### aws.#V1 Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*config.region* | `string` |AWS region |
|
|
||||||
|*config.accessKey* | `dagger.#Secret` |AWS access key |
|
|
||||||
|*config.secretKey* | `dagger.#Secret` |AWS secret key |
|
|
||||||
|*config.localMode* | `*false \| bool` |AWS localstack mode |
|
|
||||||
|*version* | `*"1.19" \| string` |- |
|
|
||||||
|
|
||||||
### aws.#V1 Outputs
|
### aws.#V1 Outputs
|
||||||
|
|
||||||
@ -67,13 +50,7 @@ Configuration specific to CLI v2
|
|||||||
|
|
||||||
### aws.#V2 Inputs
|
### aws.#V2 Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*config.region* | `string` |AWS region |
|
|
||||||
|*config.accessKey* | `dagger.#Secret` |AWS access key |
|
|
||||||
|*config.secretKey* | `dagger.#Secret` |AWS secret key |
|
|
||||||
|*config.localMode* | `*false \| bool` |AWS localstack mode |
|
|
||||||
|*version* | `*"2.1.29" \| string` |- |
|
|
||||||
|
|
||||||
### aws.#V2 Outputs
|
### aws.#V2 Outputs
|
||||||
|
|
||||||
|
@ -16,18 +16,7 @@ AWS CloudFormation Stack
|
|||||||
|
|
||||||
### cloudformation.#Stack Inputs
|
### cloudformation.#Stack Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*config.region* | `string` |AWS region |
|
|
||||||
|*config.accessKey* | `dagger.#Secret` |AWS access key |
|
|
||||||
|*config.secretKey* | `dagger.#Secret` |AWS secret key |
|
|
||||||
|*config.localMode* | `*false \| bool` |AWS localstack mode |
|
|
||||||
|*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 \| true` |Never update the stack if already exists |
|
|
||||||
|
|
||||||
### cloudformation.#Stack Outputs
|
### cloudformation.#Stack Outputs
|
||||||
|
|
||||||
|
@ -16,21 +16,8 @@ Convert ECR credentials to Docker Login format
|
|||||||
|
|
||||||
### ecr.#Credentials Inputs
|
### ecr.#Credentials Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*config.region* | `string` |AWS region |
|
|
||||||
|*config.accessKey* | `dagger.#Secret` |AWS access key |
|
|
||||||
|*config.secretKey* | `dagger.#Secret` |AWS secret key |
|
|
||||||
|*config.localMode* | `*false \| bool` |AWS localstack mode |
|
|
||||||
|*ctr.image.config.region* | `string` |AWS region |
|
|
||||||
|*ctr.image.config.accessKey* | `dagger.#Secret` |AWS access key |
|
|
||||||
|*ctr.image.config.secretKey* | `dagger.#Secret` |AWS secret key |
|
|
||||||
|*ctr.image.config.localMode* | `*false \| bool` |AWS localstack mode |
|
|
||||||
|*ctr.image.version* | `*"1.19" \| string` |- |
|
|
||||||
|
|
||||||
### ecr.#Credentials Outputs
|
### ecr.#Credentials Outputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No output._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*username* | `"AWS"` |ECR registry |
|
|
||||||
|*secret* | `string` |ECR registry secret |
|
|
||||||
|
@ -16,17 +16,8 @@ KubeConfig config outputs a valid kube-auth-config for kubectl client
|
|||||||
|
|
||||||
### eks.#KubeConfig Inputs
|
### eks.#KubeConfig Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*config.region* | `string` |AWS region |
|
|
||||||
|*config.accessKey* | `dagger.#Secret` |AWS access key |
|
|
||||||
|*config.secretKey* | `dagger.#Secret` |AWS secret key |
|
|
||||||
|*config.localMode* | `*false \| bool` |AWS localstack mode |
|
|
||||||
|*clusterName* | `string` |EKS cluster name |
|
|
||||||
|*version* | `*"v1.19.9" \| string` |Kubectl version |
|
|
||||||
|
|
||||||
### eks.#KubeConfig Outputs
|
### eks.#KubeConfig Outputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No output._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*kubeconfig* | `string` |kubeconfig is the generated kube configuration file |
|
|
||||||
|
@ -16,16 +16,8 @@ Returns an unused rule priority (randomized in available range)
|
|||||||
|
|
||||||
### elb.#RandomRulePriority Inputs
|
### elb.#RandomRulePriority Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*config.region* | `string` |AWS region |
|
|
||||||
|*config.accessKey* | `dagger.#Secret` |AWS access key |
|
|
||||||
|*config.secretKey* | `dagger.#Secret` |AWS secret key |
|
|
||||||
|*config.localMode* | `*false \| bool` |AWS localstack mode |
|
|
||||||
|*listenerArn* | `string` |ListenerArn |
|
|
||||||
|
|
||||||
### elb.#RandomRulePriority Outputs
|
### elb.#RandomRulePriority Outputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No output._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*priority* | `string` |exported priority |
|
|
||||||
|
@ -16,22 +16,11 @@ Creates a new Database on an existing RDS Instance
|
|||||||
|
|
||||||
### rds.#Database Inputs
|
### rds.#Database Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*config.region* | `string` |AWS region |
|
|
||||||
|*config.accessKey* | `dagger.#Secret` |AWS access key |
|
|
||||||
|*config.secretKey* | `dagger.#Secret` |AWS secret key |
|
|
||||||
|*config.localMode* | `*false \| bool` |AWS localstack mode |
|
|
||||||
|*name* | `string` |DB name |
|
|
||||||
|*dbArn* | `string` |ARN of the database instance |
|
|
||||||
|*secretArn* | `string` |ARN of the database secret (for connecting via rds api) |
|
|
||||||
|*dbType* | `string` |Database type MySQL or PostgreSQL (Aurora Serverless only) |
|
|
||||||
|
|
||||||
### rds.#Database Outputs
|
### rds.#Database Outputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No output._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*out* | `string` |Name of the DB created |
|
|
||||||
|
|
||||||
## rds.#Instance
|
## rds.#Instance
|
||||||
|
|
||||||
@ -39,21 +28,11 @@ Fetches information on an existing RDS Instance
|
|||||||
|
|
||||||
### rds.#Instance Inputs
|
### rds.#Instance Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*config.region* | `string` |AWS region |
|
|
||||||
|*config.accessKey* | `dagger.#Secret` |AWS access key |
|
|
||||||
|*config.secretKey* | `dagger.#Secret` |AWS secret key |
|
|
||||||
|*config.localMode* | `*false \| bool` |AWS localstack mode |
|
|
||||||
|*dbArn* | `string` |ARN of the database instance |
|
|
||||||
|
|
||||||
### rds.#Instance Outputs
|
### rds.#Instance Outputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No output._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*hostname* | `_\|_` |DB hostname |
|
|
||||||
|*port* | `_\|_` |DB port |
|
|
||||||
|*info* | `_\|_` |- |
|
|
||||||
|
|
||||||
## rds.#User
|
## rds.#User
|
||||||
|
|
||||||
@ -61,21 +40,8 @@ Creates a new user credentials on an existing RDS Instance
|
|||||||
|
|
||||||
### rds.#User Inputs
|
### rds.#User Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*config.region* | `string` |AWS region |
|
|
||||||
|*config.accessKey* | `dagger.#Secret` |AWS access key |
|
|
||||||
|*config.secretKey* | `dagger.#Secret` |AWS secret key |
|
|
||||||
|*config.localMode* | `*false \| bool` |AWS localstack mode |
|
|
||||||
|*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) |
|
|
||||||
|
|
||||||
### rds.#User Outputs
|
### rds.#User Outputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No output._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*out* | `string` |Outputted username |
|
|
||||||
|
@ -16,20 +16,8 @@ S3 Bucket object(s) sync
|
|||||||
|
|
||||||
### s3.#Object Inputs
|
### s3.#Object Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*config.region* | `string` |AWS region |
|
|
||||||
|*config.accessKey* | `dagger.#Secret` |AWS access key |
|
|
||||||
|*config.secretKey* | `dagger.#Secret` |AWS secret key |
|
|
||||||
|*config.localMode* | `*false \| bool` |AWS localstack mode |
|
|
||||||
|*source* | `dagger.#Artifact` |Source Artifact to upload to S3 |
|
|
||||||
|*target* | `string` |Target S3 URL (eg. s3://\<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 S3 |
|
|
||||||
|
|
||||||
### s3.#Object Outputs
|
### s3.#Object Outputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No output._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*url* | `string` |URL of the uploaded S3 object |
|
|
||||||
|
@ -16,17 +16,7 @@ Azure Cli to be used by all Azure packages
|
|||||||
|
|
||||||
### azure.#CLI Inputs
|
### azure.#CLI Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*config.tenantId* | `dagger.#Secret` |AZURE tenant id |
|
|
||||||
|*config.subscriptionId* | `dagger.#Secret` |AZURE subscription id |
|
|
||||||
|*config.appId* | `dagger.#Secret` |AZURE app id for the service principal used |
|
|
||||||
|*config.password* | `dagger.#Secret` |AZURE password for the service principal used |
|
|
||||||
|*image.from* | `"mcr.microsoft.com/azure-cli:2.27.1@sha256:1e117183100c9fce099ebdc189d73e506e7b02d2b73d767d3fc07caee72f9fb1"` |Remote ref (example: "index.docker.io/alpine:latest") |
|
|
||||||
|*secret."/run/secrets/appId"* | `dagger.#Secret` |- |
|
|
||||||
|*secret."/run/secrets/password"* | `dagger.#Secret` |- |
|
|
||||||
|*secret."/run/secrets/tenantId"* | `dagger.#Secret` |- |
|
|
||||||
|*secret."/run/secrets/subscriptionId"* | `dagger.#Secret` |- |
|
|
||||||
|
|
||||||
### azure.#CLI Outputs
|
### azure.#CLI Outputs
|
||||||
|
|
||||||
@ -38,12 +28,7 @@ Azure Config shared by all Azure packages
|
|||||||
|
|
||||||
### azure.#Config Inputs
|
### azure.#Config Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*tenantId* | `dagger.#Secret` |AZURE tenant id |
|
|
||||||
|*subscriptionId* | `dagger.#Secret` |AZURE subscription id |
|
|
||||||
|*appId* | `dagger.#Secret` |AZURE app id for the service principal used |
|
|
||||||
|*password* | `dagger.#Secret` |AZURE password for the service principal used |
|
|
||||||
|
|
||||||
### azure.#Config Outputs
|
### azure.#Config Outputs
|
||||||
|
|
||||||
|
@ -14,28 +14,8 @@ Create a resource group
|
|||||||
|
|
||||||
### resourcegroup.#ResourceGroup Inputs
|
### resourcegroup.#ResourceGroup Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*config.tenantId* | `dagger.#Secret` |AZURE tenant id |
|
|
||||||
|*config.subscriptionId* | `dagger.#Secret` |AZURE subscription id |
|
|
||||||
|*config.appId* | `dagger.#Secret` |AZURE app id for the service principal used |
|
|
||||||
|*config.password* | `dagger.#Secret` |AZURE password for the service principal used |
|
|
||||||
|*rgName* | `string` |ResourceGroup name |
|
|
||||||
|*rgLocation* | `string` |ResourceGroup location |
|
|
||||||
|*ctr.image.config.tenantId* | `dagger.#Secret` |AZURE tenant id |
|
|
||||||
|*ctr.image.config.subscriptionId* | `dagger.#Secret` |AZURE subscription id |
|
|
||||||
|*ctr.image.config.appId* | `dagger.#Secret` |AZURE app id for the service principal used |
|
|
||||||
|*ctr.image.config.password* | `dagger.#Secret` |AZURE password for the service principal used |
|
|
||||||
|*ctr.image.image.from* | `"mcr.microsoft.com/azure-cli:2.27.1@sha256:1e117183100c9fce099ebdc189d73e506e7b02d2b73d767d3fc07caee72f9fb1"` |Remote ref (example: "index.docker.io/alpine:latest") |
|
|
||||||
|*ctr.image.secret."/run/secrets/appId"* | `dagger.#Secret` |- |
|
|
||||||
|*ctr.image.secret."/run/secrets/password"* | `dagger.#Secret` |- |
|
|
||||||
|*ctr.image.secret."/run/secrets/tenantId"* | `dagger.#Secret` |- |
|
|
||||||
|*ctr.image.secret."/run/secrets/subscriptionId"* | `dagger.#Secret` |- |
|
|
||||||
|*ctr.env.AZURE_DEFAULTS_GROUP* | `string` |- |
|
|
||||||
|*ctr.env.AZURE_DEFAULTS_LOCATION* | `string` |- |
|
|
||||||
|
|
||||||
### resourcegroup.#ResourceGroup Outputs
|
### resourcegroup.#ResourceGroup Outputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No output._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*id* | `string` |ResourceGroup Id Resource Id |
|
|
||||||
|
@ -14,40 +14,8 @@ Create a static web app
|
|||||||
|
|
||||||
### staticwebapp.#StaticWebApp Inputs
|
### staticwebapp.#StaticWebApp Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*config.tenantId* | `dagger.#Secret` |AZURE tenant id |
|
|
||||||
|*config.subscriptionId* | `dagger.#Secret` |AZURE subscription id |
|
|
||||||
|*config.appId* | `dagger.#Secret` |AZURE app id for the service principal used |
|
|
||||||
|*config.password* | `dagger.#Secret` |AZURE password for the service principal used |
|
|
||||||
|*rgName* | `string` |ResourceGroup name in which to create static webapp |
|
|
||||||
|*stappLocation* | `string` |StaticWebApp location |
|
|
||||||
|*stappName* | `string` |StaticWebApp name |
|
|
||||||
|*remote* | `string` |GitHubRepository URL |
|
|
||||||
|*ref* | `*"main" \| string` |GitHub Branch |
|
|
||||||
|*appLocation* | `*"/" \| string` |Location of your application code |
|
|
||||||
|*buildLocation* | `*"build" \| string` |Location of your build artifacts |
|
|
||||||
|*authToken* | `dagger.#Secret` |GitHub Personal Access Token |
|
|
||||||
|*ctr.image.config.tenantId* | `dagger.#Secret` |AZURE tenant id |
|
|
||||||
|*ctr.image.config.subscriptionId* | `dagger.#Secret` |AZURE subscription id |
|
|
||||||
|*ctr.image.config.appId* | `dagger.#Secret` |AZURE app id for the service principal used |
|
|
||||||
|*ctr.image.config.password* | `dagger.#Secret` |AZURE password for the service principal used |
|
|
||||||
|*ctr.image.image.from* | `"mcr.microsoft.com/azure-cli:2.27.1@sha256:1e117183100c9fce099ebdc189d73e506e7b02d2b73d767d3fc07caee72f9fb1"` |Remote ref (example: "index.docker.io/alpine:latest") |
|
|
||||||
|*ctr.image.secret."/run/secrets/appId"* | `dagger.#Secret` |- |
|
|
||||||
|*ctr.image.secret."/run/secrets/password"* | `dagger.#Secret` |- |
|
|
||||||
|*ctr.image.secret."/run/secrets/tenantId"* | `dagger.#Secret` |- |
|
|
||||||
|*ctr.image.secret."/run/secrets/subscriptionId"* | `dagger.#Secret` |- |
|
|
||||||
|*ctr.env.AZURE_DEFAULTS_GROUP* | `string` |- |
|
|
||||||
|*ctr.env.AZURE_DEFAULTS_LOCATION* | `string` |- |
|
|
||||||
|*ctr.env.AZURE_STATICWEBAPP_NAME* | `string` |- |
|
|
||||||
|*ctr.env.GIT_URL* | `string` |- |
|
|
||||||
|*ctr.env.GIT_BRANCH* | `*"main" \| string` |- |
|
|
||||||
|*ctr.env.APP_LOCATION* | `*"/" \| string` |- |
|
|
||||||
|*ctr.env.BUILD_LOCATION* | `*"build" \| string` |- |
|
|
||||||
|*ctr.secret."/run/secrets/git_pat"* | `dagger.#Secret` |- |
|
|
||||||
|
|
||||||
### staticwebapp.#StaticWebApp Outputs
|
### staticwebapp.#StaticWebApp Outputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No output._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*defaultHostName* | `string` |DefaultHostName generated by Azure |
|
|
||||||
|
@ -14,30 +14,8 @@ Create a storage account
|
|||||||
|
|
||||||
### storage.#StorageAccount Inputs
|
### storage.#StorageAccount Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*config.tenantId* | `dagger.#Secret` |AZURE tenant id |
|
|
||||||
|*config.subscriptionId* | `dagger.#Secret` |AZURE subscription id |
|
|
||||||
|*config.appId* | `dagger.#Secret` |AZURE app id for the service principal used |
|
|
||||||
|*config.password* | `dagger.#Secret` |AZURE password for the service principal used |
|
|
||||||
|*rgName* | `string` |ResourceGroup name |
|
|
||||||
|*stLocation* | `string` |StorageAccount location |
|
|
||||||
|*stName* | `string` |StorageAccount name |
|
|
||||||
|*ctr.image.config.tenantId* | `dagger.#Secret` |AZURE tenant id |
|
|
||||||
|*ctr.image.config.subscriptionId* | `dagger.#Secret` |AZURE subscription id |
|
|
||||||
|*ctr.image.config.appId* | `dagger.#Secret` |AZURE app id for the service principal used |
|
|
||||||
|*ctr.image.config.password* | `dagger.#Secret` |AZURE password for the service principal used |
|
|
||||||
|*ctr.image.image.from* | `"mcr.microsoft.com/azure-cli:2.27.1@sha256:1e117183100c9fce099ebdc189d73e506e7b02d2b73d767d3fc07caee72f9fb1"` |Remote ref (example: "index.docker.io/alpine:latest") |
|
|
||||||
|*ctr.image.secret."/run/secrets/appId"* | `dagger.#Secret` |- |
|
|
||||||
|*ctr.image.secret."/run/secrets/password"* | `dagger.#Secret` |- |
|
|
||||||
|*ctr.image.secret."/run/secrets/tenantId"* | `dagger.#Secret` |- |
|
|
||||||
|*ctr.image.secret."/run/secrets/subscriptionId"* | `dagger.#Secret` |- |
|
|
||||||
|*ctr.env.AZURE_DEFAULTS_GROUP* | `string` |- |
|
|
||||||
|*ctr.env.AZURE_DEFAULTS_LOCATION* | `string` |- |
|
|
||||||
|*ctr.env.AZURE_STORAGE_ACCOUNT* | `string` |- |
|
|
||||||
|
|
||||||
### storage.#StorageAccount Outputs
|
### storage.#StorageAccount Outputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No output._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*id* | `string` |StorageAccount Id |
|
|
||||||
|
@ -12,10 +12,7 @@ import "alpha.dagger.io/bats"
|
|||||||
|
|
||||||
### bats.#Bats Inputs
|
### bats.#Bats Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*source* | `dagger.#Artifact` |Source containing bats files |
|
|
||||||
|*ctr.mount."/src".from* | `dagger.#Artifact` |- |
|
|
||||||
|
|
||||||
### bats.#Bats Outputs
|
### bats.#Bats Outputs
|
||||||
|
|
||||||
|
@ -16,10 +16,7 @@ Build a Docker image from source
|
|||||||
|
|
||||||
### docker.#Build Inputs
|
### docker.#Build Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*source* | `dagger.#Artifact` |Build context |
|
|
||||||
|*dockerfile* | `*null \| string` |Dockerfile passed as a string |
|
|
||||||
|
|
||||||
### docker.#Build Outputs
|
### docker.#Build Outputs
|
||||||
|
|
||||||
@ -43,16 +40,11 @@ Load a docker image into a docker engine
|
|||||||
|
|
||||||
### docker.#Load Inputs
|
### docker.#Load Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*tag* | `string` |Name and optionally a tag in the 'name:tag' format |
|
|
||||||
|*source* | `dagger.#Artifact` |Image source |
|
|
||||||
|
|
||||||
### docker.#Load Outputs
|
### docker.#Load Outputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No output._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*id* | `string` |Image ID |
|
|
||||||
|
|
||||||
## docker.#Pull
|
## docker.#Pull
|
||||||
|
|
||||||
@ -60,9 +52,7 @@ Pull a docker container
|
|||||||
|
|
||||||
### docker.#Pull Inputs
|
### docker.#Pull Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*from* | `string` |Remote ref (example: "index.docker.io/alpine:latest") |
|
|
||||||
|
|
||||||
### docker.#Pull Outputs
|
### docker.#Pull Outputs
|
||||||
|
|
||||||
@ -74,27 +64,17 @@ Push a docker image to a remote registry
|
|||||||
|
|
||||||
### docker.#Push Inputs
|
### docker.#Push Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*target* | `string` |Remote target (example: "index.docker.io/alpine:latest") |
|
|
||||||
|*source* | `dagger.#Artifact` |Image source |
|
|
||||||
|
|
||||||
### docker.#Push Outputs
|
### docker.#Push Outputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No output._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*ref* | `string` |Image ref |
|
|
||||||
|*digest* | `string` |Image digest |
|
|
||||||
|
|
||||||
## docker.#Run
|
## docker.#Run
|
||||||
|
|
||||||
### docker.#Run Inputs
|
### docker.#Run Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*ref* | `string` |Image reference (e.g: nginx:alpine) |
|
|
||||||
|*recreate* | `*true \| bool` |Recreate container? |
|
|
||||||
|*run.env.IMAGE_REF* | `string` |- |
|
|
||||||
|
|
||||||
### docker.#Run Outputs
|
### docker.#Run Outputs
|
||||||
|
|
||||||
|
@ -14,10 +14,7 @@ import "alpha.dagger.io/docker/compose"
|
|||||||
|
|
||||||
### compose.#App Inputs
|
### compose.#App Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*name* | `*"source" \| string` |App name (use as COMPOSE_PROJECT_NAME) |
|
|
||||||
|*registries* | `[...{\n username: string\n secret: {\n $dagger: {\n secret: {}\n }\n }\n}]` |Image registries |
|
|
||||||
|
|
||||||
### compose.#App Outputs
|
### compose.#App Outputs
|
||||||
|
|
||||||
|
@ -16,12 +16,7 @@ Base Google Cloud Config
|
|||||||
|
|
||||||
### gcp.#Config Inputs
|
### gcp.#Config Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*region* | `*null \| string` |GCP region |
|
|
||||||
|*zone* | `*null \| string` |GCP zone |
|
|
||||||
|*project* | `string` |GCP project |
|
|
||||||
|*serviceKey* | `dagger.#Secret` |GCP service key |
|
|
||||||
|
|
||||||
### gcp.#Config Outputs
|
### gcp.#Config Outputs
|
||||||
|
|
||||||
@ -33,12 +28,7 @@ Re-usable gcloud component
|
|||||||
|
|
||||||
### gcp.#GCloud Inputs
|
### gcp.#GCloud Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*config.region* | `*null \| string` |GCP region |
|
|
||||||
|*config.zone* | `*null \| string` |GCP zone |
|
|
||||||
|*config.project* | `string` |GCP project |
|
|
||||||
|*config.serviceKey* | `dagger.#Secret` |GCP service key |
|
|
||||||
|
|
||||||
### gcp.#GCloud Outputs
|
### gcp.#GCloud Outputs
|
||||||
|
|
||||||
|
@ -14,16 +14,7 @@ Service deploys a Cloud Run service based on provided GCR image
|
|||||||
|
|
||||||
### cloudrun.#Service Inputs
|
### cloudrun.#Service Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*config.region* | `*null \| string` |GCP region |
|
|
||||||
|*config.zone* | `*null \| string` |GCP zone |
|
|
||||||
|*config.project* | `string` |GCP project |
|
|
||||||
|*config.serviceKey* | `dagger.#Secret` |GCP service key |
|
|
||||||
|*name* | `string` |Cloud Run service name |
|
|
||||||
|*image* | `string` |GCR image ref |
|
|
||||||
|*platform* | `*"managed" \| string` |Cloud Run platform |
|
|
||||||
|*port* | `*"80" \| string` |Cloud Run service exposed port |
|
|
||||||
|
|
||||||
### cloudrun.#Service Outputs
|
### cloudrun.#Service Outputs
|
||||||
|
|
||||||
|
@ -16,16 +16,8 @@ Credentials retriever for GCR
|
|||||||
|
|
||||||
### gcr.#Credentials Inputs
|
### gcr.#Credentials Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*config.region* | `*null \| string` |GCP region |
|
|
||||||
|*config.zone* | `*null \| string` |GCP zone |
|
|
||||||
|*config.project* | `string` |GCP project |
|
|
||||||
|*config.serviceKey* | `dagger.#Secret` |GCP service key |
|
|
||||||
|
|
||||||
### gcr.#Credentials Outputs
|
### gcr.#Credentials Outputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No output._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*username* | `"oauth2accesstoken"` |GCR registry username |
|
|
||||||
|*secret* | `string` |GCR registry secret |
|
|
||||||
|
@ -16,20 +16,8 @@ GCS Bucket object(s) sync
|
|||||||
|
|
||||||
### gcs.#Object Inputs
|
### gcs.#Object Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*config.region* | `*null \| string` |GCP region |
|
|
||||||
|*config.zone* | `*null \| string` |GCP zone |
|
|
||||||
|*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
|
### gcs.#Object Outputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No output._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*url* | `string` |URL of the uploaded GCS object |
|
|
||||||
|
@ -16,17 +16,8 @@ KubeConfig config outputs a valid kube-auth-config for kubectl client
|
|||||||
|
|
||||||
### gke.#KubeConfig Inputs
|
### gke.#KubeConfig Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*config.region* | `*null \| string` |GCP region |
|
|
||||||
|*config.zone* | `*null \| string` |GCP zone |
|
|
||||||
|*config.project* | `string` |GCP project |
|
|
||||||
|*config.serviceKey* | `dagger.#Secret` |GCP service key |
|
|
||||||
|*clusterName* | `string` |GKE cluster name |
|
|
||||||
|*version* | `*"v1.19.9" \| string` |Kubectl version |
|
|
||||||
|
|
||||||
### gke.#KubeConfig Outputs
|
### gke.#KubeConfig Outputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No output._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*kubeconfig* | `string` |kubeconfig is the generated kube configuration file |
|
|
||||||
|
@ -14,16 +14,7 @@ import "alpha.dagger.io/gcp/secretmanager"
|
|||||||
|
|
||||||
### secretmanager.#Secrets Inputs
|
### secretmanager.#Secrets Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*config.region* | `*null \| string` |GCP region |
|
|
||||||
|*config.zone* | `*null \| string` |GCP zone |
|
|
||||||
|*config.project* | `string` |GCP project |
|
|
||||||
|*config.serviceKey* | `dagger.#Secret` |GCP service key |
|
|
||||||
|*deployment.image.config.region* | `*null \| string` |GCP region |
|
|
||||||
|*deployment.image.config.zone* | `*null \| string` |GCP zone |
|
|
||||||
|*deployment.image.config.project* | `string` |GCP project |
|
|
||||||
|*deployment.image.config.serviceKey* | `dagger.#Secret` |GCP service key |
|
|
||||||
|
|
||||||
### secretmanager.#Secrets Outputs
|
### secretmanager.#Secrets Outputs
|
||||||
|
|
||||||
|
@ -16,21 +16,11 @@ Commit & push to git repository
|
|||||||
|
|
||||||
### git.#Commit Inputs
|
### git.#Commit Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*repository.remote* | `string` |Repository remote URL |
|
|
||||||
|*repository.authToken* | `*null \| {\n $dagger: {\n secret: {}\n }\n}` |Authentication token (PAT or password) |
|
|
||||||
|*repository.branch* | `string` |Git branch |
|
|
||||||
|*name* | `string` |Username |
|
|
||||||
|*email* | `string` |Email |
|
|
||||||
|*message* | `string` |Commit message |
|
|
||||||
|*force* | `*false \| bool` |Force push options |
|
|
||||||
|
|
||||||
### git.#Commit Outputs
|
### git.#Commit Outputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No output._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*hash* | `string` |Commit hash |
|
|
||||||
|
|
||||||
## git.#CurrentBranch
|
## git.#CurrentBranch
|
||||||
|
|
||||||
@ -38,15 +28,11 @@ Get the name of the current checked out branch or tag
|
|||||||
|
|
||||||
### git.#CurrentBranch Inputs
|
### git.#CurrentBranch Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*repository* | `dagger.#Artifact` |Git repository |
|
|
||||||
|
|
||||||
### git.#CurrentBranch Outputs
|
### git.#CurrentBranch Outputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No output._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*name* | `string` |Git branch name |
|
|
||||||
|
|
||||||
## git.#Image
|
## git.#Image
|
||||||
|
|
||||||
@ -64,13 +50,7 @@ A git repository
|
|||||||
|
|
||||||
### git.#Repository Inputs
|
### git.#Repository Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*remote* | `string` |Git remote link |
|
|
||||||
|*ref* | `string` |Git ref: can be a commit, tag or branch. Example: "main" |
|
|
||||||
|*subdir* | `*null \| string` |(optional) Subdirectory |
|
|
||||||
|*authToken* | `*null \| {\n $dagger: {\n secret: {}\n }\n}` |(optional) Add Personal Access Token |
|
|
||||||
|*authHeader* | `*null \| {\n $dagger: {\n secret: {}\n }\n}` |(optional) Add OAuth Token |
|
|
||||||
|
|
||||||
### git.#Repository Outputs
|
### git.#Repository Outputs
|
||||||
|
|
||||||
@ -82,12 +62,8 @@ List tags of a repository
|
|||||||
|
|
||||||
### git.#Tags Inputs
|
### git.#Tags Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*repository* | `dagger.#Artifact` |Git repository |
|
|
||||||
|
|
||||||
### git.#Tags Outputs
|
### git.#Tags Outputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No output._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*tags* | `[...string]` |Repository tags |
|
|
||||||
|
@ -16,21 +16,11 @@ Go application builder
|
|||||||
|
|
||||||
### go.#Build Inputs
|
### go.#Build Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*version* | `*"1.16" \| string` |Go version to use |
|
|
||||||
|*source* | `dagger.#Artifact` |Source Directory to build |
|
|
||||||
|*packages* | `*"." \| string` |Packages to build |
|
|
||||||
|*arch* | `*"amd64" \| string` |Target architecture |
|
|
||||||
|*os* | `*"linux" \| string` |Target OS |
|
|
||||||
|*tags* | `*"" \| string` |Build tags to use for building |
|
|
||||||
|*ldflags* | `*"" \| string` |LDFLAGS to use for linking |
|
|
||||||
|
|
||||||
### go.#Build Outputs
|
### go.#Build Outputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No output._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*output* | `string` |Specify the targeted binary name |
|
|
||||||
|
|
||||||
## go.#Container
|
## go.#Container
|
||||||
|
|
||||||
@ -38,11 +28,7 @@ A standalone go environment
|
|||||||
|
|
||||||
### go.#Container Inputs
|
### go.#Container Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*version* | `*"1.16" \| string` |Go version to use |
|
|
||||||
|*source* | `dagger.#Artifact` |Source code |
|
|
||||||
|*image.from* | `"docker.io/golang:1.16-alpine"` |Remote ref (example: "index.docker.io/alpine:latest") |
|
|
||||||
|
|
||||||
### go.#Container Outputs
|
### go.#Container Outputs
|
||||||
|
|
||||||
@ -54,11 +40,7 @@ Re-usable component for the Go compiler
|
|||||||
|
|
||||||
### go.#Go Inputs
|
### go.#Go Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*version* | `*"1.16" \| string` |Go version to use |
|
|
||||||
|*args* | `[...string]` |Arguments to the Go binary |
|
|
||||||
|*source* | `dagger.#Artifact` |Source Directory to build |
|
|
||||||
|
|
||||||
### go.#Go Outputs
|
### go.#Go Outputs
|
||||||
|
|
||||||
@ -68,12 +50,7 @@ _No output._
|
|||||||
|
|
||||||
### go.#Test Inputs
|
### go.#Test Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*version* | `*"1.16" \| string` |Go version to use |
|
|
||||||
|*source* | `dagger.#Artifact` |Source Directory to build |
|
|
||||||
|*packages* | `*"." \| string` |Packages to test |
|
|
||||||
|*args* | `["test", "-v", *"." \| string]` |Arguments to the Go binary |
|
|
||||||
|
|
||||||
### go.#Test Outputs
|
### go.#Test Outputs
|
||||||
|
|
||||||
|
@ -16,8 +16,4 @@ _No input._
|
|||||||
|
|
||||||
### graphql.#Query Outputs
|
### graphql.#Query Outputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No output._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*post.statusCode* | `string` |- |
|
|
||||||
|*post.body* | `string` |- |
|
|
||||||
|*data* | `_\|_` |- |
|
|
||||||
|
@ -16,10 +16,7 @@ _No input._
|
|||||||
|
|
||||||
### http.#Delete Outputs
|
### http.#Delete Outputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No output._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*statusCode* | `string` |- |
|
|
||||||
|*body* | `string` |- |
|
|
||||||
|
|
||||||
## http.#Do
|
## http.#Do
|
||||||
|
|
||||||
@ -29,10 +26,7 @@ _No input._
|
|||||||
|
|
||||||
### http.#Do Outputs
|
### http.#Do Outputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No output._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*statusCode* | `string` |- |
|
|
||||||
|*body* | `string` |- |
|
|
||||||
|
|
||||||
## http.#Get
|
## http.#Get
|
||||||
|
|
||||||
@ -42,10 +36,7 @@ _No input._
|
|||||||
|
|
||||||
### http.#Get Outputs
|
### http.#Get Outputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No output._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*statusCode* | `string` |- |
|
|
||||||
|*body* | `string` |- |
|
|
||||||
|
|
||||||
## http.#Post
|
## http.#Post
|
||||||
|
|
||||||
@ -55,10 +46,7 @@ _No input._
|
|||||||
|
|
||||||
### http.#Post Outputs
|
### http.#Post Outputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No output._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*statusCode* | `string` |- |
|
|
||||||
|*body* | `string` |- |
|
|
||||||
|
|
||||||
## http.#Put
|
## http.#Put
|
||||||
|
|
||||||
@ -68,10 +56,7 @@ _No input._
|
|||||||
|
|
||||||
### http.#Put Outputs
|
### http.#Put Outputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No output._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*statusCode* | `string` |- |
|
|
||||||
|*body* | `string` |- |
|
|
||||||
|
|
||||||
## http.#Wait
|
## http.#Wait
|
||||||
|
|
||||||
|
@ -16,17 +16,8 @@ A Maven project
|
|||||||
|
|
||||||
### maven.#Project Inputs
|
### maven.#Project Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*source* | `dagger.#Artifact` |Application source code |
|
|
||||||
|*package* | `struct` |Extra alpine packages to install |
|
|
||||||
|*env* | `struct` |Environment variables |
|
|
||||||
|*phases* | `*["package"] \| [...string]` |- |
|
|
||||||
|*goals* | `*[] \| [...string]` |- |
|
|
||||||
|*args* | `*[] \| [...string]` |Optional arguments for the script |
|
|
||||||
|
|
||||||
### maven.#Project Outputs
|
### maven.#Project Outputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No output._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*build* | `struct` |Build output directory |
|
|
||||||
|
@ -16,19 +16,8 @@ A Yarn package
|
|||||||
|
|
||||||
### yarn.#Package Inputs
|
### yarn.#Package Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*source* | `dagger.#Artifact` |Application source code |
|
|
||||||
|*package* | `struct` |Extra alpine packages to install |
|
|
||||||
|*cwd* | `*"." \| string` |working directory to use |
|
|
||||||
|*env* | `struct` |Environment variables |
|
|
||||||
|*writeEnvFile* | `*"" \| string` |Write the contents of `environment` to this file, in the "envfile" format |
|
|
||||||
|*buildDir* | `*"build" \| string` |Read build output from this directory (path must be relative to working directory) |
|
|
||||||
|*script* | `*"build" \| string` |Run this yarn script |
|
|
||||||
|*args* | `*[] \| [...string]` |Optional arguments for the script |
|
|
||||||
|
|
||||||
### yarn.#Package Outputs
|
### yarn.#Package Outputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No output._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*build* | `struct` |Build output directory |
|
|
||||||
|
@ -16,9 +16,7 @@ Kubectl client
|
|||||||
|
|
||||||
### kubernetes.#Kubectl Inputs
|
### kubernetes.#Kubectl Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*version* | `*"v1.19.9" \| string` |Kubectl version |
|
|
||||||
|
|
||||||
### kubernetes.#Kubectl Outputs
|
### kubernetes.#Kubectl Outputs
|
||||||
|
|
||||||
@ -30,14 +28,7 @@ Apply Kubernetes resources
|
|||||||
|
|
||||||
### kubernetes.#Resources Inputs
|
### kubernetes.#Resources Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*source* | `dagger.#Artifact` |Kubernetes config to deploy |
|
|
||||||
|*manifest* | `*null \| string` |Kubernetes manifest to deploy inlined in a string |
|
|
||||||
|*url* | `*null \| string` |Kubernetes manifest url to deploy remote configuration |
|
|
||||||
|*namespace* | `*"default" \| string` |Kubernetes Namespace to deploy to |
|
|
||||||
|*version* | `*"v1.19.9" \| string` |Version of kubectl client |
|
|
||||||
|*kubeconfig* | `(string\|struct)` |Kube config file |
|
|
||||||
|
|
||||||
### kubernetes.#Resources Outputs
|
### kubernetes.#Resources Outputs
|
||||||
|
|
||||||
|
@ -16,20 +16,7 @@ Install a Helm chart
|
|||||||
|
|
||||||
### helm.#Chart Inputs
|
### helm.#Chart Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*name* | `string` |Helm deployment name |
|
|
||||||
|*chart* | `*null \| string` |Helm chart to install from repository |
|
|
||||||
|*repository* | `*null \| string` |Helm chart repository |
|
|
||||||
|*values* | `*null \| string` |Helm values (either a YAML string or a Cue structure) |
|
|
||||||
|*namespace* | `string` |Kubernetes Namespace to deploy to |
|
|
||||||
|*action* | `*"installOrUpgrade" \| "install" \| "upgrade"` |Helm action to apply |
|
|
||||||
|*timeout* | `*"5m" \| string` |time to wait for any individual Kubernetes operation (like Jobs for hooks) |
|
|
||||||
|*wait* | `*true \| bool` |if set, will wait until all Pods, PVCs, Services, and minimum number of Pods of a Deployment, StatefulSet, or ReplicaSet are in a ready state before marking the release as successful. It will wait for as long as timeout |
|
|
||||||
|*atomic* | `*true \| bool` |if set, installation process purges chart on fail. The wait option will be set automatically if atomic is used |
|
|
||||||
|*kubeconfig* | `(string\|struct)` |Kube config file |
|
|
||||||
|*version* | `*"3.5.2" \| string` |Helm version |
|
|
||||||
|*kubectlVersion* | `*"v1.19.9" \| string` |Kubectl version |
|
|
||||||
|
|
||||||
### helm.#Chart Outputs
|
### helm.#Chart Outputs
|
||||||
|
|
||||||
|
@ -14,9 +14,7 @@ import "alpha.dagger.io/kubernetes/kustomize"
|
|||||||
|
|
||||||
### kustomize.#Kustomization Inputs
|
### kustomize.#Kustomization Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*version* | `*"v3.8.7" \| string` |Kustomize binary version |
|
|
||||||
|
|
||||||
### kustomize.#Kustomization Outputs
|
### kustomize.#Kustomization Outputs
|
||||||
|
|
||||||
@ -28,11 +26,7 @@ Apply a Kubernetes Kustomize folder
|
|||||||
|
|
||||||
### kustomize.#Kustomize Inputs
|
### kustomize.#Kustomize Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*source* | `dagger.#Artifact` |Kubernetes source |
|
|
||||||
|*kustomization* | `string` |Optional Kustomization file |
|
|
||||||
|*version* | `*"v3.8.7" \| string` |Kustomize binary version |
|
|
||||||
|
|
||||||
### kustomize.#Kustomize Outputs
|
### kustomize.#Kustomize Outputs
|
||||||
|
|
||||||
|
@ -16,10 +16,7 @@ Netlify account credentials
|
|||||||
|
|
||||||
### netlify.#Account Inputs
|
### netlify.#Account Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*name* | `*"" \| string` |Use this Netlify account name (also referred to as "team" in the Netlify docs) |
|
|
||||||
|*token* | `dagger.#Secret` |Netlify authentication token |
|
|
||||||
|
|
||||||
### netlify.#Account Outputs
|
### netlify.#Account Outputs
|
||||||
|
|
||||||
@ -31,18 +28,8 @@ Netlify site
|
|||||||
|
|
||||||
### netlify.#Site Inputs
|
### netlify.#Site Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*account.name* | `*"" \| string` |Use this Netlify account name (also referred to as "team" in the Netlify docs) |
|
|
||||||
|*account.token* | `dagger.#Secret` |Netlify authentication token |
|
|
||||||
|*contents* | `dagger.#Artifact` |Contents of the application to deploy |
|
|
||||||
|*name* | `string` |Deploy to this Netlify site |
|
|
||||||
|*create* | `*true \| bool` |Create the Netlify site if it doesn't exist? |
|
|
||||||
|
|
||||||
### netlify.#Site Outputs
|
### netlify.#Site Outputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No output._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*url* | `string` |Website url |
|
|
||||||
|*deployUrl* | `string` |Unique Deploy URL |
|
|
||||||
|*logsUrl* | `string` |Logs URL for this deployment |
|
|
||||||
|
@ -16,13 +16,8 @@ Generate a random string
|
|||||||
|
|
||||||
### random.#String Inputs
|
### random.#String Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*seed* | `string` |Seed of the random string to generate. When using the same `seed`, the same random string will be generated because of caching. |
|
|
||||||
|*length* | `*12 \| number` |length of the string |
|
|
||||||
|
|
||||||
### random.#String Outputs
|
### random.#String Outputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No output._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*out* | `string` |generated random string |
|
|
||||||
|
@ -16,13 +16,8 @@ Terraform configuration
|
|||||||
|
|
||||||
### terraform.#Configuration Inputs
|
### terraform.#Configuration Inputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No input._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*version* | `*"latest" \| string` |Terraform version |
|
|
||||||
|*source* | `dagger.#Artifact` |Source configuration |
|
|
||||||
|
|
||||||
### terraform.#Configuration Outputs
|
### terraform.#Configuration Outputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No output._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*output* | `struct` |- |
|
|
||||||
|
@ -42,6 +42,4 @@ _No input._
|
|||||||
|
|
||||||
### trivy.#Image Outputs
|
### trivy.#Image Outputs
|
||||||
|
|
||||||
| Name | Type | Description |
|
_No output._
|
||||||
| ------------- |:-------------: |:-------------: |
|
|
||||||
|*ref* | `string` |Reference analyzed |
|
|
||||||
|
Reference in New Issue
Block a user