Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 666 for deploymentID (0.17 sec)

  1. internal/logger/message/audit/entry.go

    func NewEntry(deploymentID string) audit.Entry {
    	return audit.Entry{
    		Version:      Version,
    		DeploymentID: deploymentID,
    		Time:         time.Now().UTC(),
    	}
    }
    
    // ToEntry - constructs an audit entry from a http request
    func ToEntry(w http.ResponseWriter, r *http.Request, reqClaims map[string]interface{}, deploymentID string) audit.Entry {
    	entry := NewEntry(deploymentID)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    			}
    			if info.DeploymentID != v.DeploymentID {
    				return madmin.ReplicateEditStatus{}, errSRInvalidRequest(fmt.Errorf("Endpoint %s does not belong to deployment expected: %s (found %s) ", peer.Endpoint, v.DeploymentID, info.DeploymentID))
    			}
    		}
    	}
    
    	// if disable/enable ILM expiry replication, deployment id not needed.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  3. internal/logger/target/console/console.go

    				apiString += "(" + args + ")"
    			}
    		}
    	} else {
    		apiString = "INTERNAL"
    	}
    	timeString := "Time: " + entry.Time.Format(logger.TimeFormat)
    
    	var deploymentID string
    	if entry.DeploymentID != "" {
    		deploymentID = "\nDeploymentID: " + entry.DeploymentID
    	}
    
    	var requestID string
    	if entry.RequestID != "" {
    		requestID = "\nRequestID: " + entry.RequestID
    	}
    
    	var remoteHost string
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. internal/logger/reqinfo.go

    	sync.RWMutex
    }
    
    // NewReqInfo :
    func NewReqInfo(remoteHost, userAgent, deploymentID, requestID, api, bucket, object string) *ReqInfo {
    	return &ReqInfo{
    		RemoteHost:   remoteHost,
    		UserAgent:    userAgent,
    		API:          api,
    		DeploymentID: deploymentID,
    		RequestID:    requestID,
    		BucketName:   bucket,
    		ObjectName:   object,
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. cmd/perf-tests.go

    		// skip self
    		if globalDeploymentID() == info.DeploymentID {
    			continue
    		}
    		info := info
    		wg.Add(connectionsPerPeer)
    		for i := 0; i < connectionsPerPeer; i++ {
    			go func() {
    				defer wg.Done()
    				ctx, cancel := context.WithTimeout(ctx, duration+10*time.Second)
    				defer cancel()
    				perfNetRequest(
    					ctx,
    					info.DeploymentID,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  6. cmd/prepare-storage.go

    	}
    
    	if format.ID == "" {
    		return nil, errors.New("deployment ID missing from disk format, unable to start the server")
    	}
    
    	return format, nil
    }
    
    // Format disks before initialization of object layer.
    func waitForFormatErasure(firstDisk bool, endpoints Endpoints, poolCount, setCount, setDriveCount int, deploymentID string) (storageDisks []StorageAPI, format *formatErasureV3, err error) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun May 19 08:06:49 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. cmd/site-replication-utils.go

    		return nil
    	}
    	for _, peer := range info.Sites {
    		if peer.DeploymentID == globalDeploymentID() {
    			continue
    		}
    		rs, err := loadSiteResyncMetadata(ctx, objAPI, peer.DeploymentID)
    		if err != nil {
    			return err
    		}
    		sm.Lock()
    		if _, ok := sm.peerResyncMap[peer.DeploymentID]; !ok {
    			sm.peerResyncMap[peer.DeploymentID] = resyncState{resyncID: rs.ResyncID, LastSaved: time.Time{}}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. internal/logger/logger.go

    	tags := make(map[string]interface{}, len(req.tags))
    	for _, entry := range req.tags {
    		tags[entry.Key] = entry.Val
    	}
    
    	// Get the cause for the Error
    	deploymentID := req.DeploymentID
    	if req.DeploymentID == "" {
    		deploymentID = xhttp.GlobalDeploymentID
    	}
    
    	objects := make([]log.ObjectVersion, 0, len(req.Objects))
    	for _, ov := range req.Objects {
    		objects = append(objects, log.ObjectVersion{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  9. cmd/site-replication-metrics.go

    		s.XferRateSml.measure.updateExponentialMovingAverage(time.Now())
    	}
    }
    
    // SRMetric captures replication metrics for a deployment
    type SRMetric struct {
    	DeploymentID  string             `json:"deploymentID"`
    	Endpoint      string             `json:"endpoint"`
    	TotalDowntime time.Duration      `json:"totalDowntime"`
    	LastOnline    time.Time          `json:"lastOnline"`
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. cmd/site-replication-metrics_gen.go

    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "DeploymentID":
    			z.DeploymentID, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "DeploymentID")
    				return
    			}
    		case "Endpoint":
    			z.Endpoint, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Endpoint")
    				return
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 40.6K bytes
    - Viewed (0)
Back to top