Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 105 for Action (0.37 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. internal/bucket/lifecycle/lifecycle.go

    	TransitionPending = "pending"
    )
    
    // Action represents a delete action or other transition
    // actions that will be implemented later.
    type Action int
    
    //go:generate stringer -type Action $GOFILE
    
    const (
    	// NoneAction means no action required after evaluating lifecycle rules
    	NoneAction Action = iota
    	// DeleteAction means the object needs to be removed after evaluating lifecycle rules
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  3. cmd/data-scanner.go

    // If no metadata is supplied, -1 is returned if no action is taken.
    func (i *scannerItem) applyActions(ctx context.Context, o ObjectLayer, oi ObjectInfo, sizeS *sizeSummary) (objDeleted bool, size int64) {
    	done := globalScannerMetrics.time(scannerMetricILM)
    	var action lifecycle.Action
    	action, size = i.applyLifecycle(ctx, o, oi)
    	done()
    
    	// Note: objDeleted is true if and only if action ==
    	// lifecycle.DeleteAllVersionsAction
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 47.6K bytes
    - Viewed (0)
  4. cmd/sts-handlers.go

    		return
    	}
    
    	action := r.Form.Get(stsAction)
    	switch action {
    	case assumeRole:
    	default:
    		writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue, fmt.Errorf("Unsupported action %s", action))
    		return
    	}
    
    	ctx = newContext(r, w, action)
    
    	// Validate the authentication result here so that failures will be audit-logged.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  5. .github/workflows/scorecard.yml

          # contents: read
          # actions: read
    
        steps:
          - name: "Checkout code"
            uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
            with:
              persist-credentials: false
    
          - name: "Run analysis"
            uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1
            with:
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 29 23:37:56 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/lifecycle_test.go

    	evt := lc.eval(obj1, now)
    	if evt.Action != TransitionAction {
    		t.Fatalf("Expected action: %s but got %s", TransitionAction, evt.Action)
    	}
    	if evt.StorageClass != "TIER-1" {
    		t.Fatalf("Expected TIER-1 but got %s", evt.StorageClass)
    	}
    
    	evt = lc.eval(obj2, now)
    	if evt.Action != TransitionVersionAction {
    		t.Fatalf("Expected action: %s but got %s", TransitionVersionAction, evt.Action)
    	}
    	if evt.StorageClass != "TIER-2" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  7. cmd/admin-handlers.go

    }
    
    type serviceResult struct {
    	Action  madmin.ServiceAction `json:"action"`
    	DryRun  bool                 `json:"dryRun"`
    	Results []servicePeerResult  `json:"results,omitempty"`
    }
    
    // ServiceV2Handler - POST /minio/admin/v3/service?action={action}&type=2
    // ----------
    // Supports following actions:
    // - restart (restarts all the MinIO instances in a setup)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  8. cmd/admin-handlers-users.go

    	addExpirationToCondValues(createReq.Expiration, condValues)
    
    	// Check if action is allowed if creating access key for another user
    	// Check if action is explicitly denied if for self
    	if !globalIAMSys.IsAllowed(policy.Args{
    		AccountName:     cred.AccessKey,
    		Groups:          cred.Groups,
    		Action:          policy.CreateServiceAccountAdminAction,
    		ConditionValues: condValues,
    		IsOwner:         owner,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  9. .github/workflows/publish.yml

            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v4
          - name: Set up Python
            uses: actions/setup-python@v5
            with:
              python-version: "3.10"
              # Issue ref: https://github.com/actions/setup-python/issues/436
              # cache: "pip"
              # cache-dependency-path: pyproject.toml
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 30 06:38:13 GMT 2024
    - 1K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/delmarker-expiration.go

    package lifecycle
    
    import (
    	"encoding/xml"
    	"time"
    )
    
    var errInvalidDaysDelMarkerExpiration = Errorf("Days must be a positive integer with DelMarkerExpiration")
    
    // DelMarkerExpiration used to xml encode/decode ILM action by the same name
    type DelMarkerExpiration struct {
    	XMLName xml.Name `xml:"DelMarkerExpiration"`
    	Days    int      `xml:"Days,omitempty"`
    }
    
    // Empty returns if a DelMarkerExpiration XML element is empty.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 2.3K bytes
    - Viewed (0)
Back to top