component-basek8s.io/component-base/codec Index | Files

package codec

import "k8s.io/component-base/codec"

Index

Functions

func NewLenientSchemeAndCodecs

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.

Source Files

codec.go

Version
v0.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
3 packages
Last checked
3 hours ago

Tools for package owners.