package codec

import "k8s.io/kubernetes/pkg/kubelet/kubeletconfig/util/codec"

Index

Functions

func DecodeKubeletConfiguration

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

DecodeKubeletConfiguration decodes a serialized KubeletConfiguration to the internal type

func NewJSONEncoder

func NewJSONEncoder(groupName string) (runtime.Encoder, error)

NewJSONEncoder generates a new runtime.Encoder that encodes objects to JSON

Source Files

codec.go

Version
v1.9.6
Published
Mar 20, 2018
Platform
js/wasm
Imports
6 packages
Last checked
13 minutes ago

Tools for package owners.