Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 876 for valida (0.24 sec)

  1. internal/bucket/replication/replication.go

    	DeleteReplicationType
    	MetadataReplicationType
    	HealReplicationType
    	ExistingObjectReplicationType
    	ResyncReplicationType
    	AllReplicationType
    )
    
    // Valid returns true if replication type is set
    func (t Type) Valid() bool {
    	return t > 0
    }
    
    // IsDataReplication returns true if content being replicated
    func (t Type) IsDataReplication() bool {
    	switch t {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  2. internal/bucket/replication/sourceselectioncriteria.go

    }
    
    // IsValid - checks whether SourceSelectionCriteria is valid or not.
    func (s SourceSelectionCriteria) IsValid() bool {
    	return s.ReplicaModifications.Status == Enabled || s.ReplicaModifications.Status == Disabled
    }
    
    // Validate source selection criteria
    func (s SourceSelectionCriteria) Validate() error {
    	if (s == SourceSelectionCriteria{}) {
    		return nil
    	}
    	if !s.IsValid() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  3. cmd/erasure-metadata-utils_test.go

    	}
    	// List all of all test cases to validate various cases of reduce errors.
    	testCases := []struct {
    		errs        []error
    		ignoredErrs []error
    		err         error
    	}{
    		// Validate if have reduced properly.
    		{[]error{
    			errDiskNotFound,
    			errDiskNotFound,
    			errDiskFull,
    		}, []error{}, errErasureReadQuorum},
    		// Validate if have no consensus.
    		{[]error{
    			errDiskFull,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  4. cmd/xl-storage-meta-inline.go

    			return val
    		}
    		// Skip it
    		_, buf, err = msgp.ReadBytesZC(buf)
    		if err != nil {
    			return nil
    		}
    	}
    	return nil
    }
    
    // validate checks if the data is valid.
    // It does not check integrity of the stored data.
    func (x xlMetaInlineData) validate() error {
    	if len(x) == 0 {
    		return nil
    	}
    
    	if !x.versionOK() {
    		return fmt.Errorf("xlMetaInlineData: unknown version 0x%x", x[0])
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  5. internal/event/config.go

    		return &ErrUnsupportedConfiguration{}
    	}
    
    	*conf = Config(parsedConfig)
    
    	return nil
    }
    
    // Validate - checks whether config has valid values or not.
    func (conf Config) Validate(region string, targetList *TargetList) error {
    	for _, queue := range conf.QueueList {
    		if err := queue.Validate(region, targetList); err != nil {
    			return err
    		}
    	}
    
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 16 17:28:29 GMT 2021
    - 8.4K bytes
    - Viewed (0)
  6. docs/es/docs/python-types.md

    ## Motivación
    
    Comencemos con un ejemplo simple:
    
    ```Python
    {!../../../docs_src/python_types/tutorial001.py!}
    ```
    
    Llamar este programa nos muestra el siguiente <abbr title="en español: salida">output</abbr>:
    
    ```
    John Doe
    ```
    
    La función hace lo siguiente:
    
    * Toma un `first_name` y un `last_name`.
    * Convierte la primera letra de cada uno en una letra mayúscula con `title()`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/authentication/v1/generated.proto

      // +optional
      optional int64 expirationSeconds = 4;
    
      // BoundObjectRef is a reference to an object that the token will be bound to.
      // The token will only be valid for as long as the bound object exists.
      // NOTE: The API server's TokenReview endpoint will validate the
      // BoundObjectRef, but other audiences may not. Keep ExpirationSeconds
      // small if you want prompt revocation.
      // +optional
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  8. cmd/auth-handler.go

    	authTypeStreamingSignedTrailer:   {},
    	authTypeStreamingUnsignedTrailer: {},
    }
    
    // Validate if the authType is valid and supported.
    func isSupportedS3AuthType(aType authType) bool {
    	_, ok := supportedS3AuthTypes[aType]
    	return ok
    }
    
    // setAuthMiddleware to validate authorization header for the incoming request.
    func setAuthMiddleware(h http.Handler) http.Handler {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  9. cmd/iam.go

    	TotalRefreshFailures            uint64
    
    	sync.Mutex
    
    	iamRefreshInterval time.Duration
    
    	LDAPConfig   xldap.Config  // only valid if usersSysType is LDAPUsers
    	OpenIDConfig openid.Config // only valid if OpenID is configured
    	STSTLSConfig xtls.Config   // only valid if STS TLS is configured
    
    	usersSysType UsersSysType
    
    	rolesMap map[arn.ARN]string
    
    	// Persistence layer for IAM subsystem
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  10. internal/bucket/lifecycle/filter.go

    	}
    	// Note: S3 supports empty <Filter></Filter>, so predCount == 0 is
    	// valid.
    	if predCount > 1 {
    		return errInvalidFilter
    	}
    
    	var err error
    	switch pType {
    	case nonePred:
    	// S3 supports empty <Filter></Filter>
    	case prefixPred:
    	case andPred:
    		err = f.And.Validate()
    	case tagPred:
    		err = f.Tag.Validate()
    	case sizeLtPred:
    		if f.ObjectSizeLessThan < 0 {
    			err = errXMLNotWellFormed
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 00:01:20 GMT 2024
    - 6.2K bytes
    - Viewed (0)
Back to top