func (pvc *PersistentVolumeClaim) FromRuntime(obj interface{}, config CtorConfig) {
	pvcFromRuntime := obj.(*corev1.PersistentVolumeClaim)
	pvc.FromObjectMeta(pvcFromRuntime.ObjectMeta, config)
	pvc.status = string(pvcFromRuntime.Status.Phase)
	if pvcFromRuntime.Spec.StorageClassName != nil {
		pvc.storageClass = *pvcFromRuntime.Spec.StorageClassName
	}
	pvc.volumeName = pvcFromRuntime.Spec.VolumeName
	quantity := pvcFromRuntime.Status.Capacity["storage"]
	pvc.capacity = quantity.String()
}
FromRuntime builds object from the informer's result
package k8sresources
import (
	corev1 "k8s.io/api/core/v1"
	"kubectlfzf/pkg/util"
)
const PersistentVolumeClaimHeader = "Cluster Namespace Name Status Capacity VolumeName StorageClass Age Labels\n"
type PersistentVolumeClaim struct {
	ResourceMeta
	status       string
	volumeName   string
	capacity     string
	storageClass string
}
func NewPersistentVolumeClaimFromRuntime(obj interface{}, config CtorConfig) K8sResource {
	p := &PersistentVolumeClaim{}
	p.FromRuntime(obj, config)
	return p
}