Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for respElements (0.14 sec)

  1. cmd/event-notification.go

    	}
    
    	// Add deployment as part of response elements.
    	respElements["x-minio-deployment-id"] = globalDeploymentID()
    	if args.RespElements["content-length"] != "" {
    		respElements["content-length"] = args.RespElements["content-length"]
    	}
    
    	keyName := args.Object.Name
    	if escape {
    		keyName = url.QueryEscape(args.Object.Name)
    	}
    
    	newEvent := event.Event{
    		EventVersion:      "2.0",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. cmd/bucket-handlers.go

    			eventName = event.ObjectRemovedDeleteMarkerCreated
    		}
    
    		sendEvent(eventArgs{
    			EventName:    eventName,
    			BucketName:   bucket,
    			Object:       objInfo,
    			ReqParams:    extractReqParams(r),
    			RespElements: extractRespElements(w),
    			UserAgent:    r.UserAgent(),
    			Host:         handlers.GetSourceIP(r),
    		})
    	}
    
    	// Clean up transitioned objects from remote tier
    	for _, os := range oss {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  3. cmd/object-handlers.go

    		}
    
    		// Notify object created event.
    		evt := eventArgs{
    			EventName:    event.ObjectCreatedPut,
    			BucketName:   bucket,
    			Object:       objInfo,
    			ReqParams:    reqParams,
    			RespElements: respElements,
    			UserAgent:    r.UserAgent(),
    			Host:         handlers.GetSourceIP(r),
    		}
    		sendEvent(evt)
    
    		// Remove the transitioned object whose object version is being overwritten.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  4. cmd/object-handlers-common.go

    					Name:      dobj.ObjectName,
    					VersionID: dobj.VersionID,
    				},
    				UserAgent: "Internal: [ILM-Expiry]",
    				Host:      globalLocalNodeName,
    			}
    			if errs[i] != nil {
    				evArgs.RespElements = map[string]string{
    					"error": fmt.Sprintf("failed to delete %s(%s), with error %v", dobj.ObjectName, dobj.VersionID, errs[i]),
    				}
    			}
    			sendEvent(evArgs)
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. cmd/data-scanner.go

    			EventName:  event.ObjectManyVersions,
    			BucketName: i.bucket,
    			Object: ObjectInfo{
    				Name: i.objectPath(),
    			},
    			UserAgent:    "Scanner",
    			Host:         globalLocalNodeName,
    			RespElements: map[string]string{"x-minio-versions": strconv.Itoa(len(objInfos))},
    		})
    
    		auditLogInternal(context.Background(), AuditLogOptions{
    			Event:   "scanner:manyversions",
    			APIName: "Scanner",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  6. cmd/object-multipart-handlers.go

    	// Notify object created event.
    	evt := eventArgs{
    		EventName:    event.ObjectCreatedCompleteMultipartUpload,
    		BucketName:   bucket,
    		Object:       objInfo,
    		ReqParams:    extractReqParams(r),
    		RespElements: extractRespElements(w),
    		UserAgent:    r.UserAgent(),
    		Host:         handlers.GetSourceIP(r),
    	}
    	sendEvent(evt)
    
    	if objInfo.NumVersions > int(scannerExcessObjectVersions.Load()) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
Back to top