{"modulePath":"github.com/SovereignCloudStack/cluster-stack-operator","version":"v0.5.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package clusterclass\n\nPackage clusterclass contains helpers to find out which clusters use ClusterClasses of a namespace.\n\n## Functions\n\n```go\nfunc ListClustersUsingClassesOf(ctx context.Context, c client.Reader, namespace string) ([]clusterv1.Cluster, error)\n```\nListClustersUsingClassesOf returns all clusters, in any namespace, that use a ClusterClass of the given namespace.\n\n```go\nfunc Namespace(cluster *clusterv1.Cluster) string\n```\nNamespace returns the namespace of the ClusterClass that is used by the cluster. Since CAPI 1.11 a ClusterClass can live in a different namespace than the Cluster (spec.topology.classNamespace). It returns an empty string if the cluster does not use a ClusterClass.\n\n","path":"github.com/SovereignCloudStack/cluster-stack-operator/pkg/clusterclass","name":"clusterclass","synopsis":"Package clusterclass contains helpers to find out which clusters use ClusterClasses of a namespace.","isRedistributable":true}
