12 lines
299 B
Go
12 lines
299 B
Go
package clusterapi
|
|
|
|
import (
|
|
"github.com/karmada-io/karmada/pkg/util"
|
|
"github.com/karmada-io/karmada/pkg/util/fedinformer/keys"
|
|
)
|
|
|
|
// ClusterWideKeyFunc generates a ClusterWideKey for object.
|
|
func ClusterWideKeyFunc(obj interface{}) (util.QueueKey, error) {
|
|
return keys.ClusterWideKeyFunc(obj)
|
|
}
|