kubernetes: k8s.io/kubernetes/cmd/kubeadm/app/util/config/strict Index | Files

package strict

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

Index

Package Files

strict.go

func VerifyUnmarshalStrict Uses

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.

Package strict imports 6 packages (graph) and is imported by 5 packages. Updated 2019-05-06. Refresh now. Tools for package owners.