Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for updateSpecLocked (0.17 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/controller.go

    	klog.V(2).Infof("Updating CRD OpenAPI spec because %s changed", name)
    	regenerationCounter.With(map[string]string{"crd": name, "reason": "add"})
    	c.updateSpecLocked()
    	return nil
    }
    
    // updateSpecLocked updates the cached spec graph.
    func (c *Controller) updateSpecLocked() {
    	specList := make([]cached.Value[*spec.Swagger], 0, len(c.specsByName))
    	for crd := range c.specsByName {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top