kubernetes/staging/src/k8s.io/kubectl/pkg/util/openapi/openapi.go

type OpenAPIResourcesGetter

type Resources

const groupVersionKindExtensionKey

type document

var _

// NewOpenAPIData creates a new `Resources` out of the openapi document
func NewOpenAPIData(doc *openapi_v2.Document) (Resources, error) {}

func (d *document) LookupResource(gvk schema.GroupVersionKind) proto.Schema {}

func (d *document) GetConsumes(gvk schema.GroupVersionKind, operation string) []string {}

// Get and parse GroupVersionKind from the extension. Returns empty if it doesn't have one.
func parseGroupVersionKind(s proto.Schema) []schema.GroupVersionKind {}