encoding

package
v1.34.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2021 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 DecodeSchedulerConfiguration

func DecodeSchedulerConfiguration(rawConfig *runtime.RawExtension, withDefaults bool) (*schedulerconfigv1alpha1.SchedulerConfiguration, error)

DecodeSchedulerConfiguration decodes the given raw extension into an external schedulerConfiguration version.

func DecodeSchedulerConfigurationFromBytes

func DecodeSchedulerConfigurationFromBytes(bytes []byte, withDefaults bool) (*schedulerconfigv1alpha1.SchedulerConfiguration, error)

DecodeSchedulerConfigurationFromBytes decodes the given byte slice into an external schedulerConfiguration version.

func EncodeSchedulerConfiguration

func EncodeSchedulerConfiguration(cfg *schedulerconfigv1alpha1.SchedulerConfiguration) (*runtime.RawExtension, error)

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

func EncodeSchedulerConfigurationToBytes

func EncodeSchedulerConfigurationToBytes(cfg *schedulerconfigv1alpha1.SchedulerConfiguration) ([]byte, error)

EncodeSchedulerConfigurationToBytes encodes the given external schedulerConfiguration 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