Parameters
string
A display name for the cluster.
cluster.CreateOption
Optional cluster description.
cluster.CreateOption
Optional cluster slug. If omitted, Tilebox generates a slug from the cluster name.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
createdCluster, err := client.Clusters.Create(ctx,
"My cluster",
cluster.WithDescription("Development workloads"),
cluster.WithSlug("dev"),
)
createdCluster, err := client.Clusters.Create(ctx,
"My cluster",
cluster.WithDescription("Development workloads"),
cluster.WithSlug("dev"),
)
func (*ClusterClient) Create(
ctx context.Context,
name string,
options ...cluster.CreateOption,
) (*workflows.Cluster, error)
createdCluster, err := client.Clusters.Create(ctx,
"My cluster",
cluster.WithDescription("Development workloads"),
cluster.WithSlug("dev"),
)
Was this page helpful?