File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -57,9 +57,6 @@ type AwareRunnable interface {
57
57
Disengage (context.Context , Cluster ) error
58
58
}
59
59
60
- // ByNameGetterFunc is a function that returns a cluster for a given identifying cluster name.
61
- type ByNameGetterFunc func (ctx context.Context , clusterName string ) (Cluster , error )
62
-
63
60
// Cluster provides various methods to interact with a cluster.
64
61
type Cluster interface {
65
62
// Name returns the name of the cluster. It identifies the cluster in the
Original file line number Diff line number Diff line change @@ -63,7 +63,6 @@ const (
63
63
64
64
var _ Runnable = & controllerManager {}
65
65
var _ Manager = & controllerManager {}
66
- var _ cluster.ByNameGetterFunc = (& controllerManager {}).GetCluster
67
66
68
67
type engagedCluster struct {
69
68
cluster.Cluster
You can’t perform that action at this time.
0 commit comments