func (r *ResourceMeta) FromObjectMeta(meta metav1.ObjectMeta, config CtorConfig) {
	r.name = meta.Name
	r.namespace = meta.Namespace
	r.cluster = config.Cluster
	r.labels = meta.Labels
	r.creationTime = meta.CreationTimestamp.Time
}
FromObjectMeta copies meta information to the object
package k8sresources
import (
	"sort"
	"time"
	"github.com/golang/glog"
	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
	"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
	"kubectlfzf/pkg/util"
)
type K8sResource interface {
	HasChanged(k K8sResource) bool
	ToString() string
	FromRuntime(obj interface{}, config CtorConfig)
}
type ResourceMeta struct {
	name         string
	namespace    string
	cluster      string
	labels       map[string]string
	creationTime time.Time
}