conversion

package
v0.0.0-...-d2b1218 Latest Latest
Warning

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

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

Documentation

Overview

Package conversion contains code for converting between v1 and v2 objects +k8s:conversion-gen=github.com/acostamanowarrior/istio-operator/pkg/apis/maistra/v2 +k8s:conversion-gen-external-types=github.com/acostamanowarrior/istio-operator/pkg/apis/maistra/v1

Index

Constants

View Source
const (
	TechPreviewErroredMessage = "errored.message"
	TechPreviewErroredIstio   = "errored.istio"
	TechPreviewErrored3scale  = "errored.3scale"
)

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder()
)

Functions

func Convert_v1_ControlPlaneSpec_To_v2_ControlPlaneSpec

func Convert_v1_ControlPlaneSpec_To_v2_ControlPlaneSpec(in *v1.ControlPlaneSpec, out *v2.ControlPlaneSpec, s conversion.Scope) (err error)

Convert_v1_ControlPlaneSpec_To_v2_ControlPlaneSpec converts a v1 ControlPlaneSpec to its v2 equivalent.

func Convert_v1_ControlPlaneStatus_To_v2_ControlPlaneStatus

func Convert_v1_ControlPlaneStatus_To_v2_ControlPlaneStatus(in *v1.ControlPlaneStatus, out *v2.ControlPlaneStatus, s conversion.Scope) error

func Convert_v1_ServiceMeshControlPlaneList_To_v2_ServiceMeshControlPlaneList

func Convert_v1_ServiceMeshControlPlaneList_To_v2_ServiceMeshControlPlaneList(in *v1.ServiceMeshControlPlaneList, out *v2.ServiceMeshControlPlaneList, s conversion.Scope) error

Convert_v1_ServiceMeshControlPlaneList_To_v2_ServiceMeshControlPlaneList is an autogenerated conversion function.

func Convert_v1_ServiceMeshControlPlane_To_v2_ServiceMeshControlPlane

func Convert_v1_ServiceMeshControlPlane_To_v2_ServiceMeshControlPlane(in *v1.ServiceMeshControlPlane, out *v2.ServiceMeshControlPlane, s conversion.Scope) error

Convert_v1_ServiceMeshControlPlane_To_v2_ServiceMeshControlPlane is an autogenerated conversion function.

func Convert_v2_ControlPlaneSpec_To_v1_ControlPlaneSpec

func Convert_v2_ControlPlaneSpec_To_v1_ControlPlaneSpec(in *v2.ControlPlaneSpec, out *v1.ControlPlaneSpec, s conversion.Scope) error

Convert_v2_ControlPlaneSpec_To_v1_ControlPlaneSpec converts a v2 ControlPlaneSpec to an equivalent values.yaml. XXX: this requires the following additional details:

  • namespace - the target namespace for the resource

func Convert_v2_ControlPlaneStatus_To_v1_ControlPlaneStatus

func Convert_v2_ControlPlaneStatus_To_v1_ControlPlaneStatus(in *v2.ControlPlaneStatus, out *v1.ControlPlaneStatus, s conversion.Scope) error

func Convert_v2_ServiceMeshControlPlaneList_To_v1_ServiceMeshControlPlaneList

func Convert_v2_ServiceMeshControlPlaneList_To_v1_ServiceMeshControlPlaneList(in *v2.ServiceMeshControlPlaneList, out *v1.ServiceMeshControlPlaneList, s conversion.Scope) error

Convert_v2_ServiceMeshControlPlaneList_To_v1_ServiceMeshControlPlaneList is an autogenerated conversion function.

func Convert_v2_ServiceMeshControlPlane_To_v1_ServiceMeshControlPlane

func Convert_v2_ServiceMeshControlPlane_To_v1_ServiceMeshControlPlane(in *v2.ServiceMeshControlPlane, out *v1.ServiceMeshControlPlane, s conversion.Scope) error

Convert_v2_ServiceMeshControlPlane_To_v1_ServiceMeshControlPlane is an autogenerated conversion function.

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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