Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 69 for Unix (0.13 sec)

  1. internal/grid/connection.go

    		case <-ctx.Done():
    			return
    		case <-ping.C:
    			if c.State() != StateConnected {
    				continue
    			}
    			lastPong := atomic.LoadInt64(&c.LastPong)
    			if lastPong > 0 {
    				lastPongTime := time.Unix(lastPong, 0)
    				if d := time.Since(lastPongTime); d > connPingInterval*2 {
    					gridLogIf(ctx, fmt.Errorf("host %s last pong too old (%v); disconnecting", c.Remote, d.Round(time.Millisecond)))
    					return
    				}
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  2. docs/multi-user/README.md

    	}
      ]
    }
    ```
    
    #### Common information available in all requests
    
    - `aws:CurrentTime` - This can be used for conditions that check the date and time.
    - `aws:EpochTime` - This is the date in epoch or Unix time, for use with date/time conditions.
    - `aws:PrincipalType` - This value indicates whether the principal is an account (Root credential), user (MinIO user), or assumed role (STS)
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 21 06:38:06 GMT 2023
    - 8K bytes
    - Viewed (0)
  3. cmd/bucket-replication.go

    		oi1.ModTime.Unix() > oi2.LastModified.Unix() && oi1.VersionID == nullVersionID {
    		return replicateNone
    	}
    	sz, _ := oi1.GetActualSize()
    
    	// needs full replication
    	if oi1.ETag != oi2.ETag ||
    		oi1.VersionID != oi2.VersionID ||
    		sz != oi2.Size ||
    		oi1.DeleteMarker != oi2.IsDeleteMarker ||
    		oi1.ModTime.Unix() != oi2.LastModified.Unix() {
    		return replicateAll
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  4. cmd/signature-v2.go

    	expiresInt, err := strconv.ParseInt(expires, 10, 64)
    	if err != nil {
    		return ErrMalformedExpires
    	}
    
    	// Check if the presigned URL has expired.
    	if expiresInt < UTCNow().Unix() {
    		return ErrExpiredPresignRequest
    	}
    
    	encodedResource, err = getResource(encodedResource, r.Host, globalDomainNames)
    	if err != nil {
    		return ErrInvalidRequest
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  5. cmd/metrics-v2.go

    	return MetricDescription{
    		Namespace: nodeMetricNamespace,
    		Subsystem: processSubsystem,
    		Name:      startTime,
    		Help:      "Start time for MinIO process per node, time in seconds since Unix epoc",
    		Type:      gaugeMetric,
    	}
    }
    
    func getMinIOProcessUptimeMD() MetricDescription {
    	return MetricDescription{
    		Namespace: nodeMetricNamespace,
    		Subsystem: processSubsystem,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  6. cmd/sts-handlers_test.go

    	}
    
    	dn := "uid=svc.algorithm,ou=swengg,dc=min,dc=io"
    	res, err := s.adm.ListAccessKeysLDAP(ctx, dn, "")
    	if err != nil {
    		c.Fatalf("Unable to list access keys: %v", err)
    	}
    
    	epochTime := time.Unix(0, 0).UTC()
    	expectedAccKeys := madmin.ListAccessKeysLDAPResp{
    		ServiceAccounts: []madmin.ServiceAccountInfo{
    			{
    				AccessKey:  "u4ccRswj62HV3Ifwima7",
    				Expiration: &epochTime,
    			},
    		},
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  7. cmd/object-handlers.go

    			hdrs = r.Header
    		}
    
    		opts, err := putOpts(ctx, bucket, object, versionID, hdrs, metadata)
    		if err != nil {
    			return err
    		}
    
    		opts.MTime = info.ModTime()
    		if opts.MTime.Unix() <= 0 {
    			opts.MTime = UTCNow()
    		}
    		opts.IndexCB = idxCb
    
    		retentionMode, retentionDate, legalHold, s3err := checkPutObjectLockAllowed(ctx, r, bucket, object, getObjectInfo, retPerms, holdPerms)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  8. internal/rest/client.go

    func (c *Client) IsOnline() bool {
    	return atomic.LoadInt32(&c.connected) == online
    }
    
    // LastConn returns when the disk was (re-)connected
    func (c *Client) LastConn() time.Time {
    	return time.Unix(0, atomic.LoadInt64(&c.lastConn))
    }
    
    // LastError returns previous error
    func (c *Client) LastError() error {
    	c.RLock()
    	defer c.RUnlock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  9. internal/lock/lock_nix.go

    Harshavardhana <******@****.***> 1629336922 -0700
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 2.8K bytes
    - Viewed (0)
  10. cmd/storage-datatypes.go

    	ModTime time.Time `msg:"mt"`
    
    	// Total file size.
    	Size int64 `msg:"sz"`
    
    	// File mode bits.
    	Mode uint32 `msg:"m"`
    
    	// WrittenByVersion is the unix time stamp of the MinIO
    	// version that created this version of the object.
    	WrittenByVersion uint64 `msg:"wv"`
    
    	// File metadata
    	Metadata map[string]string `msg:"meta"`
    
    	// All the parts per object.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
Back to top