code: func (c *Client) Delete(namespace string, reader io.Reader) error {
  	infos, err := c.BuildUnstructured(namespace, reader)
  	if err != nil {
  		return err
  	}
  	return perform(infos, func(info *resource.Info) error {
  		c.Log("Starting delete for %q %s", info.Name, info.Mapping.GroupVersionKind.Kind)
  		err := deleteResource(info)
  		return c.skipIfNotFound(err)
  	})
  }
docs: // Delete deletes Kubernetes resources from an io.reader.
  //
  // Namespace will set the namespace.