package strict

import "k8s.io/kubernetes/cmd/kubeadm/app/util/config/strict"

Index

Functions

func VerifyUnmarshalStrict

func VerifyUnmarshalStrict(schemes []*runtime.Scheme, gvk schema.GroupVersionKind, bytes []byte) error

VerifyUnmarshalStrict takes a slice of schems, a JSON/YAML byte slice and a GroupVersionKind and verifies if the schema is known and if the byte slice unmarshals with strict mode.

Source Files

strict.go

Version
v1.26.2-rc.0
Published
Jan 18, 2023
Platform
js/wasm
Imports
4 packages
Last checked
5 minutes ago

Tools for package owners.