kubernetes: k8s.io/kubernetes/pkg/kubelet/kubeletconfig/util/codec Index | Files

package codec

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

Index

Package Files

codec.go

func DecodeKubeletConfiguration Uses

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

DecodeKubeletConfiguration decodes a serialized KubeletConfiguration to the internal type

func EncodeKubeletConfig Uses

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

EncodeKubeletConfig encodes an internal KubeletConfiguration to an external YAML representation

func NewKubeletconfigYAMLEncoder Uses

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

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

func NewYAMLEncoder Uses

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

NewYAMLEncoder generates a new runtime.Encoder that encodes objects to YAML

Package codec imports 8 packages (graph) and is imported by 12 packages. Updated 2018-09-25. Refresh now. Tools for package owners.