Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 72 for status (0.2 sec)

  1. internal/bucket/lifecycle/rule.go

    package lifecycle
    
    import (
    	"bytes"
    	"encoding/xml"
    )
    
    // Status represents lifecycle configuration status
    type Status string
    
    // Supported status types
    const (
    	Enabled  Status = "Enabled"
    	Disabled Status = "Disabled"
    )
    
    // Rule - a rule for lifecycle configuration.
    type Rule struct {
    	XMLName             xml.Name            `xml:"Rule"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  2. cmd/data-scanner_test.go

    	                       <Status>Enabled</Status>
    			       <ID>DeleteAllVersions</ID>
    	                    </Rule>
    	                 </LifecycleConfiguration>`
    	delMarkerILM := `<LifecycleConfiguration>
                                <Rule>
                                  <ID>DelMarkerExpiration</ID>
                                  <Filter></Filter>
                                  <Status>Enabled</Status>
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool-rebalance.go

    				quit = true
    				now := time.Now()
    				var status rebalStatus
    
    				switch {
    				case errors.Is(rebalErr, context.Canceled):
    					status = rebalStopped
    					traceMsg = fmt.Sprintf("stopped at %s", now)
    				case rebalErr == nil:
    					status = rebalCompleted
    					traceMsg = fmt.Sprintf("completed at %s", now)
    				default:
    					status = rebalFailed
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  4. cmd/xl-storage-disk-id-check.go

    	lastStarted int64
    
    	// Atomic status of disk.
    	status atomic.Int32
    
    	// Atomic number indicates if a disk is hung
    	waiting atomic.Int32
    }
    
    // newDiskHealthTracker creates a new disk health tracker.
    func newDiskHealthTracker() *diskHealthTracker {
    	d := diskHealthTracker{
    		lastSuccess: time.Now().UnixNano(),
    		lastStarted: time.Now().UnixNano(),
    	}
    	d.status.Store(diskHealthOK)
    	return &d
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  5. cmd/object-handlers.go

    			// permission.
    			// * If you have the s3:ListBucket permission
    			//   on the bucket, Amazon S3 will return an
    			//   HTTP status code 404 ("no such key")
    			//   error.
    			// * if you don’t have the s3:ListBucket
    			//   permission, Amazon S3 will return an HTTP
    			//   status code 403 ("access denied") error.`
    			if globalPolicySys.IsAllowed(policy.BucketPolicyArgs{
    				Action:          policy.ListBucketAction,
    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)
  6. cmd/metrics-v2.go

    		Subsystem: "health",
    		Name:      "status",
    		Help:      "Get current cluster health status",
    		Type:      gaugeMetric,
    	}
    }
    
    func getClusterErasureSetHealthStatusMD() MetricDescription {
    	return MetricDescription{
    		Namespace: clusterMetricNamespace,
    		Subsystem: "health",
    		Name:      "erasure_set_status",
    		Help:      "Get current health status for this erasure set",
    		Type:      gaugeMetric,
    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)
  7. buildscripts/verify-healing.sh

    	if pgrep minio; then
    		# forcibly killing, to proceed further properly.
    		if ! pkill -9 minio; then
    			echo "no minio process running anymore, proceed."
    		fi
    	fi
    }
    
    function check_heal() {
    	if ! grep -q 'Status:' ${WORK_DIR}/dist-minio-*.log; then
    		return 1
    	fi
    
    	for ((i = 0; i < 20; i++)); do
    		test -f ${WORK_DIR}/$1/1/.minio.sys/format.json
    		v1=$?
    		nextInES=$(($1 + 1)) && [ $nextInES -gt 3 ] && nextInES=1
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 4.2K bytes
    - Viewed (1)
  8. cmd/iam.go

    		pe.Timestamp = UTCNow()
    		return &pe, nil
    	case <-ctx.Done():
    		return nil, ctx.Err()
    	}
    }
    
    // SetUserStatus - sets current user status, supports disabled or enabled.
    func (sys *IAMSys) SetUserStatus(ctx context.Context, accessKey string, status madmin.AccountStatus) (updatedAt time.Time, err error) {
    	if !sys.Initialized() {
    		return updatedAt, errServerNotInitialized
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  9. cmd/sts-handlers_test.go

    		// enabled.
    		allUsersFile: `{
      "foo": {
        "secretKey": "foobar123",
        "status": "enabled"
      }
    }
    `,
    		// Built-in groups should be imported without errors even if LDAP is
    		// enabled.
    		allGroupsFile: `{
      "mygroup": {
        "version": 1,
        "status": "enabled",
        "members": [
          "foo"
        ],
        "updatedAt": "2024-04-23T21:34:43.587429659Z"
      }
    }
    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)
  10. cmd/site-replication.go

    			return errSRInvalidRequest(errInvalidArgument)
    		}
    		userReq := *change.UserReq
    		if userReq.Status != "" && userReq.SecretKey == "" {
    			// Status is set without secretKey updates means we are
    			// only changing the account status.
    			_, err = globalIAMSys.SetUserStatus(ctx, change.AccessKey, userReq.Status)
    		} else {
    			// We don't allow internal user creation with LDAP enabled for now
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
Back to top