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.0-alpha.0
Published
Sep 1, 2017
Platform
js/wasm
Imports
6 packages
Last checked
10 minutes ago

Tools for package owners.