Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for addAuditAnnotationLocked (0.25 sec)

  1. staging/src/k8s.io/apiserver/pkg/audit/context.go

    		return
    	}
    
    	ac.annotationMutex.Lock()
    	defer ac.annotationMutex.Unlock()
    
    	for k, v := range annotations {
    		addAuditAnnotationLocked(ac, k, v)
    	}
    }
    
    // addAuditAnnotationLocked records the audit annotation on the event.
    func addAuditAnnotationLocked(ac *AuditContext, key, value string) {
    	ae := &ac.Event
    
    	if ae.Annotations == nil {
    		ae.Annotations = make(map[string]string)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 6.1K bytes
    - Viewed (0)
Back to top