diff --git a/docs/reference/universe/alpine.md b/docs/reference/universe/alpine.md index d500a881..fb3bdd16 100644 --- a/docs/reference/universe/alpine.md +++ b/docs/reference/universe/alpine.md @@ -6,14 +6,18 @@ sidebar_label: alpine Base package for Alpine Linux -## #Image +```cue +import "dagger.io/alpine" +``` + +## alpine.#Image Base image for Alpine Linux -### #Image Inputs +### alpine.#Image Inputs _No input._ -### #Image Outputs +### alpine.#Image Outputs _No output._ diff --git a/docs/reference/universe/aws/README.md b/docs/reference/universe/aws/README.md index a3e918b4..b0755acc 100644 --- a/docs/reference/universe/aws/README.md +++ b/docs/reference/universe/aws/README.md @@ -6,11 +6,15 @@ sidebar_label: aws AWS base package -## #CLI +```cue +import "dagger.io/aws" +``` + +## aws.#CLI Re-usable aws-cli component -### #CLI Inputs +### aws.#CLI Inputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | @@ -18,15 +22,15 @@ Re-usable aws-cli component |*config.accessKey* | `dagger.#Secret` |AWS access key | |*config.secretKey* | `dagger.#Secret` |AWS secret key | -### #CLI Outputs +### aws.#CLI Outputs _No output._ -## #Config +## aws.#Config AWS Config shared by all AWS packages -### #Config Inputs +### aws.#Config Inputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | @@ -34,6 +38,6 @@ AWS Config shared by all AWS packages |*accessKey* | `dagger.#Secret` |AWS access key | |*secretKey* | `dagger.#Secret` |AWS secret key | -### #Config Outputs +### aws.#Config Outputs _No output._ diff --git a/docs/reference/universe/aws/cloudformation.md b/docs/reference/universe/aws/cloudformation.md index a16640de..cf8f136e 100644 --- a/docs/reference/universe/aws/cloudformation.md +++ b/docs/reference/universe/aws/cloudformation.md @@ -6,11 +6,15 @@ sidebar_label: cloudformation AWS CloudFormation -## #Stack +```cue +import "dagger.io/aws/cloudformation" +``` + +## cloudformation.#Stack AWS CloudFormation Stack -### #Stack Inputs +### cloudformation.#Stack Inputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | @@ -24,7 +28,7 @@ AWS CloudFormation Stack |*timeout* | `*10 \| \>=0 & int` |Maximum waiting time until stack creation/update (in minutes) | |*neverUpdate* | `*false \| true` |Never update the stack if already exists | -### #Stack Outputs +### cloudformation.#Stack Outputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | diff --git a/docs/reference/universe/aws/ecr.md b/docs/reference/universe/aws/ecr.md index 2091c5f0..a77199d8 100644 --- a/docs/reference/universe/aws/ecr.md +++ b/docs/reference/universe/aws/ecr.md @@ -6,11 +6,15 @@ sidebar_label: ecr Amazon Elastic Container Registry (ECR) -## #Credentials +```cue +import "dagger.io/aws/ecr" +``` + +## ecr.#Credentials Convert ECR credentials to Docker Login format -### #Credentials Inputs +### ecr.#Credentials Inputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | @@ -21,7 +25,7 @@ Convert ECR credentials to Docker Login format |*ctr.image.config.accessKey* | `dagger.#Secret` |AWS access key | |*ctr.image.config.secretKey* | `dagger.#Secret` |AWS secret key | -### #Credentials Outputs +### ecr.#Credentials Outputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | diff --git a/docs/reference/universe/aws/ecs.md b/docs/reference/universe/aws/ecs.md index c300297c..578d36ed 100644 --- a/docs/reference/universe/aws/ecs.md +++ b/docs/reference/universe/aws/ecs.md @@ -5,3 +5,7 @@ sidebar_label: ecs # dagger.io/aws/ecs AWS Elastic Container Service (ECS) + +```cue +import "dagger.io/aws/ecs" +``` diff --git a/docs/reference/universe/aws/eks.md b/docs/reference/universe/aws/eks.md index 8b1abbad..1f47ce10 100644 --- a/docs/reference/universe/aws/eks.md +++ b/docs/reference/universe/aws/eks.md @@ -6,11 +6,15 @@ sidebar_label: eks AWS Elastic Kubernetes Service (EKS) -## #KubeConfig +```cue +import "dagger.io/aws/eks" +``` + +## eks.#KubeConfig KubeConfig config outputs a valid kube-auth-config for kubectl client -### #KubeConfig Inputs +### eks.#KubeConfig Inputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | @@ -20,7 +24,7 @@ KubeConfig config outputs a valid kube-auth-config for kubectl client |*clusterName* | `string` |EKS cluster name | |*version* | `*"v1.19.9" \| string` |Kubectl version | -### #KubeConfig Outputs +### eks.#KubeConfig Outputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | diff --git a/docs/reference/universe/aws/elb.md b/docs/reference/universe/aws/elb.md index 79bcf381..91661c59 100644 --- a/docs/reference/universe/aws/elb.md +++ b/docs/reference/universe/aws/elb.md @@ -6,11 +6,15 @@ sidebar_label: elb AWS Elastic Load Balancer (ELBv2) -## #RandomRulePriority +```cue +import "dagger.io/aws/elb" +``` + +## elb.#RandomRulePriority Returns an unused rule priority (randomized in available range) -### #RandomRulePriority Inputs +### elb.#RandomRulePriority Inputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | @@ -19,7 +23,7 @@ Returns an unused rule priority (randomized in available range) |*config.secretKey* | `dagger.#Secret` |AWS secret key | |*listenerArn* | `string` |ListenerArn | -### #RandomRulePriority Outputs +### elb.#RandomRulePriority Outputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | diff --git a/docs/reference/universe/aws/rds.md b/docs/reference/universe/aws/rds.md index d913e955..735fb50f 100644 --- a/docs/reference/universe/aws/rds.md +++ b/docs/reference/universe/aws/rds.md @@ -6,11 +6,15 @@ sidebar_label: rds AWS Relational Database Service (RDS) -## #Database +```cue +import "dagger.io/aws/rds" +``` + +## rds.#Database Creates a new Database on an existing RDS Instance -### #Database Inputs +### rds.#Database Inputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | @@ -22,17 +26,17 @@ 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) | -### #Database Outputs +### rds.#Database Outputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | |*out* | `string` |Name of the DB created | -## #Instance +## rds.#Instance Fetches information on an existing RDS Instance -### #Instance Inputs +### rds.#Instance Inputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | @@ -41,7 +45,7 @@ Fetches information on an existing RDS Instance |*config.secretKey* | `dagger.#Secret` |AWS secret key | |*dbArn* | `string` |ARN of the database instance | -### #Instance Outputs +### rds.#Instance Outputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | @@ -49,11 +53,11 @@ Fetches information on an existing RDS Instance |*port* | `_\|_` |DB port | |*info* | `_\|_` |- | -## #User +## rds.#User Creates a new user credentials on an existing RDS Instance -### #User Inputs +### rds.#User Inputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | @@ -67,7 +71,7 @@ Creates a new user credentials on an existing RDS Instance |*grantDatabase* | `*"" \| string` |Name of the database to grants access to | |*dbType* | `string` |Database type MySQL or PostgreSQL (Aurora Serverless only) | -### #User Outputs +### rds.#User Outputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | diff --git a/docs/reference/universe/aws/s3.md b/docs/reference/universe/aws/s3.md index 8b114d7f..69c5533c 100644 --- a/docs/reference/universe/aws/s3.md +++ b/docs/reference/universe/aws/s3.md @@ -6,11 +6,15 @@ sidebar_label: s3 AWS Simple Storage Service -## #Object +```cue +import "dagger.io/aws/s3" +``` + +## s3.#Object S3 Bucket object(s) sync -### #Object Inputs +### s3.#Object Inputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | @@ -23,7 +27,7 @@ S3 Bucket object(s) sync |*contentType* | `*"" \| string` |Object content type | |*always* | `*true \| false` |Always write the object to S3 | -### #Object Outputs +### s3.#Object Outputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | diff --git a/docs/reference/universe/dagger/README.md b/docs/reference/universe/dagger/README.md index c97e55e8..83e7c398 100644 --- a/docs/reference/universe/dagger/README.md +++ b/docs/reference/universe/dagger/README.md @@ -4,14 +4,18 @@ sidebar_label: dagger # dagger.io/dagger -## #Secret +```cue +import "dagger.io/dagger" +``` + +## dagger.#Secret Secret value -### #Secret Inputs +### dagger.#Secret Inputs _No input._ -### #Secret Outputs +### dagger.#Secret Outputs _No output._ diff --git a/docs/reference/universe/dagger/op.md b/docs/reference/universe/dagger/op.md index d732b878..ddff6a1e 100644 --- a/docs/reference/universe/dagger/op.md +++ b/docs/reference/universe/dagger/op.md @@ -6,156 +6,160 @@ sidebar_label: op op: low-level operations for Dagger processing pipelines -## #Copy +```cue +import "dagger.io/dagger/op" +``` -### #Copy Inputs +## op.#Copy + +### op.#Copy Inputs _No input._ -### #Copy Outputs +### op.#Copy Outputs _No output._ -## #DockerBuild +## op.#DockerBuild -### #DockerBuild Inputs +### op.#DockerBuild Inputs _No input._ -### #DockerBuild Outputs +### op.#DockerBuild Outputs _No output._ -## #DockerLogin +## op.#DockerLogin -### #DockerLogin Inputs +### op.#DockerLogin Inputs _No input._ -### #DockerLogin Outputs +### op.#DockerLogin Outputs _No output._ -## #Exec +## op.#Exec -### #Exec Inputs +### op.#Exec Inputs _No input._ -### #Exec Outputs +### op.#Exec Outputs _No output._ -## #Export +## op.#Export Export a value from fs state to cue -### #Export Inputs +### op.#Export Inputs _No input._ -### #Export Outputs +### op.#Export Outputs _No output._ -## #FetchContainer +## op.#FetchContainer -### #FetchContainer Inputs +### op.#FetchContainer Inputs _No input._ -### #FetchContainer Outputs +### op.#FetchContainer Outputs _No output._ -## #FetchGit +## op.#FetchGit -### #FetchGit Inputs +### op.#FetchGit Inputs _No input._ -### #FetchGit Outputs +### op.#FetchGit Outputs _No output._ -## #Load +## op.#Load -### #Load Inputs +### op.#Load Inputs _No input._ -### #Load Outputs +### op.#Load Outputs _No output._ -## #Local +## op.#Local -### #Local Inputs +### op.#Local Inputs _No input._ -### #Local Outputs +### op.#Local Outputs _No output._ -## #Mkdir +## op.#Mkdir -### #Mkdir Inputs +### op.#Mkdir Inputs _No input._ -### #Mkdir Outputs +### op.#Mkdir Outputs _No output._ -## #Op +## op.#Op One operation in a pipeline -### #Op Inputs +### op.#Op Inputs _No input._ -### #Op Outputs +### op.#Op Outputs _No output._ -## #PushContainer +## op.#PushContainer -### #PushContainer Inputs +### op.#PushContainer Inputs _No input._ -### #PushContainer Outputs +### op.#PushContainer Outputs _No output._ -## #Subdir +## op.#Subdir -### #Subdir Inputs +### op.#Subdir Inputs _No input._ -### #Subdir Outputs +### op.#Subdir Outputs _No output._ -## #Workdir +## op.#Workdir -### #Workdir Inputs +### op.#Workdir Inputs _No input._ -### #Workdir Outputs +### op.#Workdir Outputs _No output._ -## #WriteFile +## op.#WriteFile -### #WriteFile Inputs +### op.#WriteFile Inputs _No input._ -### #WriteFile Outputs +### op.#WriteFile Outputs _No output._ diff --git a/docs/reference/universe/docker.md b/docs/reference/universe/docker.md index ff80f48c..7812a1ec 100644 --- a/docs/reference/universe/docker.md +++ b/docs/reference/universe/docker.md @@ -6,81 +6,85 @@ sidebar_label: docker Docker container operations -## #Build +```cue +import "dagger.io/docker" +``` + +## docker.#Build Build a Docker image from source, using included Dockerfile -### #Build Inputs +### docker.#Build Inputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | |*source* | `dagger.#Artifact` |- | -### #Build Outputs +### docker.#Build Outputs _No output._ -## #Command +## docker.#Command A container image that can run any docker command -### #Command Inputs +### docker.#Command Inputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | |*command* | `string` |Command to execute | -### #Command Outputs +### docker.#Command Outputs _No output._ -## #ImageFromDockerfile +## docker.#ImageFromDockerfile Build a Docker image from the provided Dockerfile contents -### #ImageFromDockerfile Inputs +### docker.#ImageFromDockerfile Inputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | |*dockerfile* | `string` |Dockerfile passed as a string | |*context* | `dagger.#Artifact` |Build context | -### #ImageFromDockerfile Outputs +### docker.#ImageFromDockerfile Outputs _No output._ -## #Pull +## docker.#Pull Pull a docker container -### #Pull Inputs +### docker.#Pull Inputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | |*from* | `string` |Remote ref (example: "index.docker.io/alpine:latest") | -### #Pull Outputs +### docker.#Pull Outputs _No output._ -## #Push +## docker.#Push Push a docker image -### #Push Inputs +### docker.#Push Inputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | |*ref* | `string` |Remote ref (example: "index.docker.io/alpine:latest") | |*source* | `dagger.#Artifact` |Image | -### #Push Outputs +### docker.#Push Outputs _No output._ -## #Run +## docker.#Run -### #Run Inputs +### docker.#Run Inputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | @@ -96,6 +100,6 @@ _No output._ |*run.command* | `"""\n # Run detach container\n OPTS=""\n \n if [ ! -z "$CONTAINER_NAME" ]; then\n \tOPTS="$OPTS --name $CONTAINER_NAME"\n fi\n \n docker container run -d $OPTS "$IMAGE_REF"\n """` |Command to execute | |*run.env.IMAGE_REF* | `string` |- | -### #Run Outputs +### docker.#Run Outputs _No output._ diff --git a/docs/reference/universe/gcp/README.md b/docs/reference/universe/gcp/README.md index 04e975be..f2ded155 100644 --- a/docs/reference/universe/gcp/README.md +++ b/docs/reference/universe/gcp/README.md @@ -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._ diff --git a/docs/reference/universe/gcp/gcr.md b/docs/reference/universe/gcp/gcr.md index 88b86853..9bfc320d 100644 --- a/docs/reference/universe/gcp/gcr.md +++ b/docs/reference/universe/gcp/gcr.md @@ -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 | | ------------- |:-------------: |:-------------: | diff --git a/docs/reference/universe/gcp/gke.md b/docs/reference/universe/gcp/gke.md index a7b87641..781db781 100644 --- a/docs/reference/universe/gcp/gke.md +++ b/docs/reference/universe/gcp/gke.md @@ -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 | | ------------- |:-------------: |:-------------: | diff --git a/docs/reference/universe/git.md b/docs/reference/universe/git.md index 68f62324..95cdcaa5 100644 --- a/docs/reference/universe/git.md +++ b/docs/reference/universe/git.md @@ -6,27 +6,31 @@ sidebar_label: git Git operations -## #CurrentBranch +```cue +import "dagger.io/git" +``` + +## git.#CurrentBranch Get the name of the current checked out branch or tag -### #CurrentBranch Inputs +### git.#CurrentBranch Inputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | |*repository* | `dagger.#Artifact` |Git repository | -### #CurrentBranch Outputs +### git.#CurrentBranch Outputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | |*name* | `string` |Git branch name | -## #Repository +## git.#Repository A git repository -### #Repository Inputs +### git.#Repository Inputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | @@ -34,21 +38,21 @@ A git repository |*ref* | `string` |Git ref: can be a commit, tag or branch. Example: "main" | |*subdir* | `*null \| string` |(optional) Subdirectory | -### #Repository Outputs +### git.#Repository Outputs _No output._ -## #Tags +## git.#Tags List tags of a repository -### #Tags Inputs +### git.#Tags Inputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | |*repository* | `dagger.#Artifact` |Git repository | -### #Tags Outputs +### git.#Tags Outputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | diff --git a/docs/reference/universe/go.md b/docs/reference/universe/go.md index dc0458c9..adb63faf 100644 --- a/docs/reference/universe/go.md +++ b/docs/reference/universe/go.md @@ -6,11 +6,15 @@ sidebar_label: go Go build operations -## #Build +```cue +import "dagger.io/go" +``` + +## go.#Build Go application builder -### #Build Inputs +### go.#Build Inputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | @@ -22,17 +26,17 @@ Go application builder |*tags* | `*"" \| string` |Build tags to use for building | |*ldflags* | `*"" \| string` |LDFLAGS to use for linking | -### #Build Outputs +### go.#Build Outputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | |*output* | `string` |Specify the targeted binary name | -## #Container +## go.#Container A standalone go environment -### #Container Inputs +### go.#Container Inputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | @@ -40,15 +44,15 @@ A standalone go environment |*source* | `dagger.#Artifact` |Source code | |*image.from* | `"docker.io/golang:1.16-alpine"` |Remote ref (example: "index.docker.io/alpine:latest") | -### #Container Outputs +### go.#Container Outputs _No output._ -## #Go +## go.#Go Re-usable component for the Go compiler -### #Go Inputs +### go.#Go Inputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | @@ -56,13 +60,13 @@ Re-usable component for the Go compiler |*args* | `[]` |Arguments to the Go binary | |*source* | `dagger.#Artifact` |Source Directory to build | -### #Go Outputs +### go.#Go Outputs _No output._ -## #Test +## go.#Test -### #Test Inputs +### go.#Test Inputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | @@ -71,6 +75,6 @@ _No output._ |*packages* | `*"." \| string` |Packages to test | |*args* | `["test", "-v", *"." \| string]` |Arguments to the Go binary | -### #Test Outputs +### go.#Test Outputs _No output._ diff --git a/docs/reference/universe/io.md b/docs/reference/universe/io.md index e6a07530..ada35879 100644 --- a/docs/reference/universe/io.md +++ b/docs/reference/universe/io.md @@ -6,62 +6,66 @@ sidebar_label: io IO operations -## #Dir +```cue +import "dagger.io/io" +``` + +## io.#Dir Standard interface for directory operations in cue -### #Dir Inputs +### io.#Dir Inputs _No input._ -### #Dir Outputs +### io.#Dir Outputs _No output._ -## #File +## io.#File Standard interface for file operations in cue -### #File Inputs +### io.#File Inputs _No input._ -### #File Outputs +### io.#File Outputs _No output._ -## #ReadWriter +## io.#ReadWriter Standard ReadWriter interface -### #ReadWriter Inputs +### io.#ReadWriter Inputs _No input._ -### #ReadWriter Outputs +### io.#ReadWriter Outputs _No output._ -## #Reader +## io.#Reader Standard Reader interface -### #Reader Inputs +### io.#Reader Inputs _No input._ -### #Reader Outputs +### io.#Reader Outputs _No output._ -## #Writer +## io.#Writer Standard Writer interface -### #Writer Inputs +### io.#Writer Inputs _No input._ -### #Writer Outputs +### io.#Writer Outputs _No output._ diff --git a/docs/reference/universe/js/yarn.md b/docs/reference/universe/js/yarn.md index a78e7db8..1c4a2c35 100644 --- a/docs/reference/universe/js/yarn.md +++ b/docs/reference/universe/js/yarn.md @@ -6,11 +6,15 @@ sidebar_label: yarn Yarn is a package manager for Javascript applications -## #Package +```cue +import "dagger.io/js/yarn" +``` + +## yarn.#Package A Yarn package -### #Package Inputs +### yarn.#Package Inputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | @@ -23,7 +27,7 @@ A Yarn package |*script* | `*"build" \| string` |Run this yarn script | |*args* | `*[] \| []` |Optional arguments for the script | -### #Package Outputs +### yarn.#Package Outputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | diff --git a/docs/reference/universe/kubernetes/README.md b/docs/reference/universe/kubernetes/README.md index 107475fa..db153432 100644 --- a/docs/reference/universe/kubernetes/README.md +++ b/docs/reference/universe/kubernetes/README.md @@ -6,23 +6,27 @@ sidebar_label: kubernetes Kubernetes client operations -## #Kubectl +```cue +import "dagger.io/kubernetes" +``` + +## kubernetes.#Kubectl Kubectl client -### #Kubectl Inputs +### kubernetes.#Kubectl Inputs _No input._ -### #Kubectl Outputs +### kubernetes.#Kubectl Outputs _No output._ -## #Resources +## kubernetes.#Resources Apply Kubernetes resources -### #Resources Inputs +### kubernetes.#Resources Inputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | @@ -30,6 +34,6 @@ Apply Kubernetes resources |*version* | `*"v1.19.9" \| string` |Version of kubectl client | |*kubeconfig* | `dagger.#Secret` |Kube config file | -### #Resources Outputs +### kubernetes.#Resources Outputs _No output._ diff --git a/docs/reference/universe/kubernetes/helm.md b/docs/reference/universe/kubernetes/helm.md index be9b8abe..01b7fc3b 100644 --- a/docs/reference/universe/kubernetes/helm.md +++ b/docs/reference/universe/kubernetes/helm.md @@ -6,11 +6,15 @@ sidebar_label: helm Helm package manager -## #Chart +```cue +import "dagger.io/kubernetes/helm" +``` + +## helm.#Chart Install a Helm chart -### #Chart Inputs +### helm.#Chart Inputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | @@ -24,6 +28,6 @@ Install a Helm chart |*version* | `*"3.5.2" \| string` |Helm version | |*kubectlVersion* | `*"v1.19.9" \| string` |Kubectl version | -### #Chart Outputs +### helm.#Chart Outputs _No output._ diff --git a/docs/reference/universe/kubernetes/kustomize.md b/docs/reference/universe/kubernetes/kustomize.md index cd54225b..d7e8efe1 100644 --- a/docs/reference/universe/kubernetes/kustomize.md +++ b/docs/reference/universe/kubernetes/kustomize.md @@ -6,23 +6,27 @@ sidebar_label: kustomize Kustomize config management -## #Kustomization +```cue +import "dagger.io/kubernetes/kustomize" +``` -### #Kustomization Inputs +## kustomize.#Kustomization + +### kustomize.#Kustomization Inputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | |*version* | `*"v3.8.7" \| string` |Kustomize binary version | -### #Kustomization Outputs +### kustomize.#Kustomization Outputs _No output._ -## #Kustomize +## kustomize.#Kustomize Apply a Kubernetes Kustomize folder -### #Kustomize Inputs +### kustomize.#Kustomize Inputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | @@ -30,6 +34,6 @@ Apply a Kubernetes Kustomize folder |*kustomization* | `string` |Optional Kustomization file | |*version* | `*"v3.8.7" \| string` |Kustomize binary version | -### #Kustomize Outputs +### kustomize.#Kustomize Outputs _No output._ diff --git a/docs/reference/universe/netlify.md b/docs/reference/universe/netlify.md index 7af16c3b..823a429c 100644 --- a/docs/reference/universe/netlify.md +++ b/docs/reference/universe/netlify.md @@ -6,26 +6,30 @@ sidebar_label: netlify Netlify client operations -## #Account +```cue +import "dagger.io/netlify" +``` + +## netlify.#Account Netlify account credentials -### #Account Inputs +### netlify.#Account Inputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | |*name* | `*"" \| string` |Use this Netlify account name (also referred to as "team" in the Netlify docs) | |*token* | `dagger.#Secret` |Netlify authentication token | -### #Account Outputs +### netlify.#Account Outputs _No output._ -## #Site +## netlify.#Site Netlify site -### #Site Inputs +### netlify.#Site Inputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | @@ -35,7 +39,7 @@ Netlify site |*name* | `string` |Deploy to this Netlify site | |*create* | `*true \| bool` |Create the Netlify site if it doesn't exist? | -### #Site Outputs +### netlify.#Site Outputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | diff --git a/docs/reference/universe/os.md b/docs/reference/universe/os.md index d00d86f9..48309e3d 100644 --- a/docs/reference/universe/os.md +++ b/docs/reference/universe/os.md @@ -4,46 +4,50 @@ sidebar_label: os # dagger.io/os -## #Container +```cue +import "dagger.io/os" +``` + +## os.#Container Built-in container implementation, using buildkit -### #Container Inputs +### os.#Container Inputs _No input._ -### #Container Outputs +### os.#Container Outputs _No output._ -## #Dir +## os.#Dir -### #Dir Inputs +### os.#Dir Inputs _No input._ -### #Dir Outputs +### os.#Dir Outputs _No output._ -## #File +## os.#File Built-in file implementation, using buildkit -### #File Inputs +### os.#File Inputs _No input._ -### #File Outputs +### os.#File Outputs _No output._ -## #ReadDir +## os.#ReadDir -### #ReadDir Inputs +### os.#ReadDir Inputs _No input._ -### #ReadDir Outputs +### os.#ReadDir Outputs _No output._ diff --git a/docs/reference/universe/random.md b/docs/reference/universe/random.md index 1aa830d0..b5f6a347 100644 --- a/docs/reference/universe/random.md +++ b/docs/reference/universe/random.md @@ -6,18 +6,22 @@ sidebar_label: random Random generation utilities -## #String +```cue +import "dagger.io/random" +``` + +## random.#String Generate a random string -### #String Inputs +### random.#String Inputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | |*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 | -### #String Outputs +### random.#String Outputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | diff --git a/docs/reference/universe/terraform.md b/docs/reference/universe/terraform.md index 2fa3f900..7188503f 100644 --- a/docs/reference/universe/terraform.md +++ b/docs/reference/universe/terraform.md @@ -6,18 +6,22 @@ sidebar_label: terraform Terraform operations -## #Configuration +```cue +import "dagger.io/terraform" +``` + +## terraform.#Configuration Terraform configuration -### #Configuration Inputs +### terraform.#Configuration Inputs | Name | Type | Description | | ------------- |:-------------: |:-------------: | |*version* | `*"latest" \| string` |Terraform version | |*source* | `dagger.#Artifact` |Source configuration | -### #Configuration Outputs +### terraform.#Configuration Outputs | Name | Type | Description | | ------------- |:-------------: |:-------------: |