Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for event_type (0.12 sec)

  1. fastapi/routing.py

            Read more about it in the
            [FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
            """
        )
        def on_event(
            self,
            event_type: Annotated[
                str,
                Doc(
                    """
                    The type of event. `startup` or `shutdown`.
                    """
                ),
            ],
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:44:57 UTC 2024
    - 172.1K bytes
    - Viewed (0)
  2. fastapi/applications.py

            Read more about it in the
            [FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
            """
        )
        def on_event(
            self,
            event_type: Annotated[
                str,
                Doc(
                    """
                    The type of event. `startup` or `shutdown`.
                    """
                ),
            ],
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:52:31 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  3. internal/event/target/postgresql.go

    	psqlCreateAccessTable    = `CREATE TABLE %s (event_time TIMESTAMP WITH TIME ZONE NOT NULL, event_data JSONB);`
    
    	psqlUpdateRow = `INSERT INTO %s (key, value) VALUES ($1, $2) ON CONFLICT (key) DO UPDATE SET value = EXCLUDED.value;`
    	psqlDeleteRow = `DELETE FROM %s WHERE key = $1;`
    	psqlInsertRow = `INSERT INTO %s (event_time, event_data) VALUES ($1, $2);`
    )
    
    // Postgres constants
    const (
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. internal/event/target/mysql.go

    	mysqlCreateAccessTable = `CREATE TABLE %s (event_time DATETIME NOT NULL, event_data JSON)
                                        ROW_FORMAT = Dynamic;`
    
    	mysqlUpdateRow = `INSERT INTO %s (key_name, value) VALUES (?, ?) ON DUPLICATE KEY UPDATE value=VALUES(value);`
    	mysqlDeleteRow = `DELETE FROM %s WHERE key_hash = SHA2(?, 256);`
    	mysqlInsertRow = `INSERT INTO %s (event_time, event_data) VALUES (?, ?);`
    )
    
    // MySQL related constants
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. cmd/bucket-replication.go

    						},
    						Bucket:    roi.Bucket,
    						OpType:    replication.ExistingObjectReplicationType,
    						EventType: ReplicateExistingDelete,
    					}
    					replicateDelete(ctx, doi, objectAPI)
    				} else {
    					roi.OpType = replication.ExistingObjectReplicationType
    					roi.EventType = ReplicateExisting
    					replicateObject(ctx, roi, objectAPI)
    				}
    
    				st := TargetReplicationResyncStatus{
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  6. cmd/bucket-handlers.go

    			if isDirObject(dobj.ObjectName) && dobj.VersionID == "" {
    				dobj.VersionID = nullVersionID
    			}
    			dv := DeletedObjectReplicationInfo{
    				DeletedObject: dobj,
    				Bucket:        bucket,
    				EventType:     ReplicateIncomingDelete,
    			}
    			scheduleReplicationDelete(ctx, dv, objectAPI)
    		}
    
    		eventName := event.ObjectRemovedDelete
    		objInfo := ObjectInfo{
    			Name:         dobj.ObjectName,
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  7. cmd/object-handlers.go

    				DeleteMarkerMTime:     DeleteMarkerMTime{objInfo.ModTime},
    				DeleteMarker:          objInfo.DeleteMarker,
    				ReplicationState:      objInfo.ReplicationState(),
    			},
    			Bucket:    bucket,
    			EventType: ReplicateIncomingDelete,
    		}
    		scheduleReplicationDelete(ctx, dobj, objectAPI)
    	}
    
    	// Remove the transitioned object whose object version is being overwritten.
    	if !globalTierConfigMgr.Empty() {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top