Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 590 for Action (0.17 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/config/errors-utils.go

    // Err implements error so we can use it anywhere
    type Err struct {
    	msg    string
    	detail string
    	action string
    	hint   string
    }
    
    // Clone returns a new Err struct with the same information
    func (u Err) Clone() Err {
    	return Err{
    		msg:    u.msg,
    		detail: u.detail,
    		action: u.action,
    		hint:   u.hint,
    	}
    }
    
    // Error returns the error message
    func (u Err) Error() string {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  3. cmd/policy_test.go

    	}
    
    	anonGetBucketLocationArgs := policy.BucketPolicyArgs{
    		AccountName:     "Q3AM3UQ867SPQQA43P2F",
    		Action:          policy.GetBucketLocationAction,
    		BucketName:      "mybucket",
    		ConditionValues: map[string][]string{},
    	}
    
    	anonPutObjectActionArgs := policy.BucketPolicyArgs{
    		AccountName: "Q3AM3UQ867SPQQA43P2F",
    		Action:      policy.PutObjectAction,
    		BucketName:  "mybucket",
    		ConditionValues: map[string][]string{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  4. cmd/http-tracer_test.go

    		query         string
    		expectedQuery string
    	}{
    		{"", ""},
    		{
    			"?Action=AssumeRoleWithLDAPIdentity&LDAPUsername=myusername&LDAPPassword=can+youreadthis%3F&Version=2011-06-15",
    			"?Action=AssumeRoleWithLDAPIdentity&LDAPUsername=myusername&LDAPPassword=*REDACTED*&Version=2011-06-15",
    		},
    		{
    			"LDAPPassword=can+youreadthis%3F&Version=2011-06-15&?Action=AssumeRoleWithLDAPIdentity&LDAPUsername=myusername",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 1.8K bytes
    - Viewed (0)
  5. istioctl/pkg/authz/listener.go

    	if parsedListeners == nil {
    		return
    	}
    
    	actionToPolicy := map[rbacpb.RBAC_Action]map[string]struct{}{}
    	policyToRule := map[string]map[string]struct{}{}
    
    	addPolicy := func(action rbacpb.RBAC_Action, name string, rule string) {
    		if actionToPolicy[action] == nil {
    			actionToPolicy[action] = map[string]struct{}{}
    		}
    		if policyToRule[name] == nil {
    			policyToRule[name] = map[string]struct{}{}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Sep 11 15:29:30 GMT 2023
    - 6K bytes
    - Viewed (0)
  6. cmd/data-scanner-metric.go

    		m.LifeTimeOps = nil
    	}
    
    	m.LastMinute.Actions = make(map[string]madmin.TimedAction, scannerMetricLastRealtime)
    	for i := scannerMetric(0); i < scannerMetricLastRealtime; i++ {
    		lm := p.lastMinute(i)
    		if lm.N > 0 {
    			m.LastMinute.Actions[i.String()] = lm.asTimedAction()
    		}
    	}
    	if len(m.LastMinute.Actions) == 0 {
    		m.LastMinute.Actions = nil
    	}
    
    	// ILM
    	m.LifeTimeILM = make(map[string]uint64)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 25 05:15:31 GMT 2023
    - 9.1K bytes
    - Viewed (0)
  7. cmd/dummy-handlers.go

    	bucket := vars["bucket"]
    
    	objAPI := api.ObjectAPI()
    	if objAPI == nil {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
    		return
    	}
    
    	// Allow getBucketCors if policy action is set, since this is a dummy call
    	// we are simply re-purposing the bucketPolicyAction.
    	if s3Error := checkRequestAuthType(ctx, r, policy.GetBucketPolicyAction, bucket, ""); s3Error != ErrNone {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  8. internal/bucket/lifecycle/noncurrentversion.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package lifecycle
    
    import (
    	"encoding/xml"
    	"time"
    )
    
    // NoncurrentVersionExpiration - an action for lifecycle configuration rule.
    type NoncurrentVersionExpiration struct {
    	XMLName                 xml.Name       `xml:"NoncurrentVersionExpiration"`
    	NoncurrentDays          ExpirationDays `xml:"NoncurrentDays,omitempty"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Dec 14 17:41:44 GMT 2021
    - 5.3K bytes
    - Viewed (1)
  9. cmd/dynamic-timeouts.go

    }
    
    func (dt *dynamicTimeout) RetryInterval() time.Duration {
    	return dt.retryInterval
    }
    
    // LogSuccess logs the duration of a successful action that
    // did not hit the timeout
    func (dt *dynamicTimeout) LogSuccess(duration time.Duration) {
    	dt.logEntry(duration)
    }
    
    // LogFailure logs an action that hit the timeout
    func (dt *dynamicTimeout) LogFailure() {
    	dt.logEntry(maxDuration)
    }
    
    // logEntry stores a log entry
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Aug 19 23:21:05 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/expiration.go

    	DeleteMarker ExpireDeleteMarker `xml:"ExpiredObjectDeleteMarker"`
    	// Indicates whether MinIO will remove all versions. If set to true, all versions will be deleted;
    	// if set to false the policy takes no action. This action uses the Days/Date to expire objects.
    	// This check is verified for latest version of the object.
    	DeleteAll Boolean `xml:"ExpiredObjectAllVersions"`
    
    	set bool
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Feb 21 20:28:34 GMT 2024
    - 6.6K bytes
    - Viewed (1)
Back to top