how to register cluster in a plugin ?

If we develop a plugin and want to register a resource we can use $page->resource([XXX:class]) but how to register a Cluster ?
Solution:
add new clusterDiscovery in our Plugin , like ; $panel->discoverClusters(in: __DIR__.'/Filament/Clusters', for: 'Namespace')...
Jump to solution
1 Reply
Solution
Jr.Pikong
Jr.Pikong9mo ago
add new clusterDiscovery in our Plugin , like ; $panel->discoverClusters(in: __DIR__.'/Filament/Clusters', for: 'Namespace')
Want results from more Discord servers?
Add your server