kubernetes: k8s.io/kubernetes/staging/src/k8s.io/component-base/codec Index | Files

package codec

import "k8s.io/kubernetes/staging/src/k8s.io/component-base/codec"


Package Files


func NewLenientSchemeAndCodecs Uses

func NewLenientSchemeAndCodecs(addToSchemeFns ...func(s *runtime.Scheme) error) (*runtime.Scheme, *serializer.CodecFactory, error)

NewLenientSchemeAndCodecs constructs a CodecFactory with strict decoding disabled, that has only the Schemes registered into it which are passed and added via AddToScheme functions. This can be used to skip strict decoding a specific version only.

Package codec imports 3 packages (graph). Updated 2020-02-25. Refresh now. Tools for package owners.