kube-openapi: k8s.io/kube-openapi/pkg/schemaconv Index | Files

package schemaconv

import "k8s.io/kube-openapi/pkg/schemaconv"

Index

Package Files

smd.go

func ToSchema Uses

func ToSchema(models proto.Models) (*schema.Schema, error)

ToSchema converts openapi definitions into a schema suitable for structured merge (i.e. kubectl apply v2).

func ToSchemaWithPreserveUnknownFields Uses

func ToSchemaWithPreserveUnknownFields(models proto.Models, preserveUnknownFields bool) (*schema.Schema, error)

ToSchemaWithPreserveUnknownFields converts openapi definitions into a schema suitable for structured merge (i.e. kubectl apply v2), it will preserve unknown fields if specified.

Package schemaconv imports 7 packages (graph) and is imported by 2 packages. Updated 2019-08-22. Refresh now. Tools for package owners.