openapi

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureOpenAPI

func ConfigureOpenAPI(factory util.Factory, k8sSchemaSource, k8sSchemaPath string) error

ConfigureOpenAPI sets the openAPI schema in kyaml. It can either fetch the schema from a cluster, read it from file, or just the schema built into kyaml.

func ConfigureOpenAPISchema

func ConfigureOpenAPISchema(openAPISchema []byte) error

func FetchOpenAPISchemaFromCluster

func FetchOpenAPISchemaFromCluster(f util.Factory) ([]byte, error)

func ReadOpenAPISchemaFromDisk

func ReadOpenAPISchemaFromDisk(path string) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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