Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for AddAnnotation (0.08 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go

    type FakeAttributes struct {
    	admission.Attributes
    	annotations map[string]string
    	mutex       sync.Mutex
    }
    
    // AddAnnotation adds an annotation key value pair to FakeAttributes
    func (f *FakeAttributes) AddAnnotation(k, v string) error {
    	return f.AddAnnotationWithLevel(k, v, auditinternal.LevelMetadata)
    }
    
    // AddAnnotationWithLevel adds an annotation key value pair to FakeAttributes
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 01:39:01 UTC 2024
    - 63.8K bytes
    - Viewed (0)
Back to top