codec

package
v1.28.0-alpha.3...-059ce4e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeKubeletConfiguration

func DecodeKubeletConfiguration(kubeletCodecs *serializer.CodecFactory, data []byte) (*kubeletconfig.KubeletConfiguration, error)

DecodeKubeletConfiguration decodes a serialized KubeletConfiguration to the internal type.

func EncodeKubeletConfig

func EncodeKubeletConfig(internal *kubeletconfig.KubeletConfiguration, targetVersion schema.GroupVersion) ([]byte, error)

EncodeKubeletConfig encodes an internal KubeletConfiguration to an external YAML representation.

func NewKubeletconfigYAMLEncoder

func NewKubeletconfigYAMLEncoder(targetVersion schema.GroupVersion) (runtime.Encoder, error)

NewKubeletconfigYAMLEncoder returns an encoder that can write objects in the kubeletconfig API group to YAML.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL