code: func WaitForSnapshotResource(snapshotClient *rest.RESTClient) error {
  	return wait.Poll(100*time.Millisecond, 60*time.Second, func() (bool, error) {
  		_, err := snapshotClient.Get().
  			Resource(crdv1.VolumeSnapshotDataResourcePlural).DoRaw()
  		if err == nil {
  			return true, nil
  		}
  		if apierrors.IsNotFound(err) {
  			return false, nil
  		}
  		return false, err
  	})
  }
docs: // WaitForSnapshotResource waits for the snapshot resource