encoding

package
v1.37.4 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 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 DecodeAdmissionControllerConfiguration

func DecodeAdmissionControllerConfiguration(rawConfig *runtime.RawExtension, withDefaults bool) (*admissioncontrollerconfigv1alpha1.AdmissionControllerConfiguration, error)

DecodeAdmissionControllerConfiguration decodes the given raw extension into an external AdmissionControllerConfiguration version.

func DecodeAdmissionControllerConfigurationFromBytes

func DecodeAdmissionControllerConfigurationFromBytes(bytes []byte, withDefaults bool) (*admissioncontrollerconfigv1alpha1.AdmissionControllerConfiguration, error)

DecodeAdmissionControllerConfigurationFromBytes decodes the given byte slice into an external AdmissionControllerConfiguration version.

func EncodeAdmissionControllerConfiguration

func EncodeAdmissionControllerConfiguration(cfg *admissioncontrollerconfigv1alpha1.AdmissionControllerConfiguration) (*runtime.RawExtension, error)

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

func EncodeAdmissionControllerConfigurationToBytes

func EncodeAdmissionControllerConfigurationToBytes(cfg *admissioncontrollerconfigv1alpha1.AdmissionControllerConfiguration) ([]byte, error)

EncodeAdmissionControllerConfigurationToBytes encodes the given external AdmissionControllerConfiguration 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