Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for newEvent (0.15 sec)

  1. staging/src/k8s.io/apiserver/plugin/pkg/audit/truncate/truncate.go

    	// Make a shallow copy to avoid copying response/request objects.
    	newEvent := &auditinternal.Event{}
    	*newEvent = *e
    
    	newEvent.RequestObject = nil
    	newEvent.ResponseObject = nil
    
    	if newEvent.Annotations == nil {
    		newEvent.Annotations = make(map[string]string)
    	}
    	newEvent.Annotations[annotationKey] = annotationValue
    
    	return newEvent
    }
    
    func (b *backend) Run(stopCh <-chan struct{}) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 29 00:03:53 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  2. pkg/apis/core/validation/events.go

    	allErrs = append(allErrs, ValidateObjectMetaUpdate(&newEvent.ObjectMeta, &oldEvent.ObjectMeta, field.NewPath("metadata"))...)
    	// if the series was modified, validate the new data
    	if !reflect.DeepEqual(newEvent.Series, oldEvent.Series) {
    		allErrs = append(allErrs, validateV1EventSeries(newEvent)...)
    	}
    
    	allErrs = append(allErrs, ValidateImmutableField(newEvent.InvolvedObject, oldEvent.InvolvedObject, field.NewPath("involvedObject"))...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 01 19:47:37 UTC 2022
    - 9.2K bytes
    - Viewed (0)
  3. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/TestStartEventTest.groovy

        def canCreateCopyWithNonNullParentId() {
            TestStartEvent event = new TestStartEvent(200L)
    
            expect:
            def newEvent = event.withParentId('parent')
            newEvent != event
            newEvent.startTime == 200L
            newEvent.parentId == 'parent'
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1K bytes
    - Viewed (0)
  4. pkg/volume/util/recyclerclient/recycler_client_test.go

    				newEvent(v1.EventTypeNormal, "Successfully assigned recycler-for-podRecyclerSuccess to 127.0.0.1"),
    				newEvent(v1.EventTypeNormal, "Pulling image \"registry.k8s.io/busybox\""),
    				newEvent(v1.EventTypeNormal, "Successfully pulled image \"registry.k8s.io/busybox\""),
    				newEvent(v1.EventTypeNormal, "Created container with docker id 83d929aeac82"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 31 14:16:53 UTC 2022
    - 8.5K bytes
    - Viewed (0)
  5. cmd/event-notification.go

    		args.EventName == event.ObjectRemovedDeleteMarkerCreated ||
    		args.EventName == event.ObjectRemovedNoOP
    
    	if !isRemovedEvent {
    		newEvent.S3.Object.ETag = args.Object.ETag
    		newEvent.S3.Object.Size = args.Object.Size
    		newEvent.S3.Object.ContentType = args.Object.ContentType
    		newEvent.S3.Object.UserMetadata = make(map[string]string, len(args.Object.UserDefined))
    		for k, v := range args.Object.UserDefined {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/ThrottlingOutputEventListener.java

        @Override
        public void onOutput(OutputEvent newEvent) {
            synchronized (lock) {
                queue.add(newEvent);
    
                if (queue.size() == 10000) {
                    renderNow();
                    return;
                }
    
                if (newEvent instanceof InteractiveEvent) {
                    renderNow();
                    return;
                }
    
                if (newEvent instanceof EndOutputEvent) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. src/cmd/fix/netipv6zone.go

    				}
    				switch i {
    				case 0:
    					cl.Elts[i] = &ast.KeyValueExpr{
    						Key:   ast.NewIdent("IP"),
    						Value: e,
    					}
    				case 1:
    					if elit, ok := e.(*ast.BasicLit); ok && elit.Value == "0" {
    						cl.Elts = append(cl.Elts[:i], cl.Elts[i+1:]...)
    					} else {
    						cl.Elts[i] = &ast.KeyValueExpr{
    							Key:   ast.NewIdent("Port"),
    							Value: e,
    						}
    					}
    				}
    				fixed = true
    			}
    		}
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  8. src/cmd/fix/printerconfig.go

    				if _, ok := e.(*ast.KeyValueExpr); ok {
    					break
    				}
    				switch i {
    				case 0:
    					cl.Elts[i] = &ast.KeyValueExpr{
    						Key:   ast.NewIdent("Mode"),
    						Value: e,
    					}
    				case 1:
    					cl.Elts[i] = &ast.KeyValueExpr{
    						Key:   ast.NewIdent("Tabwidth"),
    						Value: e,
    					}
    				}
    				fixed = true
    			}
    		}
    	})
    	return fixed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  9. pkg/envoy/agent_test.go

    	return nil
    }
    
    // TestStartExit starts a proxy and ensures the agent exits once the proxy exits
    func TestStartExit(t *testing.T) {
    	ctx := context.Background()
    	done := make(chan struct{})
    	a := NewAgent(TestProxy{}, 0, 0, "", 0, 0, 0, true)
    	go func() {
    		a.Run(ctx)
    		done <- struct{}{}
    	}()
    	<-done
    }
    
    // TestStartTwiceStop applies three configs and validates that cleanups are called in order
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 19 20:22:09 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. src/go/doc/exports.go

    func filterIdentList(list []*ast.Ident) []*ast.Ident {
    	j := 0
    	for _, x := range list {
    		if token.IsExported(x.Name) {
    			list[j] = x
    			j++
    		}
    	}
    	return list[0:j]
    }
    
    var underscore = ast.NewIdent("_")
    
    func filterCompositeLit(lit *ast.CompositeLit, filter Filter, export bool) {
    	n := len(lit.Elts)
    	lit.Elts = filterExprList(lit.Elts, filter, export)
    	if len(lit.Elts) < n {
    		lit.Incomplete = true
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 01 18:18:07 UTC 2022
    - 8.5K bytes
    - Viewed (0)
Back to top