pub fn convert_v1_to_v1alpha1(value: Value) -> Result<Value, Error>Expand description
Converts a JSON-encoded v1 Materialize object to v1alpha1, for use by the CRD conversion webhook.
See convert_v1alpha1_to_v1 for the conversion contract. In this
direction the derived fields are spec.requestRollout and
status.lastCompletedRolloutRequest, both deterministic UUIDs derived
from rollout hashes of the complete object, and status.resourcesHash,
which has no v1 counterpart but is required by the v1alpha1 schema
whenever a status is present, so complete conversions must carry the
typed conversion’s placeholder to stay valid at the storage version.