Skip to content

Commit

Permalink
SQUASH: fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
  • Loading branch information
sttts committed Apr 23, 2024
1 parent 3811640 commit ad9760b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/manager/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ type Manager interface {
// lock was lost.
Start(ctx context.Context) error

// GetCluster retrieves a Cluster from a given identifying cluster name.
// GetCluster retrieves a Cluster from a given identifying cluster name. An
// empty string will return the default cluster of the manager.
GetCluster(ctx context.Context, clusterName string) (cluster.Cluster, error)

// GetWebhookServer returns a webhook.Server
Expand Down Expand Up @@ -275,9 +276,8 @@ type Options struct {
newPprofListener func(addr string) (net.Listener, error)

// ExperimentalClusterProvider is an EXPERIMENTAL feature that allows the manager to
// operate against many Kubernetes clusters at once.
// It can be used by invoking WithExperimentalClusterProvider(adapter) on Options.
// Individual clusters can be accessed by calling GetCluster on the Manager.
// operate against many Kubernetes clusters at once. Individual clusters can
// be accessed by calling GetCluster on the Manager.
ExperimentalClusterProvider cluster.Provider
}

Expand Down

0 comments on commit ad9760b

Please sign in to comment.