Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 301 for deploymentID (0.16 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. cmd/erasure-utils.go

    			return 0, err
    		}
    
    		// Decrement output size.
    		write -= int64(n)
    
    		// Increment written.
    		totalWritten += int64(n)
    	}
    
    	// Success.
    	return totalWritten, nil
    }
    
    // returns deploymentID from uploadID
    func getDeplIDFromUpload(uploadID string) (string, error) {
    	uploadBytes, err := base64.RawURLEncoding.DecodeString(uploadID)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. internal/http/server.go

    func SetMinIOVersion(version string) {
    	GlobalMinIOVersion = version
    }
    
    // SetDeploymentID -- Deployment Id from the main package is set here
    func SetDeploymentID(deploymentID string) {
    	GlobalDeploymentID = deploymentID
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Feb 09 21:25:16 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. internal/logger/audit.go

    func GetAuditEntry(ctx context.Context) *audit.Entry {
    	if ctx != nil {
    		r, ok := ctx.Value(contextAuditKey).(*audit.Entry)
    		if ok {
    			return r
    		}
    		r = &audit.Entry{
    			Version:      internalAudit.Version,
    			DeploymentID: xhttp.GlobalDeploymentID,
    			Time:         time.Now().UTC(),
    		}
    		return r
    	}
    	return nil
    }
    
    // AuditLog - logs audit logs to all audit targets.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. cmd/callhome.go

    		query.Set(string(k), "true")
    	}
    
    	healthInfo := madmin.HealthInfo{
    		TimeStamp: time.Now().UTC(),
    		Version:   madmin.HealthInfoVersion,
    		Minio: madmin.MinioHealthInfo{
    			Info: madmin.MinioInfo{
    				DeploymentID: globalDeploymentID(),
    			},
    		},
    	}
    
    	go fetchHealthInfo(healthCtx, objectAPI, &query, healthInfoCh, healthInfo)
    
    	for {
    		select {
    		case hi, hasMore := <-healthInfoCh:
    			if !hasMore {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 16:53:34 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. helm/minio/templates/deployment.yaml

    {{- if eq .Values.mode "standalone" }}
    {{ $scheme := .Values.tls.enabled | ternary "https" "http" }}
    {{ $bucketRoot := or ($.Values.bucketRoot) ($.Values.mountPath) }}
    apiVersion: {{ template "minio.deployment.apiVersion" . }}
    kind: Deployment
    metadata:
      name: {{ template "minio.fullname" . }}
      labels:
        app: {{ template "minio.name" . }}
        chart: {{ template "minio.chart" . }}
        release: {{ .Release.Name }}
        heritage: {{ .Release.Service }}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Mar 03 17:50:39 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top