Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewCorrelatedObject (0.17 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/validation/ratcheting.go

    		sv := validate.NewSchemaValidator(r.schema, r.root, r.path, r.knownFormats, r.options...)
    		return sv.Validate(new)
    	}
    
    	correlation := opts.CorrelatedObject
    	if correlation == nil {
    		correlation = common.NewCorrelatedObject(new, old, &celopenapi.Schema{Schema: r.schema})
    	}
    
    	return newRatchetingValueValidator(
    		correlation,
    		r.schemaArgs,
    	).Validate(new)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 26 21:17:17 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/common/equality.go

    	// reaching all of the children.
    	//
    	// It should be expected to have an entry for either all of the children, or
    	// none of them.
    	children map[interface{}]*CorrelatedObject
    }
    
    func NewCorrelatedObject(new, old interface{}, schema Schema) *CorrelatedObject {
    	d := time.Duration(0)
    	return &CorrelatedObject{
    		OldValue: old,
    		Value:    new,
    		Schema:   schema,
    		Duration: &d,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 25 21:53:21 UTC 2023
    - 9.1K bytes
    - Viewed (0)
Back to top