File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,8 @@ type Manager interface {
76
76
// lock was lost.
77
77
Start (ctx context.Context ) error
78
78
79
- // GetCluster retrieves a Cluster from a given identifying cluster name.
79
+ // GetCluster retrieves a Cluster from a given identifying cluster name. An
80
+ // empty string will return the default cluster of the manager.
80
81
GetCluster (ctx context.Context , clusterName string ) (cluster.Cluster , error )
81
82
82
83
// GetWebhookServer returns a webhook.Server
@@ -275,9 +276,8 @@ type Options struct {
275
276
newPprofListener func (addr string ) (net.Listener , error )
276
277
277
278
// ExperimentalClusterProvider is an EXPERIMENTAL feature that allows the manager to
278
- // operate against many Kubernetes clusters at once.
279
- // It can be used by invoking WithExperimentalClusterProvider(adapter) on Options.
280
- // Individual clusters can be accessed by calling GetCluster on the Manager.
279
+ // operate against many Kubernetes clusters at once. Individual clusters can
280
+ // be accessed by calling GetCluster on the Manager.
281
281
ExperimentalClusterProvider cluster.Provider
282
282
}
283
283
You can’t perform that action at this time.
0 commit comments