Skip to content

Clusters.Get

go
func (*ClusterClient) Get(
    ctx context.Context,
    slug string,
) (*workflows.Cluster, error)

Get a cluster by its slug.

Parameters

slug string

The slug of the cluster

Returns

A cluster object, including its slug, name, description, whether it can be deleted, and deployed workflows.

Errors

not_found cluster not found

The specified cluster does not exist.

Type to search…