Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AddAnnotationWithLevel (0.41 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/attributes.go

    // AddAnnotation adds an annotation to attributesRecord with Metadata audit level
    func (record *attributesRecord) AddAnnotation(key, value string) error {
    	return record.AddAnnotationWithLevel(key, value, auditinternal.LevelMetadata)
    }
    
    func (record *attributesRecord) AddAnnotationWithLevel(key, value string, level auditinternal.Level) error {
    	if err := checkKeyFormat(key); err != nil {
    		return err
    	}
    	if level.Less(auditinternal.LevelMetadata) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 07 17:53:14 UTC 2019
    - 6.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/interfaces.go

    	// equal to Metadata.
    	AddAnnotation(key, value string) error
    
    	// AddAnnotationWithLevel sets annotation according to key-value pair with additional intended audit level.
    	// An Annotation gets logged into audit event if the request's audit level is greater or equal to the
    	// intended audit level.
    	AddAnnotationWithLevel(key, value string, level auditinternal.Level) error
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 28 14:03:18 UTC 2021
    - 8K bytes
    - Viewed (0)
Back to top