kubernetes/vendor/sigs.k8s.io/structured-merge-diff/v4/typed/reconcile_schema.go

var fmPool

func (v *reconcileWithSchemaWalker) finished() {}

type reconcileWithSchemaWalker

func (v *reconcileWithSchemaWalker) prepareDescent(pe fieldpath.PathElement, tr schema.TypeRef) *reconcileWithSchemaWalker {}

func (v *reconcileWithSchemaWalker) finishDescent(v2 *reconcileWithSchemaWalker) {}

// ReconcileFieldSetWithSchema reconciles the a field set with any changes to the
// object's schema since the field set was written. Returns the reconciled field set, or nil of
// no changes were made to the field set.
//
// Supports:
// - changing types from atomic to granular
// - changing types from granular to atomic
func ReconcileFieldSetWithSchema(fieldset *fieldpath.Set, tv *TypedValue) (*fieldpath.Set, error) {}

func (v *reconcileWithSchemaWalker) reconcile() (errs ValidationErrors) {}

func (v *reconcileWithSchemaWalker) doScalar(_ *schema.Scalar) (errs ValidationErrors) {}

func (v *reconcileWithSchemaWalker) visitListItems(t *schema.List, element *fieldpath.Set) (errs ValidationErrors) {}

func (v *reconcileWithSchemaWalker) doList(t *schema.List) (errs ValidationErrors) {}

func (v *reconcileWithSchemaWalker) visitMapItems(t *schema.Map, element *fieldpath.Set) (errs ValidationErrors) {}

func (v *reconcileWithSchemaWalker) doMap(t *schema.Map) (errs ValidationErrors) {}

func fieldSetAtPath(node *fieldpath.Set, path fieldpath.Path) (*fieldpath.Set, bool) {}

func descendToPath(node *fieldpath.Set, path fieldpath.Path) *fieldpath.Set {}

func typeRefAtPath(t *schema.Map, pe fieldpath.PathElement) (schema.TypeRef, bool) {}

// isUntypedDeducedMap returns true if m has no fields defined, but allows untyped elements.
// This is equivalent to a openAPI object that has x-kubernetes-preserve-unknown-fields=true
// but does not have any properties defined on the object.
func isUntypedDeducedMap(m *schema.Map) bool {}

func isUntypedDeducedRef(t schema.TypeRef) bool {}