transcoder

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 19, 2021 License: Apache-2.0, MIT Imports: 19 Imported by: 0

Documentation

Overview

Package transcoder is used for API related object transformations

Package transcoder is used for API related object transformations

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeCloudProfileConfigFromControllerCluster

func DecodeCloudProfileConfigFromControllerCluster(cluster *controller.Cluster) (*apis.CloudProfileConfig, error)

func DecodeCloudProfileConfigFromGardenContext

func DecodeCloudProfileConfigFromGardenContext(ctx context.Context, webhookcontext webhookcontext.GardenContext) (*apis.CloudProfileConfig, error)

func DecodeConfigFromCloudProfile

func DecodeConfigFromCloudProfile(profile *v1beta1.CloudProfile) (*apis.CloudProfileConfig, error)

func DecodeControlPlaneConfig

func DecodeControlPlaneConfig(cp *runtime.RawExtension, fldPath *field.Path) (*apis.ControlPlaneConfig, error)

func DecodeControlPlaneConfigFromControllerCluster

func DecodeControlPlaneConfigFromControllerCluster(cluster *controller.Cluster) (*apis.ControlPlaneConfig, error)

func DecodeInfrastructureConfig

func DecodeInfrastructureConfig(infra *runtime.RawExtension) (*apis.InfrastructureConfig, error)

func DecodeInfrastructureConfigFromCluster

func DecodeInfrastructureConfigFromCluster(cluster *controller.Cluster) (*apis.InfrastructureConfig, error)

DecodeInfrastructureConfigFromCluster extracts the InfrastructureConfig from the ProviderConfig section of the given Infrastructure.

func DecodeInfrastructureConfigFromInfrastructure

func DecodeInfrastructureConfigFromInfrastructure(infra *v1alpha1.Infrastructure) (*apis.InfrastructureConfig, error)

func DecodeInfrastructureStatus

func DecodeInfrastructureStatus(infra *runtime.RawExtension) (*apis.InfrastructureStatus, error)

func DecodeInfrastructureStatusFromWorker

func DecodeInfrastructureStatusFromWorker(worker *v1alpha1.Worker) (*apis.InfrastructureStatus, error)

func DecodeSSHFingerprintFromPublicKey

func DecodeSSHFingerprintFromPublicKey(publicKey []byte) (string, error)

func DecodeWorkerStatus

func DecodeWorkerStatus(status *runtime.RawExtension) (*apis.WorkerStatus, error)

func DecodeWorkerStatusFromWorker

func DecodeWorkerStatusFromWorker(worker *v1alpha1.Worker) (*apis.WorkerStatus, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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