Transforms the specified Polaris object into an orchestrator-specific plain object that may be serialized without any further changes.
The Polaris object to be transformed. This is guaranteed to be neither null
nor undefined
.
The PolarisTransformationService
that issued this call. It can be used to delegate the
transformation of nested objects.
A new orchestrator-specific plain object that may be serialized without any further changes.
Performs the transformation by i) deep cloning polarisSchema
without its properties and then,
ii) iterating over all properties
of polarisSchema
and
Transforms the specified orchestrator-specific plain object into a corresponding Polaris object.
The type of Polaris object that should be created.
The orchestrator-specific plain object to be transformed. This is guaranteed to be neither null
nor undefined
.
The PolarisTransformationService
that issued this call. It can be used to delegate the
transformation of nested objects.
A new Polaris object that results from transforming orchPlainObj
.
If this transformer should be inheritable, it is recommended to not instantiate a hardcoded Polaris type in this method,
but to use new polarisType(...)
instead.
Generated using TypeDoc
Default transformer for the Kubernetes orchestrator.
This extends the Polaris DefaultTransformer and allows augmenting its methods for Kubernetes.