Documentation
¶
Overview ¶
Package versiontranslator routes a gateway-latest-shaped deployment artifact to the sub-package that knows how to produce the shape a given target gateway data version expects. It holds no transform logic itself — that lives in the target-specific sub-package (e.g. v1alpha1), which is self-contained: its own apiVersion swap, its own per-kind shape handlers.
Adding support for a new target data version is a new sibling package plus one case in DownConvert — existing kinds and their shape handlers are untouched.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownConvert ¶
DownConvert produces, in place, the shape targetDataVersion expects for artifact (already in gateway-latest shape).
func KnownKinds ¶
func KnownKinds() []string
KnownKinds returns the artifact kinds this translator is aware of.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package v1alpha1 produces deployment artifacts for gateways older than gatewaytranslator.MinGatewayV1Version — gateways whose CRD apiVersion is "gateway.api-platform.wso2.com/v1alpha1".
|
Package v1alpha1 produces deployment artifacts for gateways older than gatewaytranslator.MinGatewayV1Version — gateways whose CRD apiVersion is "gateway.api-platform.wso2.com/v1alpha1". |