workflows
Client.Clusters.List
Copy
Ask AI
clusters, err := client.Clusters.List(ctx)
Copy
Ask AI
func (*ClusterClient) List(ctx context.Context) ([]*workflows.Cluster, error)
Fetch all available clusters.
Returns
A list of all available clusters.
Copy
Ask AI
clusters, err := client.Clusters.List(ctx)
Was this page helpful?
Copy
Ask AI
clusters, err := client.Clusters.List(ctx)
Assistant
Responses are generated using AI and may contain mistakes.