func GetList(ctx context.Context, c client.Client) (*unstructured.UnstructuredList, error) {
	oskNodeList := &unstructured.UnstructuredList{}
	oskNodeList.SetGroupVersionKind(schema.GroupVersionKind{
		Group:   "cluster.kupenstack.io",
		Kind:    "OpenstackNodeList",
		Version: "v1alpha1",
	})
	err := c.List(ctx, oskNodeList)
	if err != nil {
		return nil, err
	}
	return oskNodeList, nil
}
get unstructured node list
get unstructured node // Get
convert to struct // osknode.AsStruct()
conver struct to unstructed node //  osknode.AsMap()
Returns list of all OpenstackNode resources as k8s-UnstructuredList-type
package osknode
import (
	"context"
	"encoding/json"
	"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
	"k8s.io/apimachinery/pkg/runtime/schema"
	"k8s.io/apimachinery/pkg/types"
	"sigs.k8s.io/controller-runtime/pkg/client"
	ksktypes "github.com/kupenstack/kupenstack/pkg/kupenstack/types/v1alpha1"
)