1
0
mirror of https://github.com/rancher/steve.git synced 2025-09-04 08:55:55 +00:00

Adding schema definitions endpoint

Introduces new schema definitions endpoint, allowing the caller to get
the fields/types/descriptions for a given kubernetes resource.
This commit is contained in:
Michael Bolot
2023-11-27 16:10:05 -06:00
parent 3f65942a6a
commit 40f6b10fc7
10 changed files with 378 additions and 13 deletions

View File

@@ -2,9 +2,10 @@ package schema
import (
"context"
"github.com/stretchr/testify/assert"
"testing"
"github.com/stretchr/testify/assert"
"github.com/rancher/apiserver/pkg/types"
"github.com/rancher/wrangler/v2/pkg/schemas"
k8sSchema "k8s.io/apimachinery/pkg/runtime/schema"