schemaconv

package
v0.0.0-...-d88c8b5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToSchema

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

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL