encoding

package
v1.37.7 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2022 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeControllerManagerConfiguration

func DecodeControllerManagerConfiguration(rawConfig *runtime.RawExtension, withDefaults bool) (*controllermanagerconfigv1alpha1.ControllerManagerConfiguration, error)

DecodeControllerManagerConfiguration decodes the given raw extension into an external ControllerManagerConfiguration version.

func DecodeControllerManagerConfigurationFromBytes

func DecodeControllerManagerConfigurationFromBytes(bytes []byte, withDefaults bool) (*controllermanagerconfigv1alpha1.ControllerManagerConfiguration, error)

DecodeControllerManagerConfigurationFromBytes decodes the given byte slice into an external ControllerManagerConfiguration version.

func EncodeControllerManagerConfiguration

func EncodeControllerManagerConfiguration(cfg *controllermanagerconfigv1alpha1.ControllerManagerConfiguration) (*runtime.RawExtension, error)

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

func EncodeControllerManagerConfigurationToBytes

func EncodeControllerManagerConfigurationToBytes(cfg *controllermanagerconfigv1alpha1.ControllerManagerConfiguration) ([]byte, error)

EncodeControllerManagerConfigurationToBytes encodes the given external ControllerManagerConfiguration 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