Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 362 for Action (0.36 sec)

  1. internal/bucket/lifecycle/action_string.go

    	_ = x[ActionCount-9]
    }
    
    const _Action_name = "NoneActionDeleteActionDeleteVersionActionTransitionActionTransitionVersionActionDeleteRestoredActionDeleteRestoredVersionActionDeleteAllVersionsActionDelMarkerDeleteAllVersionsActionActionCount"
    
    var _Action_index = [...]uint8{0, 10, 22, 41, 57, 80, 100, 127, 150, 182, 193}
    
    func (i Action) String() string {
    	if i < 0 || i >= Action(len(_Action_index)-1) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  2. cmd/auth-handler.go

    func checkAdminRequestAuth(ctx context.Context, r *http.Request, action policy.AdminAction, region string) (auth.Credentials, APIErrorCode) {
    	cred, owner, s3Err := validateAdminSignature(ctx, r, region)
    	if s3Err != ErrNone {
    		return cred, s3Err
    	}
    	if globalIAMSys.IsAllowed(policy.Args{
    		AccountName:     cred.AccessKey,
    		Groups:          cred.Groups,
    		Action:          policy.Action(action),
    		ConditionValues: getConditionValues(r, "", cred),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  3. cmd/sts-handlers_test.go

    	exportContentStrings := map[string]string{
    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)
  4. cmd/admin-handler-utils.go

    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
    		return nil, auth.Credentials{}
    	}
    
    	for _, action := range actions {
    		// Validate request signature.
    		cred, adminAPIErr := checkAdminRequestAuth(ctx, r, action, "")
    		switch adminAPIErr {
    		case ErrNone:
    			return objectAPI, cred
    		case ErrAccessDenied:
    			// Try another
    			continue
    		default:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  5. cmd/data-scanner_test.go

    	if err != nil {
    		t.Fatalf("Failed to parse delMarkerILM test ILM policy %v", err)
    	}
    	tests := []struct {
    		ilm       lifecycle.Lifecycle
    		retention lock.Retention
    		obj       ObjectInfo
    		want      lifecycle.Action
    	}{
    		{
    			// with object locking
    			ilm:       *deleteAllLc,
    			retention: lock.Retention{LockEnabled: true},
    			obj:       obj,
    			want:      lifecycle.NoneAction,
    		},
    		{
    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)
  6. cmd/object-handlers.go

    				return
    			}
    			event := evalActionFromLifecycle(ctx, *lc, rcfg, replcfg, objInfo)
    			if event.Action.Delete() {
    				// apply whatever the expiry rule is.
    				applyExpiryRule(event, lcEventSrc_s3GetObject, objInfo)
    				if !event.Action.DeleteRestored() {
    					// If the ILM action is not on restored object return error.
    					writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrNoSuchKey), r.URL)
    					return
    				}
    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)
  7. cmd/erasure-server-pool.go

    				evt := evalActionFromLifecycle(ctx, *opts.Lifecycle, opts.Retention, opts.Replication.Config, objInfo)
    				if evt.Action.Delete() {
    					globalExpiryState.enqueueByDays(objInfo, evt, lcEventSrc_s3ListObjects)
    					if !evt.Action.DeleteRestored() {
    						// Skip entry if ILM action was DeleteVersionAction or DeleteAction
    						return loi, nil
    					}
    				}
    			}
    			return loi, nil
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  8. cmd/metrics-v2.go

    					Help:      "Total number of object versions checked for ilm actions since server start",
    					Type:      counterMetric,
    				},
    				Value: float64(globalScannerMetrics.lifetime(scannerMetricILM)),
    			},
    		}
    		for i := range globalScannerMetrics.actions {
    			action := lifecycle.Action(i)
    			v := globalScannerMetrics.lifetimeActions(action)
    			if v == 0 {
    				continue
    			}
    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)
  9. docs/metrics/prometheus/list.md

    | `minio_node_ilm_action_count_transition_action`              | Total action outcome of lifecycle checks since server start for transition of an object                    |
    | `minio_node_ilm_action_count_transition_version_action`      | Total action outcome of lifecycle checks since server start for transition of a particular object version  |
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 43.4K bytes
    - Viewed (2)
  10. .github/workflows/go-fips.yml

        strategy:
          matrix:
            go-version: [1.21.x]
            os: [ubuntu-latest]
        steps:
          - uses: actions/checkout@v4
          - uses: actions/setup-go@v5
            with:
              go-version: ${{ matrix.go-version }}
    
          - name: Set up Docker Buildx
            uses: docker/setup-buildx-action@v2
    
          - name: Setup dockerfile for build test
            run: |
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 23:44:49 GMT 2024
    - 1.5K bytes
    - Viewed (0)
Back to top