Documentation ¶
Index ¶
- func DecodeKubeletConfiguration(kubeletCodecs *serializer.CodecFactory, data []byte) (*kubeletconfig.KubeletConfiguration, error)
- func DecodeKubeletConfigurationIntoJSON(kubeletCodecs *serializer.CodecFactory, data []byte) ([]byte, error)
- func EncodeKubeletConfig(internal *kubeletconfig.KubeletConfiguration, ...) ([]byte, error)
- func NewKubeletconfigYAMLEncoder(targetVersion schema.GroupVersion) (runtime.Encoder, error)
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 DecodeKubeletConfigurationIntoJSON ¶ added in v1.29.0
func DecodeKubeletConfigurationIntoJSON(kubeletCodecs *serializer.CodecFactory, data []byte) ([]byte, error)
DecodeKubeletConfigurationIntoJSON 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 NewKubeletconfigYAMLEncoder ¶ added in v1.11.0
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.
Click to show internal directories.
Click to hide internal directories.