Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 24 of 24 for AddAnnotation (0.19 sec)

  1. plugin/pkg/admission/imagepolicy/admission_test.go

    type fakeAttributes struct {
    	admission.Attributes
    	annotations map[string]string
    }
    
    func (f fakeAttributes) AddAnnotation(k, v string) error {
    	f.annotations[k] = v
    	return f.Attributes.AddAnnotation(k, v)
    }
    
    func TestDefaultAllow(t *testing.T) {
    	tests := []struct {
    		test                               string
    		pod                                *api.Pod
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 06:05:06 UTC 2023
    - 32.9K bytes
    - Viewed (0)
  2. 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)
  3. src/internal/trace/traceviewer/static/trace_viewer_full.html

    this.viewport_.rebuildEventToTrackMap();this.viewport_.rebuildContainerToTrackMap();this.vSyncTimes_=this.model_.device.vSyncTimestamps;this.updateAnnotations_();},getContentBounds(){return this.model.bounds;},addAnnotation(annotation){this.model.addAnnotation(annotation);},removeAnnotation(annotation){this.model.removeAnnotation(annotation);},updateAnnotations_(){this.annotationViews_=[];const annotations=this.model_.getAllAnnotations();for(let i=0;i<annotations.length;i++){this....
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (0)
  4. pkg/generated/openapi/zz_generated.openapi.go

    						},
    					},
    					"auditAnnotations": {
    						SchemaProps: spec.SchemaProps{
    							Description: "AuditAnnotations will be added to the attributes object of the admission controller request using 'AddAnnotation'.  The keys should be prefix-less (i.e., the admission controller will add an appropriate prefix).",
    							Type:        []string{"object"},
    							AdditionalProperties: &spec.SchemaOrBool{
    								Allows: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
Back to top