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
- Variables
- func Convert_v1_ControlPlaneSpec_To_v2_ControlPlaneSpec(in *v1.ControlPlaneSpec, out *v2.ControlPlaneSpec, s conversion.Scope) (err error)
- func Convert_v1_ControlPlaneStatus_To_v2_ControlPlaneStatus(in *v1.ControlPlaneStatus, out *v2.ControlPlaneStatus, s conversion.Scope) error
- func Convert_v1_ServiceMeshControlPlaneList_To_v2_ServiceMeshControlPlaneList(in *v1.ServiceMeshControlPlaneList, out *v2.ServiceMeshControlPlaneList, ...) error
- func Convert_v1_ServiceMeshControlPlane_To_v2_ServiceMeshControlPlane(in *v1.ServiceMeshControlPlane, out *v2.ServiceMeshControlPlane, ...) error
- func Convert_v2_ControlPlaneSpec_To_v1_ControlPlaneSpec(in *v2.ControlPlaneSpec, out *v1.ControlPlaneSpec, s conversion.Scope) error
- func Convert_v2_ControlPlaneStatus_To_v1_ControlPlaneStatus(in *v2.ControlPlaneStatus, out *v1.ControlPlaneStatus, s conversion.Scope) error
- func Convert_v2_ServiceMeshControlPlaneList_To_v1_ServiceMeshControlPlaneList(in *v2.ServiceMeshControlPlaneList, out *v1.ServiceMeshControlPlaneList, ...) error
- func Convert_v2_ServiceMeshControlPlane_To_v1_ServiceMeshControlPlane(in *v2.ServiceMeshControlPlane, out *v1.ServiceMeshControlPlane, ...) error
- func RegisterConversions(s *runtime.Scheme) error
Constants ¶
const ( TechPreviewErroredMessage = "errored.message" TechPreviewErroredIstio = "errored.istio" TechPreviewErrored3scale = "errored.3scale" )
Variables ¶
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 ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
Types ¶
This section is empty.
Source Files ¶
- addons.go
- cluster.go
- common.go
- controller.go
- conversion_v1_to_v2.go
- conversion_v2_to_v1.go
- doc.go
- gateways.go
- general.go
- grafana.go
- jaeger.go
- kiali.go
- logging.go
- policy.go
- prometheus.go
- proxy.go
- register.go
- runtime.go
- security.go
- stackdriver.go
- telemetry.go
- threescale.go
- tracing.go
- zz_generated.conversion.go