stdlib: move all imports to alpha.dagger.io
Signed-off-by: Solomon Hykes <solomon@dagger.io>
This commit is contained in:
@@ -136,7 +136,7 @@ Let's write the corresponding Cue code to a new file in our package:
|
||||
package multibucket
|
||||
|
||||
import (
|
||||
"dagger.io/dagger"
|
||||
"alpha.dagger.io/dagger"
|
||||
)
|
||||
|
||||
// Source code of the sample application
|
||||
@@ -153,7 +153,7 @@ The second component of our plan is the Yarn package built from the app source c
|
||||
package multibucket
|
||||
|
||||
import (
|
||||
"dagger.io/js/yarn"
|
||||
"alpha.dagger.io/js/yarn"
|
||||
)
|
||||
|
||||
// Build the source code using Yarn
|
||||
@@ -165,7 +165,7 @@ app: yarn.#Package & {
|
||||
Let's break it down:
|
||||
|
||||
- `package multibucket`: this file is part of the multibucket package
|
||||
- `import ( "dagger.io/js/yarn" )`: import a package from the [Dagger Universe](../reference/universe/README.md).
|
||||
- `import ( "alpha.dagger.io/js/yarn" )`: import a package from the [Dagger Universe](../reference/universe/README.md).
|
||||
- `app: yarn.#Package`: apply the `#Package` definition at the key `app`
|
||||
- `&`: also merge the following values at the same key...
|
||||
- `{ source: src }`: set the key `app.source` to the value of `src`. This connects our 2 components, forming the first link in our DAG.
|
||||
@@ -182,7 +182,7 @@ The third component of our plan is the Netlify site to which the app will be dep
|
||||
package multibucket
|
||||
|
||||
import (
|
||||
"dagger.io/netlify"
|
||||
"alpha.dagger.io/netlify"
|
||||
)
|
||||
|
||||
// Netlify site
|
||||
|
@@ -164,7 +164,7 @@ values={[
|
||||
package kube
|
||||
|
||||
import (
|
||||
"dagger.io/kubernetes"
|
||||
"alpha.dagger.io/kubernetes"
|
||||
)
|
||||
|
||||
// input: ~/.kube/config file used for deployment
|
||||
@@ -190,8 +190,8 @@ deploy: kubernetes.#Resources & {
|
||||
package kube
|
||||
|
||||
import (
|
||||
"dagger.io/kubernetes"
|
||||
"dagger.io/gcp/gke"
|
||||
"alpha.dagger.io/kubernetes"
|
||||
"alpha.dagger.io/gcp/gke"
|
||||
)
|
||||
|
||||
// gkeConfig used for deployment
|
||||
@@ -218,8 +218,8 @@ deploy: kubernetes.#Resources & {
|
||||
package kube
|
||||
|
||||
import (
|
||||
"dagger.io/kubernetes"
|
||||
"dagger.io/aws/eks"
|
||||
"alpha.dagger.io/kubernetes"
|
||||
"alpha.dagger.io/aws/eks"
|
||||
)
|
||||
|
||||
// eksConfig used for deployment
|
||||
@@ -587,8 +587,8 @@ package kube
|
||||
import (
|
||||
"encoding/yaml"
|
||||
|
||||
"dagger.io/dagger"
|
||||
"dagger.io/docker"
|
||||
"alpha.dagger.io/dagger"
|
||||
"alpha.dagger.io/docker"
|
||||
)
|
||||
|
||||
// input: source code repository, must contain a Dockerfile
|
||||
|
@@ -168,7 +168,7 @@ Let's implement the first step, use the `aws.#Config` relay, and request its fir
|
||||
package cloudformation
|
||||
|
||||
import (
|
||||
"dagger.io/aws"
|
||||
"alpha.dagger.io/aws"
|
||||
)
|
||||
|
||||
// AWS account: credentials and region
|
||||
@@ -226,10 +226,10 @@ Now that we have the `config` definition properly configured, let's modify the C
|
||||
package cloudformation
|
||||
|
||||
import (
|
||||
"dagger.io/aws"
|
||||
"dagger.io/dagger"
|
||||
"dagger.io/random"
|
||||
"dagger.io/aws/cloudformation"
|
||||
"alpha.dagger.io/aws"
|
||||
"alpha.dagger.io/dagger"
|
||||
"alpha.dagger.io/random"
|
||||
"alpha.dagger.io/aws/cloudformation"
|
||||
)
|
||||
|
||||
// AWS account: credentials and region
|
||||
|
@@ -2,12 +2,12 @@
|
||||
sidebar_label: alpine
|
||||
---
|
||||
|
||||
# dagger.io/alpine
|
||||
# alpha.dagger.io/alpine
|
||||
|
||||
Base package for Alpine Linux
|
||||
|
||||
```cue
|
||||
import "dagger.io/alpine"
|
||||
import "alpha.dagger.io/alpine"
|
||||
```
|
||||
|
||||
## alpine.#Image
|
||||
|
@@ -2,12 +2,12 @@
|
||||
sidebar_label: aws
|
||||
---
|
||||
|
||||
# dagger.io/aws
|
||||
# alpha.dagger.io/aws
|
||||
|
||||
AWS base package
|
||||
|
||||
```cue
|
||||
import "dagger.io/aws"
|
||||
import "alpha.dagger.io/aws"
|
||||
```
|
||||
|
||||
## aws.#CLI
|
||||
|
@@ -2,12 +2,12 @@
|
||||
sidebar_label: cloudformation
|
||||
---
|
||||
|
||||
# dagger.io/aws/cloudformation
|
||||
# alpha.dagger.io/aws/cloudformation
|
||||
|
||||
AWS CloudFormation
|
||||
|
||||
```cue
|
||||
import "dagger.io/aws/cloudformation"
|
||||
import "alpha.dagger.io/aws/cloudformation"
|
||||
```
|
||||
|
||||
## cloudformation.#Stack
|
||||
|
@@ -2,12 +2,12 @@
|
||||
sidebar_label: ecr
|
||||
---
|
||||
|
||||
# dagger.io/aws/ecr
|
||||
# alpha.dagger.io/aws/ecr
|
||||
|
||||
Amazon Elastic Container Registry (ECR)
|
||||
|
||||
```cue
|
||||
import "dagger.io/aws/ecr"
|
||||
import "alpha.dagger.io/aws/ecr"
|
||||
```
|
||||
|
||||
## ecr.#Credentials
|
||||
|
@@ -2,10 +2,10 @@
|
||||
sidebar_label: ecs
|
||||
---
|
||||
|
||||
# dagger.io/aws/ecs
|
||||
# alpha.dagger.io/aws/ecs
|
||||
|
||||
AWS Elastic Container Service (ECS)
|
||||
|
||||
```cue
|
||||
import "dagger.io/aws/ecs"
|
||||
import "alpha.dagger.io/aws/ecs"
|
||||
```
|
||||
|
@@ -2,12 +2,12 @@
|
||||
sidebar_label: eks
|
||||
---
|
||||
|
||||
# dagger.io/aws/eks
|
||||
# alpha.dagger.io/aws/eks
|
||||
|
||||
AWS Elastic Kubernetes Service (EKS)
|
||||
|
||||
```cue
|
||||
import "dagger.io/aws/eks"
|
||||
import "alpha.dagger.io/aws/eks"
|
||||
```
|
||||
|
||||
## eks.#KubeConfig
|
||||
|
@@ -2,12 +2,12 @@
|
||||
sidebar_label: elb
|
||||
---
|
||||
|
||||
# dagger.io/aws/elb
|
||||
# alpha.dagger.io/aws/elb
|
||||
|
||||
AWS Elastic Load Balancer (ELBv2)
|
||||
|
||||
```cue
|
||||
import "dagger.io/aws/elb"
|
||||
import "alpha.dagger.io/aws/elb"
|
||||
```
|
||||
|
||||
## elb.#RandomRulePriority
|
||||
|
@@ -2,12 +2,12 @@
|
||||
sidebar_label: rds
|
||||
---
|
||||
|
||||
# dagger.io/aws/rds
|
||||
# alpha.dagger.io/aws/rds
|
||||
|
||||
AWS Relational Database Service (RDS)
|
||||
|
||||
```cue
|
||||
import "dagger.io/aws/rds"
|
||||
import "alpha.dagger.io/aws/rds"
|
||||
```
|
||||
|
||||
## rds.#Database
|
||||
|
@@ -2,12 +2,12 @@
|
||||
sidebar_label: s3
|
||||
---
|
||||
|
||||
# dagger.io/aws/s3
|
||||
# alpha.dagger.io/aws/s3
|
||||
|
||||
AWS Simple Storage Service
|
||||
|
||||
```cue
|
||||
import "dagger.io/aws/s3"
|
||||
import "alpha.dagger.io/aws/s3"
|
||||
```
|
||||
|
||||
## s3.#Object
|
||||
|
@@ -2,12 +2,12 @@
|
||||
sidebar_label: dagger
|
||||
---
|
||||
|
||||
# dagger.io/dagger
|
||||
# alpha.dagger.io/dagger
|
||||
|
||||
Dagger core types
|
||||
|
||||
```cue
|
||||
import "dagger.io/dagger"
|
||||
import "alpha.dagger.io/dagger"
|
||||
```
|
||||
|
||||
## dagger.#Secret
|
||||
|
@@ -2,12 +2,12 @@
|
||||
sidebar_label: op
|
||||
---
|
||||
|
||||
# dagger.io/dagger/op
|
||||
# alpha.dagger.io/dagger/op
|
||||
|
||||
op: low-level operations for Dagger processing pipelines
|
||||
|
||||
```cue
|
||||
import "dagger.io/dagger/op"
|
||||
import "alpha.dagger.io/dagger/op"
|
||||
```
|
||||
|
||||
## op.#Copy
|
||||
|
@@ -2,12 +2,12 @@
|
||||
sidebar_label: docker
|
||||
---
|
||||
|
||||
# dagger.io/docker
|
||||
# alpha.dagger.io/docker
|
||||
|
||||
Docker container operations
|
||||
|
||||
```cue
|
||||
import "dagger.io/docker"
|
||||
import "alpha.dagger.io/docker"
|
||||
```
|
||||
|
||||
## docker.#Build
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -2,12 +2,12 @@
|
||||
sidebar_label: git
|
||||
---
|
||||
|
||||
# dagger.io/git
|
||||
# alpha.dagger.io/git
|
||||
|
||||
Git operations
|
||||
|
||||
```cue
|
||||
import "dagger.io/git"
|
||||
import "alpha.dagger.io/git"
|
||||
```
|
||||
|
||||
## git.#CurrentBranch
|
||||
|
@@ -2,12 +2,12 @@
|
||||
sidebar_label: go
|
||||
---
|
||||
|
||||
# dagger.io/go
|
||||
# alpha.dagger.io/go
|
||||
|
||||
Go build operations
|
||||
|
||||
```cue
|
||||
import "dagger.io/go"
|
||||
import "alpha.dagger.io/go"
|
||||
```
|
||||
|
||||
## go.#Build
|
||||
|
@@ -2,12 +2,12 @@
|
||||
sidebar_label: io
|
||||
---
|
||||
|
||||
# dagger.io/io
|
||||
# alpha.dagger.io/io
|
||||
|
||||
IO operations
|
||||
|
||||
```cue
|
||||
import "dagger.io/io"
|
||||
import "alpha.dagger.io/io"
|
||||
```
|
||||
|
||||
## io.#Dir
|
||||
|
@@ -2,12 +2,12 @@
|
||||
sidebar_label: yarn
|
||||
---
|
||||
|
||||
# dagger.io/js/yarn
|
||||
# alpha.dagger.io/js/yarn
|
||||
|
||||
Yarn is a package manager for Javascript applications
|
||||
|
||||
```cue
|
||||
import "dagger.io/js/yarn"
|
||||
import "alpha.dagger.io/js/yarn"
|
||||
```
|
||||
|
||||
## yarn.#Package
|
||||
|
@@ -2,12 +2,12 @@
|
||||
sidebar_label: kubernetes
|
||||
---
|
||||
|
||||
# dagger.io/kubernetes
|
||||
# alpha.dagger.io/kubernetes
|
||||
|
||||
Kubernetes client operations
|
||||
|
||||
```cue
|
||||
import "dagger.io/kubernetes"
|
||||
import "alpha.dagger.io/kubernetes"
|
||||
```
|
||||
|
||||
## kubernetes.#Kubectl
|
||||
|
@@ -2,12 +2,12 @@
|
||||
sidebar_label: helm
|
||||
---
|
||||
|
||||
# dagger.io/kubernetes/helm
|
||||
# alpha.dagger.io/kubernetes/helm
|
||||
|
||||
Helm package manager
|
||||
|
||||
```cue
|
||||
import "dagger.io/kubernetes/helm"
|
||||
import "alpha.dagger.io/kubernetes/helm"
|
||||
```
|
||||
|
||||
## helm.#Chart
|
||||
|
@@ -2,12 +2,12 @@
|
||||
sidebar_label: kustomize
|
||||
---
|
||||
|
||||
# dagger.io/kubernetes/kustomize
|
||||
# alpha.dagger.io/kubernetes/kustomize
|
||||
|
||||
Kustomize config management
|
||||
|
||||
```cue
|
||||
import "dagger.io/kubernetes/kustomize"
|
||||
import "alpha.dagger.io/kubernetes/kustomize"
|
||||
```
|
||||
|
||||
## kustomize.#Kustomization
|
||||
|
@@ -2,12 +2,12 @@
|
||||
sidebar_label: netlify
|
||||
---
|
||||
|
||||
# dagger.io/netlify
|
||||
# alpha.dagger.io/netlify
|
||||
|
||||
Netlify client operations
|
||||
|
||||
```cue
|
||||
import "dagger.io/netlify"
|
||||
import "alpha.dagger.io/netlify"
|
||||
```
|
||||
|
||||
## netlify.#Account
|
||||
|
@@ -2,12 +2,12 @@
|
||||
sidebar_label: os
|
||||
---
|
||||
|
||||
# dagger.io/os
|
||||
# alpha.dagger.io/os
|
||||
|
||||
OS operations
|
||||
|
||||
```cue
|
||||
import "dagger.io/os"
|
||||
import "alpha.dagger.io/os"
|
||||
```
|
||||
|
||||
## os.#Container
|
||||
|
@@ -2,12 +2,12 @@
|
||||
sidebar_label: random
|
||||
---
|
||||
|
||||
# dagger.io/random
|
||||
# alpha.dagger.io/random
|
||||
|
||||
Random generation utilities
|
||||
|
||||
```cue
|
||||
import "dagger.io/random"
|
||||
import "alpha.dagger.io/random"
|
||||
```
|
||||
|
||||
## random.#String
|
||||
|
@@ -2,12 +2,12 @@
|
||||
sidebar_label: terraform
|
||||
---
|
||||
|
||||
# dagger.io/terraform
|
||||
# alpha.dagger.io/terraform
|
||||
|
||||
Terraform operations
|
||||
|
||||
```cue
|
||||
import "dagger.io/terraform"
|
||||
import "alpha.dagger.io/terraform"
|
||||
```
|
||||
|
||||
## terraform.#Configuration
|
||||
|
Reference in New Issue
Block a user