Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for disabled (0.25 sec)

  1. internal/bucket/lifecycle/rule.go

    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"`
    	ID                  string              `xml:"ID,omitempty"`
    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. internal/bucket/lifecycle/lifecycle.go

    func (lc Lifecycle) HasActiveRules(prefix string) bool {
    	if len(lc.Rules) == 0 {
    		return false
    	}
    	for _, rule := range lc.Rules {
    		if rule.Status == Disabled {
    			continue
    		}
    
    		if len(prefix) > 0 && len(rule.GetPrefix()) > 0 {
    			// we can skip this rule if it doesn't match the tested
    			// prefix.
    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/sts-handlers.go

    		return
    	}
    
    	claims[expClaim] = UTCNow().Add(duration).Unix()
    	claims[parentClaim] = user.AccessKey
    
    	// Validate that user.AccessKey's policies can be retrieved - it may not
    	// be in case the user is disabled.
    	if _, err = globalIAMSys.PolicyDBGet(user.AccessKey, user.Groups...); err != nil {
    		writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue, err)
    		return
    	}
    
    	if len(sessionPolicyStr) > 0 {
    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)
  4. internal/bucket/lifecycle/lifecycle_test.go

    			expectedAction: NoneAction,
    		},
    		// Disabled should always return NoneAction
    		{
    			inputConfig:    `<LifecycleConfiguration><Rule><Filter><Prefix>foodir/</Prefix></Filter><Status>Disabled</Status><Expiration><Days>5</Days></Expiration></Rule></LifecycleConfiguration>`,
    			objectName:     "foodir/fooobject",
    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)
  5. cmd/config-current.go

    		}
    
    		globalAPIConfig.init(apiConfig, setDriveCounts, objAPI.Legacy())
    		autoGenerateRootCredentials() // Generate the KMS root credentials here since we don't know whether API root access is disabled until now.
    		setRemoteInstanceTransport(NewHTTPTransportWithTimeout(apiConfig.RemoteTransportDeadline))
    	case config.CompressionSubSys:
    		cmpCfg, err := compress.LookupConfig(s[config.CompressionSubSys][config.Default])
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  6. cmd/object-api-errors.go

    }
    
    // AllAccessDisabled All access to this object has been disabled
    type AllAccessDisabled GenericError
    
    // Error returns string an error formatted as the given text.
    func (e AllAccessDisabled) Error() string {
    	return "All access to this object has been disabled"
    }
    
    // IncompleteBody You did not provide the number of bytes specified by the Content-Length HTTP header.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  7. docs/en/docs/fastapi-cli.md

    ## `fastapi run`
    
    When you run `fastapi run`, it will run on production mode by default.
    
    It will have **auto-reload disabled** by default.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:16 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  8. cmd/sftp-server.go

    // preferredKexAlgos specifies the default preference for key-exchange
    // algorithms in preference order. The diffie-hellman-group16-sha512 algorithm
    // is disabled by default because it is a bit slower than the others.
    var preferredKexAlgos = []string{
    	kexAlgoCurve25519SHA256, kexAlgoCurve25519SHA256LibSSH,
    	kexAlgoECDH256, kexAlgoECDH384, kexAlgoECDH521,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  9. cmd/site-replication.go

    				return false
    			}
    			if r.DeleteMarkerReplication.Status == sreplication.Disabled ||
    				r.DeleteReplication.Status == sreplication.Disabled ||
    				r.ExistingObjectReplication.Status == sreplication.Disabled ||
    				r.SourceSelectionCriteria.ReplicaModifications.Status == sreplication.Disabled {
    				return false
    			}
    		}
    	}
    	return true
    }
    
    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)
  10. internal/auth/credentials.go

    const iamPolicyClaimNameSA = "sa-policy"
    
    const (
    	// AccountOn indicates that credentials are enabled
    	AccountOn = "on"
    	// AccountOff indicates that credentials are disabled
    	AccountOff = "off"
    )
    
    // Credentials holds access and secret keys.
    type Credentials struct {
    	AccessKey    string                 `xml:"AccessKeyId" json:"accessKey,omitempty" yaml:"accessKey"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 11.7K bytes
    - Viewed (0)
Back to top