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 schemes, 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.33.1 (latest)
Published
May 15, 2025
Platform
linux/amd64
Imports
4 packages
Last checked
4 hours ago

Tools for package owners.