// parse the orchestrator cluster name as NamespacedName
parse the orchestrator cluster name as NamespacedName
// parse the orchestrator cluster name as NamespacedName
func orcNameToKey(name string) (types.NamespacedName, error) {
	components := strings.Split(name, ".")
	if len(components) != 2 {
		return types.NamespacedName{}, fmt.Errorf("can't parse name: %s", name)
	}
	return types.NamespacedName{Name: components[0], Namespace: components[1]}, nil
}
func orcNameToKey ( name string ) ( types . NamespacedName , error ) { components := strings . Split ( name , " " ) if len ( components ) != 2 { return types . NamespacedName { } , fmt . Errorf ( " " , name ) } return types . NamespacedName { Name : components [ 0 ] , Namespace : components [ 1 ] } , nil }
parse the orchestrator cluster name as NamespacedName
parse the orchestrator cluster name as NamespacedName