func find()

in pkg/topology/types.go [123:133]


func find(root *Service, identifier string) *Service {
	if root.ServiceGroup == identifier {
		return root
	}
	for i := range root.Children {
		if found := find(&root.Children[i], identifier); found != nil {
			return found
		}
	}
	return nil
}