Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for eventName (0.24 sec)

  1. cmd/event-notification.go

    	}
    
    	newEvent := event.Event{
    		EventVersion:      "2.0",
    		EventSource:       "minio:s3",
    		AwsRegion:         args.ReqParams["region"],
    		EventTime:         eventTime.Format(event.AMZTimeFormat),
    		EventName:         args.EventName,
    		UserIdentity:      event.Identity{PrincipalID: args.ReqParams["principalId"]},
    		RequestParameters: args.ReqParams,
    		ResponseElements:  respElements,
    		S3: event.Metadata{
    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/listen-notification-handlers.go

    	}
    
    	pattern := event.NewPattern(prefix, suffix)
    
    	var eventNames []event.Name
    	var mask pubsub.Mask
    	for _, s := range values[peerRESTListenEvents] {
    		eventName, err := event.ParseName(s)
    		if err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    		mask.MergeMaskable(eventName)
    		eventNames = append(eventNames, eventName)
    	}
    
    	if bucketName != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. cmd/bucket-replication.go

    			},
    			UserAgent: "Internal: [Replication]",
    			Host:      globalLocalNodeName,
    			EventName: eventName,
    		})
    	} else {
    		sendEvent(eventArgs{
    			BucketName: bucket,
    			Object:     dobjInfo,
    			UserAgent:  "Internal: [Replication]",
    			Host:       globalLocalNodeName,
    			EventName:  eventName,
    		})
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  4. cmd/data-scanner.go

    	auditLogLifecycle(ctx, dobj, ILMExpiry, tags, traceFn)
    
    	eventName := event.ObjectRemovedDelete
    	if obj.DeleteMarker {
    		eventName = event.ObjectRemovedDeleteMarkerCreated
    	}
    	switch lcEvent.Action {
    	case lifecycle.DeleteAllVersionsAction:
    		eventName = event.ObjectRemovedDeleteAllVersions
    	case lifecycle.DelMarkerDeleteAllVersionsAction:
    		eventName = event.ILMDelMarkerExpirationDelete
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  5. internal/event/target/nsq.go

    	objectName, err := url.QueryUnescape(eventData.S3.Object.Key)
    	if err != nil {
    		return err
    	}
    	key := eventData.S3.Bucket.Name + "/" + objectName
    
    	data, err := json.Marshal(event.Log{EventName: eventData.EventName, Key: key, Records: []event.Event{eventData}})
    	if err != nil {
    		return err
    	}
    
    	return target.producer.Publish(target.args.Topic, data)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. internal/event/target/webhook.go

    	objectName, err := url.QueryUnescape(eventData.S3.Object.Key)
    	if err != nil {
    		return err
    	}
    	key := eventData.S3.Bucket.Name + "/" + objectName
    
    	data, err := json.Marshal(event.Log{EventName: eventData.EventName, Key: key, Records: []event.Event{eventData}})
    	if err != nil {
    		return err
    	}
    
    	req, err := http.NewRequest(http.MethodPost, target.args.Endpoint.String(), bytes.NewReader(data))
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. internal/event/target/amqp.go

    	data, err := json.Marshal(event.Log{EventName: eventData.EventName, Key: key, Records: []event.Event{eventData}})
    	if err != nil {
    		return err
    	}
    
    	headers := make(amqp091.Table)
    	// Add more information here as required, but be aware to not overload headers
    	headers["minio-bucket"] = eventData.S3.Bucket.Name
    	headers["minio-event"] = eventData.EventName.String()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. cmd/object-handlers.go

    		return
    	}
    
    	setPutObjHeaders(w, objInfo, true, r.Header)
    	writeSuccessNoContent(w)
    
    	eventName := event.ObjectRemovedDelete
    	if objInfo.DeleteMarker {
    		eventName = event.ObjectRemovedDeleteMarkerCreated
    	}
    
    	// Notify object deleted event.
    	sendEvent(eventArgs{
    		EventName:    eventName,
    		BucketName:   bucket,
    		Object:       objInfo,
    		ReqParams:    extractReqParams(r),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  9. cmd/bucket-handlers.go

    			}
    			scheduleReplicationDelete(ctx, dv, objectAPI)
    		}
    
    		eventName := event.ObjectRemovedDelete
    		objInfo := ObjectInfo{
    			Name:         dobj.ObjectName,
    			VersionID:    dobj.VersionID,
    			DeleteMarker: dobj.DeleteMarker,
    		}
    
    		if objInfo.DeleteMarker {
    			objInfo.VersionID = dobj.DeleteMarkerVersionID
    			eventName = event.ObjectRemovedDeleteMarkerCreated
    		}
    
    		sendEvent(eventArgs{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  10. internal/event/target/kafka.go

    	objectName, err := url.QueryUnescape(eventData.S3.Object.Key)
    	if err != nil {
    		return nil, err
    	}
    
    	key := eventData.S3.Bucket.Name + "/" + objectName
    	data, err := json.Marshal(event.Log{EventName: eventData.EventName, Key: key, Records: []event.Event{eventData}})
    	if err != nil {
    		return nil, err
    	}
    
    	return &sarama.ProducerMessage{
    		Topic: target.args.Topic,
    		Key:   sarama.StringEncoder(key),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top