Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 816 for Action (0.32 sec)

  1. internal/bucket/lifecycle/action_string.go

    	_ = x[ActionCount-8]
    }
    
    const _Action_name = "NoneActionDeleteActionDeleteVersionActionTransitionActionTransitionVersionActionDeleteRestoredActionDeleteRestoredVersionActionDeleteAllVersionsActionActionCount"
    
    var _Action_index = [...]uint8{0, 10, 22, 41, 57, 80, 100, 127, 150, 161}
    
    func (i Action) String() string {
    	if i < 0 || i >= Action(len(_Action_index)-1) {
    		return "Action(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jun 29 05:12:28 GMT 2023
    - 1018 bytes
    - Viewed (0)
  2. internal/logger/target/testlogger/testlogger.go

    func (t *testLogger) SetFatalTB(tb testing.TB) func() {
    	return t.setTB(tb, fatalMessage)
    }
    
    func (t *testLogger) setTB(tb testing.TB, action int32) func() {
    	old := t.action.Swap(action)
    	t.current.Store(&tb)
    	return func() {
    		t.current.Store(nil)
    		t.action.Store(old)
    	}
    }
    
    func (t *testLogger) String() string {
    	tb := t.current.Load()
    	if tb != nil {
    		tbb := *tb
    		return tbb.Name()
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 4K bytes
    - Viewed (0)
  3. docs/iam/access-manager-plugin.go

    	actionValue := m["action"].(string)
    
    	// Allow user `minio` to perform any action.
    	var res Result
    	if accountValue == "minio" {
    		res.Result = true
    	} else {
    		// All other users may not perform any `s3:Put*` operations.
    		res.Result = true
    		if strings.HasPrefix(actionValue, "s3:Put") {
    			res.Result = false
    		}
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 08 17:15:20 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  4. operator/cmd/mesh/operator_test.go

    			readActions := map[string]bool{
    				"get":   true,
    				"list":  true,
    				"watch": true,
    			}
    
    			actions := extendedClient.Kube().(*fake.Clientset).Actions()
    			for _, action := range actions {
    				if v := readActions[action.GetVerb()]; !v {
    					t.Fatalf("unexpected action: %+v, expected %s", action.GetVerb(), "get")
    				}
    			}
    		})
    	}
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Aug 29 14:15:33 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  5. cmd/bucket-lifecycle-audit.go

    	source lcEventSrc
    }
    
    func (lae lcAuditEvent) Tags() map[string]interface{} {
    	event := lae.Event
    	src := lae.source
    	const (
    		ilmSrc                     = "ilm-src"
    		ilmAction                  = "ilm-action"
    		ilmDue                     = "ilm-due"
    		ilmRuleID                  = "ilm-rule-id"
    		ilmTier                    = "ilm-tier"
    		ilmNewerNoncurrentVersions = "ilm-newer-noncurrent-versions"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Dec 01 15:56:24 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  6. cmd/metacache-server-pool.go

    		if o.Lifecycle != nil {
    			evt := evalActionFromLifecycle(ctx, *o.Lifecycle, o.Retention, o.Replication.Config, objInfo)
    			if evt.Action.Delete() {
    				globalExpiryState.enqueueByDays(objInfo, evt, lcEventSrc_s3ListObjects)
    				if !evt.Action.DeleteRestored() {
    					continue
    				} // queue version for replication upon expired restored copies if needed.
    			}
    		}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  7. cmd/post-policy_test.go

    	policy = fmt.Sprintf(policy, dates...)
    
    	region := "us-east-1"
    	// Create a new POST request with success_action_redirect field specified
    	req, perr := newPostRequestV4Generic("", bucketName, keyName, []byte("objData"),
    		credentials.AccessKey, credentials.SecretKey, region, curTime,
    		[]byte(policy), map[string]string{"success_action_redirect": redirectURL.String()}, false, false, false)
    
    	if perr != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  8. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/ztunnel/configdump/policies.go

    		if r := cmp.Compare(a.Namespace, b.Namespace); r != 0 {
    			return r
    		}
    		return cmp.Compare(a.Name, b.Name)
    	})
    	fmt.Fprintln(w, "NAMESPACE\tPOLICY NAME\tACTION\tSCOPE")
    
    	for _, pol := range pols {
    		fmt.Fprintf(w, "%v\t%v\t%v\t%v\n",
    			pol.Namespace, pol.Name, pol.Action, pol.Scope)
    	}
    	return w.Flush()
    }
    
    // PrintPolicyDump prints the relevant services in the config dump to the ConfigWriter stdout
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  10. cmd/postpolicyform_test.go

    		policy  string
    		success bool
    	}{
    		// missing expiration, will fail.
    		{
    			policy:  `{"conditions":[["eq","$bucket","asdf"],["eq","$key","hello.txt"]],"conditions":[["eq","$success_action_status","201"],["eq","$Content-Type","plain/text"],["eq","$success_action_status","201"],["eq","$x-amz-algorithm","AWS4-HMAC-SHA256"],["eq","$x-amz-credential","Q3AM3UQ867SPQQA43P2F/20210315/us-east-1/s3/aws4_request"],["eq","$x-amz-date","20210315T091621Z"]]}`,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 8.9K bytes
    - Viewed (0)
Back to top