replicated
Run commands using the replicated CLI
Installation
dagger install github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14
Entrypoint
Return Type
Replicated !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
token | Secret ! | - | No description provided |
apiOrigin | String | - | No description provided |
idOrigin | String | - | No description provided |
registryOrigin | String | - | No description provided |
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
--token env:MYSECRET
func (m *myModule) example(token *dagger.Secret) *dagger.Replicated {
return dag.
Replicated(token)
}
@function
def example(token: dagger.Secret, ) -> dagger.Replicated:
return (
dag.replicated(token)
)
@func()
example(token: Secret, ): Replicated {
return dag
.replicated(token)
}
Types
Replicated 🔗
Replicated is a Dagger module that provides access to the replicated CLI
token() 🔗
Return Type
Secret !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
--token env:MYSECRET token
func (m *myModule) example(token *dagger.Secret) *dagger.Secret {
return dag.
Replicated(token).
Token()
}
@function
def example(token: dagger.Secret, ) -> dagger.Secret:
return (
dag.replicated(token)
.token()
)
@func()
example(token: Secret, ): Secret {
return dag
.replicated(token)
.token()
}
apiorigin() 🔗
Return Type
String !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
--token env:MYSECRET apiorigin
func (m *myModule) example(ctx context.Context, token *dagger.Secret) string {
return dag.
Replicated(token).
Apiorigin(ctx)
}
@function
async def example(token: dagger.Secret, ) -> str:
return await (
dag.replicated(token)
.apiorigin()
)
@func()
async example(token: Secret, ): Promise<string> {
return dag
.replicated(token)
.apiorigin()
}
idorigin() 🔗
Return Type
String !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
--token env:MYSECRET idorigin
func (m *myModule) example(ctx context.Context, token *dagger.Secret) string {
return dag.
Replicated(token).
Idorigin(ctx)
}
@function
async def example(token: dagger.Secret, ) -> str:
return await (
dag.replicated(token)
.idorigin()
)
@func()
async example(token: Secret, ): Promise<string> {
return dag
.replicated(token)
.idorigin()
}
registryOrigin() 🔗
Return Type
String !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
--token env:MYSECRET registry-origin
func (m *myModule) example(ctx context.Context, token *dagger.Secret) string {
return dag.
Replicated(token).
RegistryOrigin(ctx)
}
@function
async def example(token: dagger.Secret, ) -> str:
return await (
dag.replicated(token)
.registry_origin()
)
@func()
async example(token: Secret, ): Promise<string> {
return dag
.replicated(token)
.registryOrigin()
}
networkCreate() 🔗
Create a new CMX network
Example:
dagger call –token=env:REPLICATED_API_TOKEN network-create –name=my-network –wait=10m –ttl=20m
Return Type
[Network ! ] !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
name | String | - | Name of the network |
wait | String ! | "15m" | How long to wait for the network to be ready |
ttl | String ! | "20m" | TTL of the network |
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
--token env:MYSECRET network-create --wait string --ttl string
func (m *myModule) example(token *dagger.Secret, wait string, ttl string) []*dagger.ReplicatedNetwork {
return dag.
Replicated(token).
NetworkCreate(wait, ttl)
}
@function
def example(token: dagger.Secret, wait: str, ttl: str) -> List[dagger.ReplicatedNetwork]:
return (
dag.replicated(token)
.network_create(wait, ttl)
)
@func()
example(token: Secret, wait: string, ttl: string): ReplicatedNetwork[] {
return dag
.replicated(token)
.networkCreate(wait, ttl)
}
networkRemove() 🔗
Remove a CMX network
Example:
dagger call –token=env:REPLICATED_API_TOKEN network-remove –network-id=my-network-id dagger call –token=env:REPLICATED_API_TOKEN network-remove –network-name=my-network-name
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
networkId | String | - | Network ID of the network to remove |
networkName | String | - | Network name of the network to remove |
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
--token env:MYSECRET network-remove
func (m *myModule) example(ctx context.Context, token *dagger.Secret) string {
return dag.
Replicated(token).
NetworkRemove(ctx)
}
@function
async def example(token: dagger.Secret, ) -> str:
return await (
dag.replicated(token)
.network_remove()
)
@func()
async example(token: Secret, ): Promise<string> {
return dag
.replicated(token)
.networkRemove()
}
networkUpdatePolicy() 🔗
Update a CMX network policy
Example:
dagger call –token=env:REPLICATED_API_TOKEN network-update-policy –network-id=my-network-id –policy=airgap dagger call –token=env:REPLICATED_API_TOKEN network-update-policy –network-name=my-network-name –policy=airgap
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
networkId | String | - | Network ID to update |
networkName | String | - | Network name to update |
policy | String ! | - | New policy for the network (e.g., "airgap") |
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
--token env:MYSECRET network-update-policy --policy string
func (m *myModule) example(ctx context.Context, token *dagger.Secret, policy string) string {
return dag.
Replicated(token).
NetworkUpdatePolicy(ctxpolicy)
}
@function
async def example(token: dagger.Secret, policy: str) -> str:
return await (
dag.replicated(token)
.network_update_policy(policy)
)
@func()
async example(token: Secret, policy: string): Promise<string> {
return dag
.replicated(token)
.networkUpdatePolicy(policy)
}
networkList() 🔗
List all CMX networks
Example:
dagger call –token=env:REPLICATED_API_TOKEN network-list
Return Type
[Network ! ] !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
--token env:MYSECRET network-list
func (m *myModule) example(token *dagger.Secret) []*dagger.ReplicatedNetwork {
return dag.
Replicated(token).
NetworkList()
}
@function
def example(token: dagger.Secret, ) -> List[dagger.ReplicatedNetwork]:
return (
dag.replicated(token)
.network_list()
)
@func()
example(token: Secret, ): ReplicatedNetwork[] {
return dag
.replicated(token)
.networkList()
}
clusterCreate() 🔗
Create a new CMX cluster
Example:
dagger call -m github.com/replicatedhq/daggerverse/replicated –token=env:REPLICATED_API_TOKEN cluster-create –name=my-cluster –wait=10m –ttl=20m –distribution=k3s –version=1.31.0
Return Type
Cluster !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
name | String | - | Name of the cluster |
wait | String ! | "15m" | How long to wait for the cluster to be ready |
ttl | String ! | "20m" | TTL of the cluster |
distribution | String ! | "k3s" | Distribution to use |
version | String | - | Version of the distribution to use |
nodes | Integer ! | "1" | Number of nodes to create |
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
--token env:MYSECRET cluster-create --wait string --ttl string --distribution string --nodes integer
func (m *myModule) example(token *dagger.Secret, wait string, ttl string, distribution string, nodes int) *dagger.ReplicatedCluster {
return dag.
Replicated(token).
ClusterCreate(wait, ttl, distribution, nodes)
}
@function
def example(token: dagger.Secret, wait: str, ttl: str, distribution: str, nodes: int) -> dagger.ReplicatedCluster:
return (
dag.replicated(token)
.cluster_create(wait, ttl, distribution, nodes)
)
@func()
example(token: Secret, wait: string, ttl: string, distribution: string, nodes: number): ReplicatedCluster {
return dag
.replicated(token)
.clusterCreate(wait, ttl, distribution, nodes)
}
clusterRemove() 🔗
Remove a CMX cluster
Example:
dagger call –token=env:REPLICATED_API_TOKEN cluster-remove –cluster-id=my-cluster-id dagger call –token=env:REPLICATED_API_TOKEN cluster-remove –cluster-name=my-cluster-name
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
clusterId | String | - | Cluster ID of the cluster to remove |
clusterName | String | - | Cluster name of the cluster to remove |
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
--token env:MYSECRET cluster-remove
func (m *myModule) example(ctx context.Context, token *dagger.Secret) string {
return dag.
Replicated(token).
ClusterRemove(ctx)
}
@function
async def example(token: dagger.Secret, ) -> str:
return await (
dag.replicated(token)
.cluster_remove()
)
@func()
async example(token: Secret, ): Promise<string> {
return dag
.replicated(token)
.clusterRemove()
}
clusterExposePort() 🔗
Expose a port on a CMX cluster, returning the hostname of the exposed port
Example:
dagger call –token=env:REPLICATED_API_TOKEN cluster-expose-port –cluster-id=my-cluster-id –node-port=80 –protocol=http
Return Type
PortExpose !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
clusterId | String ! | - | Cluster ID of the cluster to expose port on |
nodePort | Integer ! | - | Port to expose |
protocol | String ! | - | Protocol to use |
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
--token env:MYSECRET cluster-expose-port --cluster-id string --node-port integer --protocol string
func (m *myModule) example(token *dagger.Secret, clusterId string, nodePort int, protocol string) *dagger.ReplicatedPortExpose {
return dag.
Replicated(token).
ClusterExposePort(clusterId, nodePort, protocol)
}
@function
def example(token: dagger.Secret, cluster_id: str, node_port: int, protocol: str) -> dagger.ReplicatedPortExpose:
return (
dag.replicated(token)
.cluster_expose_port(cluster_id, node_port, protocol)
)
@func()
example(token: Secret, clusterId: string, nodePort: number, protocol: string): ReplicatedPortExpose {
return dag
.replicated(token)
.clusterExposePort(clusterId, nodePort, protocol)
}
clusterVersions() 🔗
Get the available cluster versions
Example:
dagger call –token=env:REPLICATED_API_TOKEN cluster-versions
Return Type
[ClusterVersion ! ] !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
--token env:MYSECRET cluster-versions
func (m *myModule) example(token *dagger.Secret) []*dagger.ReplicatedClusterVersion {
return dag.
Replicated(token).
ClusterVersions()
}
@function
def example(token: dagger.Secret, ) -> List[dagger.ReplicatedClusterVersion]:
return (
dag.replicated(token)
.cluster_versions()
)
@func()
example(token: Secret, ): ReplicatedClusterVersion[] {
return dag
.replicated(token)
.clusterVersions()
}
clusterList() 🔗
List all CMX clusters
Example:
dagger call –token=env:REPLICATED_API_TOKEN cluster-list –show-terminated=true –start-time=2023-01-01T00:00:00Z
Return Type
[Cluster ! ] !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
showTerminated | Boolean | - | When set, only show terminated clusters |
startTime | String | - | Start time for the query (Format: 2006-01-02T15:04:05Z) |
endTime | String | - | End time for the query (Format: 2006-01-02T15:04:05Z) |
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
--token env:MYSECRET cluster-list
func (m *myModule) example(token *dagger.Secret) []*dagger.ReplicatedCluster {
return dag.
Replicated(token).
ClusterList()
}
@function
def example(token: dagger.Secret, ) -> List[dagger.ReplicatedCluster]:
return (
dag.replicated(token)
.cluster_list()
)
@func()
example(token: Secret, ): ReplicatedCluster[] {
return dag
.replicated(token)
.clusterList()
}
container() 🔗
Obtain the base container with the replicated CLI installed at /replicated
Return Type
Container !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
--token env:MYSECRET container
func (m *myModule) example(token *dagger.Secret) *dagger.Container {
return dag.
Replicated(token).
Container()
}
@function
def example(token: dagger.Secret, ) -> dagger.Container:
return (
dag.replicated(token)
.container()
)
@func()
example(token: Secret, ): Container {
return dag
.replicated(token)
.container()
}
vmCreate() 🔗
Create a new CMX VM
Example:
dagger call -m github.com/replicatedhq/daggerverse/replicated –token=env:REPLICATED_API_TOKEN vm-create –name=my-vm –wait=10m –ttl=20m –distribution=ubuntu –version=22.04
Return Type
Vm !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
name | String | - | Name of the VM |
wait | String ! | "15m" | How long to wait for the VM to be ready |
ttl | String ! | "20m" | TTL of the VM |
distribution | String ! | "ubuntu" | Distribution to use |
version | String | - | Version of the distribution to use |
count | Integer ! | "1" | Number of VMs to create, each share a network |
disk | Integer ! | "50" | Disk size in GiB |
instanceType | String | - | Instance type to use |
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
--token env:MYSECRET vm-create --wait string --ttl string --distribution string --count integer --disk integer
func (m *myModule) example(token *dagger.Secret, wait string, ttl string, distribution string, count int, disk int) *dagger.ReplicatedVm {
return dag.
Replicated(token).
VmCreate(wait, ttl, distribution, count, disk)
}
@function
def example(token: dagger.Secret, wait: str, ttl: str, distribution: str, count: int, disk: int) -> dagger.ReplicatedVm:
return (
dag.replicated(token)
.vm_create(wait, ttl, distribution, count, disk)
)
@func()
example(token: Secret, wait: string, ttl: string, distribution: string, count: number, disk: number): ReplicatedVm {
return dag
.replicated(token)
.vmCreate(wait, ttl, distribution, count, disk)
}
vmRemove() 🔗
Remove a CMX VM
Example:
dagger call –token=env:REPLICATED_API_TOKEN vm-remove –vm-id=my-vm-id dagger call –token=env:REPLICATED_API_TOKEN vm-remove –vm-name=my-vm-name
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
vmId | String | - | VM ID of the VM to remove |
vmName | String | - | VM name of the VM to remove |
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
--token env:MYSECRET vm-remove
func (m *myModule) example(ctx context.Context, token *dagger.Secret) string {
return dag.
Replicated(token).
VmRemove(ctx)
}
@function
async def example(token: dagger.Secret, ) -> str:
return await (
dag.replicated(token)
.vm_remove()
)
@func()
async example(token: Secret, ): Promise<string> {
return dag
.replicated(token)
.vmRemove()
}
vmExposePort() 🔗
Expose a port on a CMX VM, returning the hostname of the exposed port
Example:
dagger call –token=env:REPLICATED_API_TOKEN vm-expose-port –vm-id=my-vm-id –vm-port=80 –protocol=http
Return Type
PortExpose !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
vmId | String ! | - | VM ID of the VM to expose port on |
vmPort | Integer ! | - | Port to expose |
protocol | String ! | - | Protocol to use |
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
--token env:MYSECRET vm-expose-port --vm-id string --vm-port integer --protocol string
func (m *myModule) example(token *dagger.Secret, vmId string, vmPort int, protocol string) *dagger.ReplicatedPortExpose {
return dag.
Replicated(token).
VmExposePort(vmId, vmPort, protocol)
}
@function
def example(token: dagger.Secret, vm_id: str, vm_port: int, protocol: str) -> dagger.ReplicatedPortExpose:
return (
dag.replicated(token)
.vm_expose_port(vm_id, vm_port, protocol)
)
@func()
example(token: Secret, vmId: string, vmPort: number, protocol: string): ReplicatedPortExpose {
return dag
.replicated(token)
.vmExposePort(vmId, vmPort, protocol)
}
vmVersions() 🔗
Get the available VM versions
Example:
dagger call –token=env:REPLICATED_API_TOKEN vm-versions
Return Type
[Vmversion ! ] !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
--token env:MYSECRET vm-versions
func (m *myModule) example(token *dagger.Secret) []*dagger.ReplicatedVmversion {
return dag.
Replicated(token).
VmVersions()
}
@function
def example(token: dagger.Secret, ) -> List[dagger.ReplicatedVmversion]:
return (
dag.replicated(token)
.vm_versions()
)
@func()
example(token: Secret, ): ReplicatedVmversion[] {
return dag
.replicated(token)
.vmVersions()
}
vmList() 🔗
List all CMX VMs
Example:
dagger call –token=env:REPLICATED_API_TOKEN vm-list –show-terminated=true –start-time=2023-01-01T00:00:00Z
Return Type
[Vm ! ] !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
showTerminated | Boolean | - | When set, only show terminated VMs |
startTime | String | - | Start time for the query (Format: 2006-01-02T15:04:05Z) |
endTime | String | - | End time for the query (Format: 2006-01-02T15:04:05Z) |
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
--token env:MYSECRET vm-list
func (m *myModule) example(token *dagger.Secret) []*dagger.ReplicatedVm {
return dag.
Replicated(token).
VmList()
}
@function
def example(token: dagger.Secret, ) -> List[dagger.ReplicatedVm]:
return (
dag.replicated(token)
.vm_list()
)
@func()
example(token: Secret, ): ReplicatedVm[] {
return dag
.replicated(token)
.vmList()
}
Network 🔗
Network represents a single network in the response
itemId() 🔗
Return Type
String !
Example
Function ReplicatedNetwork.itemId is not accessible from the replicated module
Function ReplicatedNetwork.itemId is not accessible from the replicated module
Function ReplicatedNetwork.itemId is not accessible from the replicated module
Function ReplicatedNetwork.itemId is not accessible from the replicated module
name() 🔗
Return Type
String !
Example
Function ReplicatedNetwork.name is not accessible from the replicated module
Function ReplicatedNetwork.name is not accessible from the replicated module
Function ReplicatedNetwork.name is not accessible from the replicated module
Function ReplicatedNetwork.name is not accessible from the replicated module
status() 🔗
Return Type
String !
Example
Function ReplicatedNetwork.status is not accessible from the replicated module
Function ReplicatedNetwork.status is not accessible from the replicated module
Function ReplicatedNetwork.status is not accessible from the replicated module
Function ReplicatedNetwork.status is not accessible from the replicated module
createdAt() 🔗
Return Type
String !
Example
Function ReplicatedNetwork.createdAt is not accessible from the replicated module
Function ReplicatedNetwork.createdAt is not accessible from the replicated module
Function ReplicatedNetwork.createdAt is not accessible from the replicated module
Function ReplicatedNetwork.createdAt is not accessible from the replicated module
expiresAt() 🔗
Return Type
String !
Example
Function ReplicatedNetwork.expiresAt is not accessible from the replicated module
Function ReplicatedNetwork.expiresAt is not accessible from the replicated module
Function ReplicatedNetwork.expiresAt is not accessible from the replicated module
Function ReplicatedNetwork.expiresAt is not accessible from the replicated module
ttl() 🔗
Return Type
String !
Example
Function ReplicatedNetwork.ttl is not accessible from the replicated module
Function ReplicatedNetwork.ttl is not accessible from the replicated module
Function ReplicatedNetwork.ttl is not accessible from the replicated module
Function ReplicatedNetwork.ttl is not accessible from the replicated module
overlayEndpoint() 🔗
Return Type
String !
Example
Function ReplicatedNetwork.overlayEndpoint is not accessible from the replicated module
Function ReplicatedNetwork.overlayEndpoint is not accessible from the replicated module
Function ReplicatedNetwork.overlayEndpoint is not accessible from the replicated module
Function ReplicatedNetwork.overlayEndpoint is not accessible from the replicated module
overlayToken() 🔗
Return Type
String !
Example
Function ReplicatedNetwork.overlayToken is not accessible from the replicated module
Function ReplicatedNetwork.overlayToken is not accessible from the replicated module
Function ReplicatedNetwork.overlayToken is not accessible from the replicated module
Function ReplicatedNetwork.overlayToken is not accessible from the replicated module
policy() 🔗
Return Type
String !
Example
Function ReplicatedNetwork.policy is not accessible from the replicated module
Function ReplicatedNetwork.policy is not accessible from the replicated module
Function ReplicatedNetwork.policy is not accessible from the replicated module
Function ReplicatedNetwork.policy is not accessible from the replicated module
Cluster 🔗
Cluster represents a single cluster in the response
itemId() 🔗
Return Type
String !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
cluster-create --wait string --ttl string --distribution string --nodes integer \
item-id
func (m *myModule) example(ctx context.Context, wait string, ttl string, distribution string, nodes int) string {
return dag.
Replicated().
ClusterCreate(wait, ttl, distribution, nodes).
ItemId(ctx)
}
@function
async def example(wait: str, ttl: str, distribution: str, nodes: int) -> str:
return await (
dag.replicated()
.cluster_create(wait, ttl, distribution, nodes)
.item_id()
)
@func()
async example(wait: string, ttl: string, distribution: string, nodes: number): Promise<string> {
return dag
.replicated()
.clusterCreate(wait, ttl, distribution, nodes)
.itemId()
}
name() 🔗
Return Type
String !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
cluster-create --wait string --ttl string --distribution string --nodes integer \
name
func (m *myModule) example(ctx context.Context, wait string, ttl string, distribution string, nodes int) string {
return dag.
Replicated().
ClusterCreate(wait, ttl, distribution, nodes).
Name(ctx)
}
@function
async def example(wait: str, ttl: str, distribution: str, nodes: int) -> str:
return await (
dag.replicated()
.cluster_create(wait, ttl, distribution, nodes)
.name()
)
@func()
async example(wait: string, ttl: string, distribution: string, nodes: number): Promise<string> {
return dag
.replicated()
.clusterCreate(wait, ttl, distribution, nodes)
.name()
}
status() 🔗
Return Type
String !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
cluster-create --wait string --ttl string --distribution string --nodes integer \
status
func (m *myModule) example(ctx context.Context, wait string, ttl string, distribution string, nodes int) string {
return dag.
Replicated().
ClusterCreate(wait, ttl, distribution, nodes).
Status(ctx)
}
@function
async def example(wait: str, ttl: str, distribution: str, nodes: int) -> str:
return await (
dag.replicated()
.cluster_create(wait, ttl, distribution, nodes)
.status()
)
@func()
async example(wait: string, ttl: string, distribution: string, nodes: number): Promise<string> {
return dag
.replicated()
.clusterCreate(wait, ttl, distribution, nodes)
.status()
}
kubernetesDistribution() 🔗
Return Type
String !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
cluster-create --wait string --ttl string --distribution string --nodes integer \
kubernetes-distribution
func (m *myModule) example(ctx context.Context, wait string, ttl string, distribution string, nodes int) string {
return dag.
Replicated().
ClusterCreate(wait, ttl, distribution, nodes).
KubernetesDistribution(ctx)
}
@function
async def example(wait: str, ttl: str, distribution: str, nodes: int) -> str:
return await (
dag.replicated()
.cluster_create(wait, ttl, distribution, nodes)
.kubernetes_distribution()
)
@func()
async example(wait: string, ttl: string, distribution: string, nodes: number): Promise<string> {
return dag
.replicated()
.clusterCreate(wait, ttl, distribution, nodes)
.kubernetesDistribution()
}
kubernetesVersion() 🔗
Return Type
String !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
cluster-create --wait string --ttl string --distribution string --nodes integer \
kubernetes-version
func (m *myModule) example(ctx context.Context, wait string, ttl string, distribution string, nodes int) string {
return dag.
Replicated().
ClusterCreate(wait, ttl, distribution, nodes).
KubernetesVersion(ctx)
}
@function
async def example(wait: str, ttl: str, distribution: str, nodes: int) -> str:
return await (
dag.replicated()
.cluster_create(wait, ttl, distribution, nodes)
.kubernetes_version()
)
@func()
async example(wait: string, ttl: string, distribution: string, nodes: number): Promise<string> {
return dag
.replicated()
.clusterCreate(wait, ttl, distribution, nodes)
.kubernetesVersion()
}
nodeGroups() 🔗
Return Type
[NodeGroup ! ] !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
cluster-create --wait string --ttl string --distribution string --nodes integer \
node-groups
func (m *myModule) example(wait string, ttl string, distribution string, nodes int) []*dagger.ReplicatedNodeGroup {
return dag.
Replicated().
ClusterCreate(wait, ttl, distribution, nodes).
NodeGroups()
}
@function
def example(wait: str, ttl: str, distribution: str, nodes: int) -> List[dagger.ReplicatedNodeGroup]:
return (
dag.replicated()
.cluster_create(wait, ttl, distribution, nodes)
.node_groups()
)
@func()
example(wait: string, ttl: string, distribution: string, nodes: number): ReplicatedNodeGroup[] {
return dag
.replicated()
.clusterCreate(wait, ttl, distribution, nodes)
.nodeGroups()
}
networkId() 🔗
Return Type
String !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
cluster-create --wait string --ttl string --distribution string --nodes integer \
network-id
func (m *myModule) example(ctx context.Context, wait string, ttl string, distribution string, nodes int) string {
return dag.
Replicated().
ClusterCreate(wait, ttl, distribution, nodes).
NetworkId(ctx)
}
@function
async def example(wait: str, ttl: str, distribution: str, nodes: int) -> str:
return await (
dag.replicated()
.cluster_create(wait, ttl, distribution, nodes)
.network_id()
)
@func()
async example(wait: string, ttl: string, distribution: string, nodes: number): Promise<string> {
return dag
.replicated()
.clusterCreate(wait, ttl, distribution, nodes)
.networkId()
}
createdAt() 🔗
Return Type
String !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
cluster-create --wait string --ttl string --distribution string --nodes integer \
created-at
func (m *myModule) example(ctx context.Context, wait string, ttl string, distribution string, nodes int) string {
return dag.
Replicated().
ClusterCreate(wait, ttl, distribution, nodes).
CreatedAt(ctx)
}
@function
async def example(wait: str, ttl: str, distribution: str, nodes: int) -> str:
return await (
dag.replicated()
.cluster_create(wait, ttl, distribution, nodes)
.created_at()
)
@func()
async example(wait: string, ttl: string, distribution: string, nodes: number): Promise<string> {
return dag
.replicated()
.clusterCreate(wait, ttl, distribution, nodes)
.createdAt()
}
expiresAt() 🔗
Return Type
String !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
cluster-create --wait string --ttl string --distribution string --nodes integer \
expires-at
func (m *myModule) example(ctx context.Context, wait string, ttl string, distribution string, nodes int) string {
return dag.
Replicated().
ClusterCreate(wait, ttl, distribution, nodes).
ExpiresAt(ctx)
}
@function
async def example(wait: str, ttl: str, distribution: str, nodes: int) -> str:
return await (
dag.replicated()
.cluster_create(wait, ttl, distribution, nodes)
.expires_at()
)
@func()
async example(wait: string, ttl: string, distribution: string, nodes: number): Promise<string> {
return dag
.replicated()
.clusterCreate(wait, ttl, distribution, nodes)
.expiresAt()
}
ttl() 🔗
Return Type
String !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
cluster-create --wait string --ttl string --distribution string --nodes integer \
ttl
func (m *myModule) example(ctx context.Context, wait string, ttl string, distribution string, nodes int) string {
return dag.
Replicated().
ClusterCreate(wait, ttl, distribution, nodes).
Ttl(ctx)
}
@function
async def example(wait: str, ttl: str, distribution: str, nodes: int) -> str:
return await (
dag.replicated()
.cluster_create(wait, ttl, distribution, nodes)
.ttl()
)
@func()
async example(wait: string, ttl: string, distribution: string, nodes: number): Promise<string> {
return dag
.replicated()
.clusterCreate(wait, ttl, distribution, nodes)
.ttl()
}
creditsPerHourPerCluster() 🔗
Return Type
Integer !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
cluster-create --wait string --ttl string --distribution string --nodes integer \
credits-per-hour-per-cluster
func (m *myModule) example(ctx context.Context, wait string, ttl string, distribution string, nodes int) int {
return dag.
Replicated().
ClusterCreate(wait, ttl, distribution, nodes).
CreditsPerHourPerCluster(ctx)
}
@function
async def example(wait: str, ttl: str, distribution: str, nodes: int) -> int:
return await (
dag.replicated()
.cluster_create(wait, ttl, distribution, nodes)
.credits_per_hour_per_cluster()
)
@func()
async example(wait: string, ttl: string, distribution: string, nodes: number): Promise<number> {
return dag
.replicated()
.clusterCreate(wait, ttl, distribution, nodes)
.creditsPerHourPerCluster()
}
flatFee() 🔗
Return Type
Integer !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
cluster-create --wait string --ttl string --distribution string --nodes integer \
flat-fee
func (m *myModule) example(ctx context.Context, wait string, ttl string, distribution string, nodes int) int {
return dag.
Replicated().
ClusterCreate(wait, ttl, distribution, nodes).
FlatFee(ctx)
}
@function
async def example(wait: str, ttl: str, distribution: str, nodes: int) -> int:
return await (
dag.replicated()
.cluster_create(wait, ttl, distribution, nodes)
.flat_fee()
)
@func()
async example(wait: string, ttl: string, distribution: string, nodes: number): Promise<number> {
return dag
.replicated()
.clusterCreate(wait, ttl, distribution, nodes)
.flatFee()
}
totalCredits() 🔗
Return Type
Integer !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
cluster-create --wait string --ttl string --distribution string --nodes integer \
total-credits
func (m *myModule) example(ctx context.Context, wait string, ttl string, distribution string, nodes int) int {
return dag.
Replicated().
ClusterCreate(wait, ttl, distribution, nodes).
TotalCredits(ctx)
}
@function
async def example(wait: str, ttl: str, distribution: str, nodes: int) -> int:
return await (
dag.replicated()
.cluster_create(wait, ttl, distribution, nodes)
.total_credits()
)
@func()
async example(wait: string, ttl: string, distribution: string, nodes: number): Promise<number> {
return dag
.replicated()
.clusterCreate(wait, ttl, distribution, nodes)
.totalCredits()
}
estimatedCost() 🔗
Return Type
Integer !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
cluster-create --wait string --ttl string --distribution string --nodes integer \
estimated-cost
func (m *myModule) example(ctx context.Context, wait string, ttl string, distribution string, nodes int) int {
return dag.
Replicated().
ClusterCreate(wait, ttl, distribution, nodes).
EstimatedCost(ctx)
}
@function
async def example(wait: str, ttl: str, distribution: str, nodes: int) -> int:
return await (
dag.replicated()
.cluster_create(wait, ttl, distribution, nodes)
.estimated_cost()
)
@func()
async example(wait: string, ttl: string, distribution: string, nodes: number): Promise<number> {
return dag
.replicated()
.clusterCreate(wait, ttl, distribution, nodes)
.estimatedCost()
}
tags() 🔗
Return Type
[String ! ] !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
cluster-create --wait string --ttl string --distribution string --nodes integer \
tags
func (m *myModule) example(ctx context.Context, wait string, ttl string, distribution string, nodes int) []string {
return dag.
Replicated().
ClusterCreate(wait, ttl, distribution, nodes).
Tags(ctx)
}
@function
async def example(wait: str, ttl: str, distribution: str, nodes: int) -> List[str]:
return await (
dag.replicated()
.cluster_create(wait, ttl, distribution, nodes)
.tags()
)
@func()
async example(wait: string, ttl: string, distribution: string, nodes: number): Promise<string[]> {
return dag
.replicated()
.clusterCreate(wait, ttl, distribution, nodes)
.tags()
}
kubeconfig() 🔗
Not part of the API response, populated after creation
Return Type
String !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
cluster-create --wait string --ttl string --distribution string --nodes integer \
kubeconfig
func (m *myModule) example(ctx context.Context, wait string, ttl string, distribution string, nodes int) string {
return dag.
Replicated().
ClusterCreate(wait, ttl, distribution, nodes).
Kubeconfig(ctx)
}
@function
async def example(wait: str, ttl: str, distribution: str, nodes: int) -> str:
return await (
dag.replicated()
.cluster_create(wait, ttl, distribution, nodes)
.kubeconfig()
)
@func()
async example(wait: string, ttl: string, distribution: string, nodes: number): Promise<string> {
return dag
.replicated()
.clusterCreate(wait, ttl, distribution, nodes)
.kubeconfig()
}
PortExpose 🔗
hostname() 🔗
Return Type
String !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
vm-expose-port --vm-id string --vm-port integer --protocol string \
hostname
func (m *myModule) example(ctx context.Context, vmId string, vmPort int, protocol string) string {
return dag.
Replicated().
VmExposePort(vmId, vmPort, protocol).
Hostname(ctx)
}
@function
async def example(vm_id: str, vm_port: int, protocol: str) -> str:
return await (
dag.replicated()
.vm_expose_port(vm_id, vm_port, protocol)
.hostname()
)
@func()
async example(vmId: string, vmPort: number, protocol: string): Promise<string> {
return dag
.replicated()
.vmExposePort(vmId, vmPort, protocol)
.hostname()
}
state() 🔗
Return Type
String !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
vm-expose-port --vm-id string --vm-port integer --protocol string \
state
func (m *myModule) example(ctx context.Context, vmId string, vmPort int, protocol string) string {
return dag.
Replicated().
VmExposePort(vmId, vmPort, protocol).
State(ctx)
}
@function
async def example(vm_id: str, vm_port: int, protocol: str) -> str:
return await (
dag.replicated()
.vm_expose_port(vm_id, vm_port, protocol)
.state()
)
@func()
async example(vmId: string, vmPort: number, protocol: string): Promise<string> {
return dag
.replicated()
.vmExposePort(vmId, vmPort, protocol)
.state()
}
ClusterVersion 🔗
shortName() 🔗
Return Type
String !
Example
Function ReplicatedClusterVersion.shortName is not accessible from the replicated module
Function ReplicatedClusterVersion.shortName is not accessible from the replicated module
Function ReplicatedClusterVersion.shortName is not accessible from the replicated module
Function ReplicatedClusterVersion.shortName is not accessible from the replicated module
versions() 🔗
Return Type
[String ! ] !
Example
Function ReplicatedClusterVersion.versions is not accessible from the replicated module
Function ReplicatedClusterVersion.versions is not accessible from the replicated module
Function ReplicatedClusterVersion.versions is not accessible from the replicated module
Function ReplicatedClusterVersion.versions is not accessible from the replicated module
instanceTypes() 🔗
Return Type
[String ! ] !
Example
Function ReplicatedClusterVersion.instanceTypes is not accessible from the replicated module
Function ReplicatedClusterVersion.instanceTypes is not accessible from the replicated module
Function ReplicatedClusterVersion.instanceTypes is not accessible from the replicated module
Function ReplicatedClusterVersion.instanceTypes is not accessible from the replicated module
nodesMax() 🔗
Return Type
Integer !
Example
Function ReplicatedClusterVersion.nodesMax is not accessible from the replicated module
Function ReplicatedClusterVersion.nodesMax is not accessible from the replicated module
Function ReplicatedClusterVersion.nodesMax is not accessible from the replicated module
Function ReplicatedClusterVersion.nodesMax is not accessible from the replicated module
Vm 🔗
VM represents a single VM in the response
itemId() 🔗
Return Type
String !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
vm-create --wait string --ttl string --distribution string --count integer --disk integer \
item-id
func (m *myModule) example(ctx context.Context, wait string, ttl string, distribution string, count int, disk int) string {
return dag.
Replicated().
VmCreate(wait, ttl, distribution, count, disk).
ItemId(ctx)
}
@function
async def example(wait: str, ttl: str, distribution: str, count: int, disk: int) -> str:
return await (
dag.replicated()
.vm_create(wait, ttl, distribution, count, disk)
.item_id()
)
@func()
async example(wait: string, ttl: string, distribution: string, count: number, disk: number): Promise<string> {
return dag
.replicated()
.vmCreate(wait, ttl, distribution, count, disk)
.itemId()
}
name() 🔗
Return Type
String !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
vm-create --wait string --ttl string --distribution string --count integer --disk integer \
name
func (m *myModule) example(ctx context.Context, wait string, ttl string, distribution string, count int, disk int) string {
return dag.
Replicated().
VmCreate(wait, ttl, distribution, count, disk).
Name(ctx)
}
@function
async def example(wait: str, ttl: str, distribution: str, count: int, disk: int) -> str:
return await (
dag.replicated()
.vm_create(wait, ttl, distribution, count, disk)
.name()
)
@func()
async example(wait: string, ttl: string, distribution: string, count: number, disk: number): Promise<string> {
return dag
.replicated()
.vmCreate(wait, ttl, distribution, count, disk)
.name()
}
status() 🔗
Return Type
String !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
vm-create --wait string --ttl string --distribution string --count integer --disk integer \
status
func (m *myModule) example(ctx context.Context, wait string, ttl string, distribution string, count int, disk int) string {
return dag.
Replicated().
VmCreate(wait, ttl, distribution, count, disk).
Status(ctx)
}
@function
async def example(wait: str, ttl: str, distribution: str, count: int, disk: int) -> str:
return await (
dag.replicated()
.vm_create(wait, ttl, distribution, count, disk)
.status()
)
@func()
async example(wait: string, ttl: string, distribution: string, count: number, disk: number): Promise<string> {
return dag
.replicated()
.vmCreate(wait, ttl, distribution, count, disk)
.status()
}
distribution() 🔗
Return Type
String !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
vm-create --wait string --ttl string --distribution string --count integer --disk integer \
distribution
func (m *myModule) example(ctx context.Context, wait string, ttl string, distribution string, count int, disk int) string {
return dag.
Replicated().
VmCreate(wait, ttl, distribution, count, disk).
Distribution(ctx)
}
@function
async def example(wait: str, ttl: str, distribution: str, count: int, disk: int) -> str:
return await (
dag.replicated()
.vm_create(wait, ttl, distribution, count, disk)
.distribution()
)
@func()
async example(wait: string, ttl: string, distribution: string, count: number, disk: number): Promise<string> {
return dag
.replicated()
.vmCreate(wait, ttl, distribution, count, disk)
.distribution()
}
version() 🔗
Return Type
String !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
vm-create --wait string --ttl string --distribution string --count integer --disk integer \
version
func (m *myModule) example(ctx context.Context, wait string, ttl string, distribution string, count int, disk int) string {
return dag.
Replicated().
VmCreate(wait, ttl, distribution, count, disk).
Version(ctx)
}
@function
async def example(wait: str, ttl: str, distribution: str, count: int, disk: int) -> str:
return await (
dag.replicated()
.vm_create(wait, ttl, distribution, count, disk)
.version()
)
@func()
async example(wait: string, ttl: string, distribution: string, count: number, disk: number): Promise<string> {
return dag
.replicated()
.vmCreate(wait, ttl, distribution, count, disk)
.version()
}
createdAt() 🔗
Return Type
String !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
vm-create --wait string --ttl string --distribution string --count integer --disk integer \
created-at
func (m *myModule) example(ctx context.Context, wait string, ttl string, distribution string, count int, disk int) string {
return dag.
Replicated().
VmCreate(wait, ttl, distribution, count, disk).
CreatedAt(ctx)
}
@function
async def example(wait: str, ttl: str, distribution: str, count: int, disk: int) -> str:
return await (
dag.replicated()
.vm_create(wait, ttl, distribution, count, disk)
.created_at()
)
@func()
async example(wait: string, ttl: string, distribution: string, count: number, disk: number): Promise<string> {
return dag
.replicated()
.vmCreate(wait, ttl, distribution, count, disk)
.createdAt()
}
networkId() 🔗
Return Type
String !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
vm-create --wait string --ttl string --distribution string --count integer --disk integer \
network-id
func (m *myModule) example(ctx context.Context, wait string, ttl string, distribution string, count int, disk int) string {
return dag.
Replicated().
VmCreate(wait, ttl, distribution, count, disk).
NetworkId(ctx)
}
@function
async def example(wait: str, ttl: str, distribution: str, count: int, disk: int) -> str:
return await (
dag.replicated()
.vm_create(wait, ttl, distribution, count, disk)
.network_id()
)
@func()
async example(wait: string, ttl: string, distribution: string, count: number, disk: number): Promise<string> {
return dag
.replicated()
.vmCreate(wait, ttl, distribution, count, disk)
.networkId()
}
expiresAt() 🔗
Return Type
String !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
vm-create --wait string --ttl string --distribution string --count integer --disk integer \
expires-at
func (m *myModule) example(ctx context.Context, wait string, ttl string, distribution string, count int, disk int) string {
return dag.
Replicated().
VmCreate(wait, ttl, distribution, count, disk).
ExpiresAt(ctx)
}
@function
async def example(wait: str, ttl: str, distribution: str, count: int, disk: int) -> str:
return await (
dag.replicated()
.vm_create(wait, ttl, distribution, count, disk)
.expires_at()
)
@func()
async example(wait: string, ttl: string, distribution: string, count: number, disk: number): Promise<string> {
return dag
.replicated()
.vmCreate(wait, ttl, distribution, count, disk)
.expiresAt()
}
ttl() 🔗
Return Type
String !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
vm-create --wait string --ttl string --distribution string --count integer --disk integer \
ttl
func (m *myModule) example(ctx context.Context, wait string, ttl string, distribution string, count int, disk int) string {
return dag.
Replicated().
VmCreate(wait, ttl, distribution, count, disk).
Ttl(ctx)
}
@function
async def example(wait: str, ttl: str, distribution: str, count: int, disk: int) -> str:
return await (
dag.replicated()
.vm_create(wait, ttl, distribution, count, disk)
.ttl()
)
@func()
async example(wait: string, ttl: string, distribution: string, count: number, disk: number): Promise<string> {
return dag
.replicated()
.vmCreate(wait, ttl, distribution, count, disk)
.ttl()
}
creditsPerHour() 🔗
Return Type
Integer !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
vm-create --wait string --ttl string --distribution string --count integer --disk integer \
credits-per-hour
func (m *myModule) example(ctx context.Context, wait string, ttl string, distribution string, count int, disk int) int {
return dag.
Replicated().
VmCreate(wait, ttl, distribution, count, disk).
CreditsPerHour(ctx)
}
@function
async def example(wait: str, ttl: str, distribution: str, count: int, disk: int) -> int:
return await (
dag.replicated()
.vm_create(wait, ttl, distribution, count, disk)
.credits_per_hour()
)
@func()
async example(wait: string, ttl: string, distribution: string, count: number, disk: number): Promise<number> {
return dag
.replicated()
.vmCreate(wait, ttl, distribution, count, disk)
.creditsPerHour()
}
flatFee() 🔗
Return Type
Integer !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
vm-create --wait string --ttl string --distribution string --count integer --disk integer \
flat-fee
func (m *myModule) example(ctx context.Context, wait string, ttl string, distribution string, count int, disk int) int {
return dag.
Replicated().
VmCreate(wait, ttl, distribution, count, disk).
FlatFee(ctx)
}
@function
async def example(wait: str, ttl: str, distribution: str, count: int, disk: int) -> int:
return await (
dag.replicated()
.vm_create(wait, ttl, distribution, count, disk)
.flat_fee()
)
@func()
async example(wait: string, ttl: string, distribution: string, count: number, disk: number): Promise<number> {
return dag
.replicated()
.vmCreate(wait, ttl, distribution, count, disk)
.flatFee()
}
totalCredits() 🔗
Return Type
Integer !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
vm-create --wait string --ttl string --distribution string --count integer --disk integer \
total-credits
func (m *myModule) example(ctx context.Context, wait string, ttl string, distribution string, count int, disk int) int {
return dag.
Replicated().
VmCreate(wait, ttl, distribution, count, disk).
TotalCredits(ctx)
}
@function
async def example(wait: str, ttl: str, distribution: str, count: int, disk: int) -> int:
return await (
dag.replicated()
.vm_create(wait, ttl, distribution, count, disk)
.total_credits()
)
@func()
async example(wait: string, ttl: string, distribution: string, count: number, disk: number): Promise<number> {
return dag
.replicated()
.vmCreate(wait, ttl, distribution, count, disk)
.totalCredits()
}
estimatedCost() 🔗
Return Type
Integer !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
vm-create --wait string --ttl string --distribution string --count integer --disk integer \
estimated-cost
func (m *myModule) example(ctx context.Context, wait string, ttl string, distribution string, count int, disk int) int {
return dag.
Replicated().
VmCreate(wait, ttl, distribution, count, disk).
EstimatedCost(ctx)
}
@function
async def example(wait: str, ttl: str, distribution: str, count: int, disk: int) -> int:
return await (
dag.replicated()
.vm_create(wait, ttl, distribution, count, disk)
.estimated_cost()
)
@func()
async example(wait: string, ttl: string, distribution: string, count: number, disk: number): Promise<number> {
return dag
.replicated()
.vmCreate(wait, ttl, distribution, count, disk)
.estimatedCost()
}
directSshport() 🔗
Return Type
Integer !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
vm-create --wait string --ttl string --distribution string --count integer --disk integer \
direct-sshport
func (m *myModule) example(ctx context.Context, wait string, ttl string, distribution string, count int, disk int) int {
return dag.
Replicated().
VmCreate(wait, ttl, distribution, count, disk).
DirectSshport(ctx)
}
@function
async def example(wait: str, ttl: str, distribution: str, count: int, disk: int) -> int:
return await (
dag.replicated()
.vm_create(wait, ttl, distribution, count, disk)
.direct_sshport()
)
@func()
async example(wait: string, ttl: string, distribution: string, count: number, disk: number): Promise<number> {
return dag
.replicated()
.vmCreate(wait, ttl, distribution, count, disk)
.directSshport()
}
directSshendpoint() 🔗
Return Type
String !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
vm-create --wait string --ttl string --distribution string --count integer --disk integer \
direct-sshendpoint
func (m *myModule) example(ctx context.Context, wait string, ttl string, distribution string, count int, disk int) string {
return dag.
Replicated().
VmCreate(wait, ttl, distribution, count, disk).
DirectSshendpoint(ctx)
}
@function
async def example(wait: str, ttl: str, distribution: str, count: int, disk: int) -> str:
return await (
dag.replicated()
.vm_create(wait, ttl, distribution, count, disk)
.direct_sshendpoint()
)
@func()
async example(wait: string, ttl: string, distribution: string, count: number, disk: number): Promise<string> {
return dag
.replicated()
.vmCreate(wait, ttl, distribution, count, disk)
.directSshendpoint()
}
tags() 🔗
Return Type
[String ! ] !
Example
dagger -m github.com/replicatedhq/daggerverse/replicated@05342b918edf9642d3ec50d2a61d79bb6004ca14 call \
vm-create --wait string --ttl string --distribution string --count integer --disk integer \
tags
func (m *myModule) example(ctx context.Context, wait string, ttl string, distribution string, count int, disk int) []string {
return dag.
Replicated().
VmCreate(wait, ttl, distribution, count, disk).
Tags(ctx)
}
@function
async def example(wait: str, ttl: str, distribution: str, count: int, disk: int) -> List[str]:
return await (
dag.replicated()
.vm_create(wait, ttl, distribution, count, disk)
.tags()
)
@func()
async example(wait: string, ttl: string, distribution: string, count: number, disk: number): Promise<string[]> {
return dag
.replicated()
.vmCreate(wait, ttl, distribution, count, disk)
.tags()
}
Vmversion 🔗
shortName() 🔗
Return Type
String !
Example
Function ReplicatedVmversion.shortName is not accessible from the replicated module
Function ReplicatedVmversion.shortName is not accessible from the replicated module
Function ReplicatedVmversion.shortName is not accessible from the replicated module
Function ReplicatedVmversion.shortName is not accessible from the replicated module
versions() 🔗
Return Type
[String ! ] !
Example
Function ReplicatedVmversion.versions is not accessible from the replicated module
Function ReplicatedVmversion.versions is not accessible from the replicated module
Function ReplicatedVmversion.versions is not accessible from the replicated module
Function ReplicatedVmversion.versions is not accessible from the replicated module
instanceTypes() 🔗
Return Type
[String ! ] !
Example
Function ReplicatedVmversion.instanceTypes is not accessible from the replicated module
Function ReplicatedVmversion.instanceTypes is not accessible from the replicated module
Function ReplicatedVmversion.instanceTypes is not accessible from the replicated module
Function ReplicatedVmversion.instanceTypes is not accessible from the replicated module
NodeGroup 🔗
NodeGroup represents a group of nodes in a cluster
itemId() 🔗
Return Type
String !
Example
Function ReplicatedNodeGroup.itemId is not accessible from the replicated module
Function ReplicatedNodeGroup.itemId is not accessible from the replicated module
Function ReplicatedNodeGroup.itemId is not accessible from the replicated module
Function ReplicatedNodeGroup.itemId is not accessible from the replicated module
isDefault() 🔗
Return Type
Boolean !
Example
Function ReplicatedNodeGroup.isDefault is not accessible from the replicated module
Function ReplicatedNodeGroup.isDefault is not accessible from the replicated module
Function ReplicatedNodeGroup.isDefault is not accessible from the replicated module
Function ReplicatedNodeGroup.isDefault is not accessible from the replicated module
instanceType() 🔗
Return Type
String !
Example
Function ReplicatedNodeGroup.instanceType is not accessible from the replicated module
Function ReplicatedNodeGroup.instanceType is not accessible from the replicated module
Function ReplicatedNodeGroup.instanceType is not accessible from the replicated module
Function ReplicatedNodeGroup.instanceType is not accessible from the replicated module
name() 🔗
Return Type
String !
Example
Function ReplicatedNodeGroup.name is not accessible from the replicated module
Function ReplicatedNodeGroup.name is not accessible from the replicated module
Function ReplicatedNodeGroup.name is not accessible from the replicated module
Function ReplicatedNodeGroup.name is not accessible from the replicated module
nodeCount() 🔗
Return Type
Integer !
Example
Function ReplicatedNodeGroup.nodeCount is not accessible from the replicated module
Function ReplicatedNodeGroup.nodeCount is not accessible from the replicated module
Function ReplicatedNodeGroup.nodeCount is not accessible from the replicated module
Function ReplicatedNodeGroup.nodeCount is not accessible from the replicated module
diskGiB() 🔗
Return Type
Integer !
Example
Function ReplicatedNodeGroup.diskGiB is not accessible from the replicated module
Function ReplicatedNodeGroup.diskGiB is not accessible from the replicated module
Function ReplicatedNodeGroup.diskGiB is not accessible from the replicated module
Function ReplicatedNodeGroup.diskGiB is not accessible from the replicated module
createdAt() 🔗
Return Type
String !
Example
Function ReplicatedNodeGroup.createdAt is not accessible from the replicated module
Function ReplicatedNodeGroup.createdAt is not accessible from the replicated module
Function ReplicatedNodeGroup.createdAt is not accessible from the replicated module
Function ReplicatedNodeGroup.createdAt is not accessible from the replicated module
runningAt() 🔗
Return Type
String !
Example
Function ReplicatedNodeGroup.runningAt is not accessible from the replicated module
Function ReplicatedNodeGroup.runningAt is not accessible from the replicated module
Function ReplicatedNodeGroup.runningAt is not accessible from the replicated module
Function ReplicatedNodeGroup.runningAt is not accessible from the replicated module
creditsPerHour() 🔗
Return Type
Integer !
Example
Function ReplicatedNodeGroup.creditsPerHour is not accessible from the replicated module
Function ReplicatedNodeGroup.creditsPerHour is not accessible from the replicated module
Function ReplicatedNodeGroup.creditsPerHour is not accessible from the replicated module
Function ReplicatedNodeGroup.creditsPerHour is not accessible from the replicated module
minutesBilled() 🔗
Return Type
Integer !
Example
Function ReplicatedNodeGroup.minutesBilled is not accessible from the replicated module
Function ReplicatedNodeGroup.minutesBilled is not accessible from the replicated module
Function ReplicatedNodeGroup.minutesBilled is not accessible from the replicated module
Function ReplicatedNodeGroup.minutesBilled is not accessible from the replicated module
nodes() 🔗
Return Type
[String ! ] !
Example
Function ReplicatedNodeGroup.nodes is not accessible from the replicated module
Function ReplicatedNodeGroup.nodes is not accessible from the replicated module
Function ReplicatedNodeGroup.nodes is not accessible from the replicated module
Function ReplicatedNodeGroup.nodes is not accessible from the replicated module