code: func findContainerInPod(pod *v1.Pod, containerName string) (*v1.Container, error) {
  	for _, container := range pod.Spec.Containers {
  		if container.Name == containerName {
  			return &container, nil
  		}
  	}
  	return nil, fmt.Errorf("container %s not found", containerName)
  }
docs: // findContainerInPod finds a container by its name in the provided pod