зеркало из https://github.com/Azure/ARO-RP.git
3273b70b33
* swagger: Use struct tags to specify read-only fields * immutable: Handle `swagger:"readOnly"` tag during validation The left-hand operand (v) should omit read-only struct fields; i.e. the field should always be the zero-value for its type. * api: Add ExternalNoReadOnly method to OpenShiftClusterConverter ExternalNoReadOnly removes all read-only fields from the external representation. This is necessary when patching a cluster document; read-only fields must be omitted from the external representation in order to pass static validation. * e2e: Exercise using PUT to update managed outbound IPs --------- Co-authored-by: Matthew Barnes <mbarnes@fedorapeople.org> |
||
---|---|---|
.. | ||
immutable.go | ||
immutable_test.go |