Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for HandleNew (0.11 sec)

  1. pilot/pkg/status/distribution/state.go

    }
    
    type DistroReportHandler struct {
    	dc *Controller
    }
    
    func (drh *DistroReportHandler) OnAdd(obj any, _ bool) {
    	drh.HandleNew(obj)
    }
    
    func (drh *DistroReportHandler) OnUpdate(oldObj, newObj any) {
    	drh.HandleNew(newObj)
    }
    
    func (drh *DistroReportHandler) HandleNew(obj any) {
    	cm, ok := obj.(*v1.ConfigMap)
    	if !ok {
    		scope.Warnf("expected configmap, but received %v, discarding", obj)
    		return
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 7.7K bytes
    - Viewed (0)
Back to top