codec

package
v1.11.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: May 2, 2018 License: Apache-2.0 Imports: 8 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 added in v1.11.0

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

EncodeKubeletConfig encodes an internal KubeletConfiguration to an external YAML representation

func NewYAMLEncoder added in v1.11.0

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

NewYAMLEncoder generates a new runtime.Encoder that encodes objects 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