// createNewUnstructured creates resources by using gvr & obj, will get object after create.
createNewUnstructured creates resources by using gvr & obj, will get object after create.
// createNewUnstructured creates resources by using gvr & obj will get object after create .
func createNewUnstructured(
	clientHubDynamic dynamic.Interface,
	gvr schema.GroupVersionResource,
	obj *unstructured.Unstructured,
	name, namespace string,
) {
	klog.V(5).Infof("Creation Unstructured of %s %s/%s", gvr, name, namespace)
	ns := clientHubDynamic.Resource(gvr).Namespace(namespace)
	klog.V(5).Infof("ns client created for %s %s/%s created", gvr, name, namespace)
	Expect(ns.Create(context.TODO(), obj, metav1.CreateOptions{})).NotTo(BeNil())
	klog.V(5).Infof("Check if Unstructured %s %s/%s created", gvr, name, namespace)
	Expect(ns.Get(context.TODO(), name, metav1.GetOptions{})).NotTo(BeNil())
	klog.V(5).Infof("Unstructured %s %s/%s created", gvr, name, namespace)
}
func createNewUnstructured ( clientHubDynamic dynamic . Interface , gvr schema . GroupVersionResource , obj * unstructured . Unstructured , name , namespace string , ) { klog . V ( 5 ) . Infof ( " " , gvr , name , namespace ) ns := clientHubDynamic . Resource ( gvr ) . Namespace ( namespace ) klog . V ( 5 ) . Infof ( " " , gvr , name , namespace ) Expect ( ns . Create ( context . TODO ( ) , obj , metav1 . CreateOptions { } ) ) . NotTo ( BeNil ( ) ) klog . V ( 5 ) . Infof ( " " , gvr , name , namespace ) Expect ( ns . Get ( context . TODO ( ) , name , metav1 . GetOptions { } ) ) . NotTo ( BeNil ( ) ) klog . V ( 5 ) . Infof ( " " , gvr , name , namespace ) }
createNewUnstructured creates resources by using gvr & obj, will get object after create.
createNewUnstructured creates resources by using gvr & obj will get object after create .