func (*ClusterClient) Get(
ctx context.Context,
slug string,
) (*workflows.Cluster, error)
Get a cluster by its slug.
Parameters
Returns
A cluster object.
cluster, err := client.Clusters.Get(ctx,
"my-cluster-tZD9Ca1qsqt3V"
)
Errors
The specified cluster does not exist.