Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DeletePV (0.09 sec)

  1. plugin/pkg/auth/authorizer/node/graph_populator.go

    	g.graph.AddPV(pv)
    }
    
    func (g *graphPopulator) deletePV(obj interface{}) {
    	if tombstone, ok := obj.(cache.DeletedFinalStateUnknown); ok {
    		obj = tombstone.Obj
    	}
    	pv, ok := obj.(*corev1.PersistentVolume)
    	if !ok {
    		klog.Infof("unexpected type %T", obj)
    		return
    	}
    	g.graph.DeletePV(pv.Name)
    }
    
    func (g *graphPopulator) addVolumeAttachment(obj interface{}) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. plugin/pkg/auth/authorizer/node/graph.go

    			}
    			return true
    		})
    	}
    }
    func (g *Graph) DeletePV(name string) {
    	start := time.Now()
    	defer func() {
    		graphActionsDuration.WithLabelValues("DeletePV").Observe(time.Since(start).Seconds())
    	}()
    	g.lock.Lock()
    	defer g.lock.Unlock()
    	g.deleteVertex_locked(pvVertexType, "", name)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top