encoding

package
v1.110.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeGardenletConfiguration

func DecodeGardenletConfiguration(rawConfig *runtime.RawExtension, withDefaults bool) (*gardenletv1alpha1.GardenletConfiguration, error)

DecodeGardenletConfiguration decodes the given raw extension into an external GardenletConfiguration version.

func DecodeGardenletConfigurationFromBytes

func DecodeGardenletConfigurationFromBytes(bytes []byte, withDefaults bool) (*gardenletv1alpha1.GardenletConfiguration, error)

DecodeGardenletConfigurationFromBytes decodes the given byte slice into an external GardenletConfiguration version.

func EncodeGardenletConfiguration

func EncodeGardenletConfiguration(cfg *gardenletv1alpha1.GardenletConfiguration) (*runtime.RawExtension, error)

EncodeGardenletConfiguration encodes the given external GardenletConfiguration version into a raw extension.

func EncodeGardenletConfigurationToBytes

func EncodeGardenletConfigurationToBytes(cfg *gardenletv1alpha1.GardenletConfiguration) ([]byte, error)

EncodeGardenletConfigurationToBytes encodes the given external GardenletConfiguration version into a byte slice.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL