strict

package
v1.16.14 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2020 License: Apache-2.0 Imports: 6 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VerifyUnmarshalStrict

func VerifyUnmarshalStrict(bytes []byte, gvk schema.GroupVersionKind) error

VerifyUnmarshalStrict takes a YAML byte slice and a GroupVersionKind and verifies if the YAML schema is known and if it unmarshals with strict mode.

TODO(neolit123): The returned error here is currently ignored everywhere and a klog warning is thrown instead. We don't want to turn this into an actual error yet. Eventually this can be controlled with an optional CLI flag.

Types

This section is empty.

Jump to

Keyboard shortcuts

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