prow/cmd/pipeline/controller.go
func fromKey(key string) (string, string, string, error) {
	parts := strings.Split(key, "/")
	if len(parts) != 3 {
		return "", "", "", fmt.Errorf("bad key: %q", key)
	}
	return parts[0], parts[1], parts[2], nil
}
func fromKey(key string) (string, string, string, error) {
	parts := strings.Split(key, "/")
	if len(parts) != 3 {
		return "", "", "", fmt.Errorf("bad key: %q", key)
	}
	return parts[0], parts[1], parts[2], nil
}
func fromKey ( key string ) ( string , string , string , error ) { parts := strings . Split ( key , " " ) if len ( parts ) != 3 { return " " , " " , " " , fmt . Errorf ( " " , key ) } return parts [ 0 ] , parts [ 1 ] , parts [ 2 ] , nil }
// fromKey converts toKey back into its parts
fromKey converts toKey back into its parts