Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 48 for eventName (0.13 sec)

  1. internal/event/target/postgresql.go

    		return err
    	}
    
    	if target.args.Format == event.AccessFormat {
    		eventTime, err := time.Parse(event.AMZTimeFormat, eventData.EventTime)
    		if err != nil {
    			return err
    		}
    
    		data, err := json.Marshal(struct{ Records []event.Event }{[]event.Event{eventData}})
    		if err != nil {
    			return err
    		}
    
    		if _, err = target.insertStmt.Exec(eventTime, data); err != nil {
    			return err
    		}
    	}
    
    	return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. internal/event/target/redis.go

    		}
    		if err != nil {
    			return err
    		}
    	}
    
    	if target.args.Format == event.AccessFormat {
    		data, err := json.Marshal([]RedisAccessEvent{{Event: []event.Event{eventData}, EventTime: eventData.EventTime}})
    		if err != nil {
    			return err
    		}
    		if _, err := conn.Do("RPUSH", target.args.Key, data); err != nil {
    			return err
    		}
    	}
    
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. cmd/peer-rest-server.go

    	pattern := event.NewPattern(prefix, suffix)
    
    	var eventNames []event.Name
    	var mask pubsub.Mask
    	for _, ev := range values[peerRESTListenEvents] {
    		eventName, err := event.ParseName(ev)
    		if err != nil {
    			return grid.NewRemoteErr(err)
    		}
    		mask.MergeMaskable(eventName)
    		eventNames = append(eventNames, eventName)
    	}
    
    	rulesMap := event.NewRulesMap(eventNames, pattern, event.TargetID{ID: mustGetUUID()})
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  4. internal/event/target/mysql.go

    		return err
    	}
    
    	if target.args.Format == event.AccessFormat {
    		eventTime, err := time.Parse(event.AMZTimeFormat, eventData.EventTime)
    		if err != nil {
    			return err
    		}
    
    		data, err := json.Marshal(struct{ Records []event.Event }{[]event.Event{eventData}})
    		if err != nil {
    			return err
    		}
    
    		_, err = target.insertStmt.Exec(eventTime, data)
    
    		return err
    	}
    
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. cmd/object-handlers-common.go

    			// Send audit for the lifecycle delete operation
    			auditLogLifecycle(
    				ctx,
    				oi,
    				ILMExpiry, tags, traceFn)
    
    			evArgs := eventArgs{
    				EventName:  event.ObjectRemovedDelete,
    				BucketName: bucket,
    				Object: ObjectInfo{
    					Name:      dobj.ObjectName,
    					VersionID: dobj.VersionID,
    				},
    				UserAgent: "Internal: [ILM-Expiry]",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  6. internal/event/target/elasticsearch.go

    				hh.Write([]byte(key))
    				hashBytes := hh.Sum(nil)
    				keyHash = base64.URLEncoding.EncodeToString(hashBytes)
    			} else {
    				keyHash = key
    			}
    		}
    
    		if eventData.EventName == event.ObjectRemovedDelete {
    			err = target.client.removeEntry(ctx, target.args.Index, keyHash)
    		} else {
    			err = target.client.updateEntry(ctx, target.args.Index, keyHash, eventData)
    		}
    		return err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. cmd/object-multipart-handlers.go

    	encodedSuccessResponse := encodeResponse(response)
    
    	// Write success response.
    	writeSuccessResponseXML(w, encodedSuccessResponse)
    
    	// Notify object created event.
    	evt := eventArgs{
    		EventName:    event.ObjectCreatedCompleteMultipartUpload,
    		BucketName:   bucket,
    		Object:       objInfo,
    		ReqParams:    extractReqParams(r),
    		RespElements: extractRespElements(w),
    		UserAgent:    r.UserAgent(),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  8. cmd/erasure-object.go

    	fi.TransitionedObjName = destObj
    	fi.TransitionTier = opts.Transition.Tier
    	fi.TransitionVersionID = string(rv)
    	eventName := event.ObjectTransitionComplete
    
    	storageDisks := er.getDisks()
    
    	if err = er.deleteObjectVersion(ctx, bucket, object, fi, false); err != nil {
    		eventName = event.ObjectTransitionFailed
    	}
    
    	for _, disk := range storageDisks {
    		if disk != nil && disk.IsOnline() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  9. .github/workflows/arm-ci-extended.yml

          - name: Checkout repository for nightly (skipped for releases)
            if: ${{ github.event_name == 'schedule' }}
            uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
            with:
              ref: 'nightly'
          - name: Checkout repository
            if: ${{ github.event_name == 'push' }}
            uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. .github/workflows/arm-cd.yml

          - name: Checkout repository for nightly (skipped for releases)
            if: ${{ github.event_name == 'schedule' }}
            uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
            with:
              ref: 'nightly'
          - name: Checkout repository for releases (skipped for nightly)
            if: ${{ github.event_name == 'push' }}
            uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top