Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 200 for could (0.15 sec)

  1. internal/s3select/sql/funceval.go

    		if !ok {
    			return 0, errCastFailure("could not parse as int")
    		}
    		return res, nil
    	case []byte:
    		// Parse as number, truncate floating point if
    		// needed.
    		// String might contain trimming spaces, which
    		// needs to be trimmed.
    		res, ok := strToInt(strings.TrimSpace(string(x)))
    		if !ok {
    			return 0, errCastFailure("could not parse as int")
    		}
    		return res, nil
    
    	default:
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 13.2K bytes
    - Viewed (0)
  2. internal/event/target/nats_contrib_test.go

    		Address: xnet.Host{
    			Name:      "localhost",
    			Port:      (xnet.Port(opts.Port)),
    			IsPortSet: true,
    		},
    		Subject: "test",
    	}
    	con, err := clientConfig.connectNats()
    	if err != nil {
    		t.Errorf("Could not connect to nats: %v", err)
    	}
    	defer con.Close()
    }
    
    func TestNatsConnUserPass(t *testing.T) {
    	opts := natsserver.DefaultTestOptions
    	opts.Port = 14223
    	opts.Username = "testminio"
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  3. cmd/admin-handlers-users_test.go

    	err = client.MakeBucket(ctx, getRandomBucketName(), minio.MakeBucketOptions{})
    	if err != nil {
    		c.Fatalf("user could not create bucket: %v", err)
    	}
    
    	// 4. Check that user can be disabled and verify it.
    	err = s.adm.SetUserStatus(ctx, accessKey, madmin.AccountDisabled)
    	if err != nil {
    		c.Fatalf("could not set user account to disabled")
    	}
    	usersMap, err = s.adm.ListUsers(ctx)
    	if err != nil {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  4. internal/config/identity/ldap/ldap.go

    		return 0, auth.ErrInvalidDuration
    	}
    	return dur, nil
    }
    
    // ParsesAsDN determines if the given string could be a valid DN based on
    // parsing alone.
    func (l Config) ParsesAsDN(dn string) bool {
    	_, err := ldap.ParseDN(dn)
    	return err == nil
    }
    
    // IsLDAPUserDN determines if the given string could be a user DN from LDAP.
    func (l Config) IsLDAPUserDN(user string) bool {
    	udn, err := ldap.ParseDN(user)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 18 15:15:02 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  5. cmd/callhome.go

    	}{Version: healthInfo.Version}
    
    	enc := json.NewEncoder(gzWriter)
    	if e := enc.Encode(header); e != nil {
    		internalLogIf(ctx, fmt.Errorf("Could not encode health info header: %w", e))
    		return nil
    	}
    
    	if e := enc.Encode(healthInfo); e != nil {
    		internalLogIf(ctx, fmt.Errorf("Could not encode health info: %w", e))
    		return nil
    	}
    
    	gzWriter.Flush()
    	gzWriter.Close()
    
    	return b.Bytes()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.1K bytes
    - Viewed (1)
  6. cmd/metacache-walk.go

    		}
    
    		if s.walkMu != nil {
    			s.walkMu.Lock()
    		}
    		entries, err := s.ListDir(ctx, "", opts.Bucket, current, -1)
    		if s.walkMu != nil {
    			s.walkMu.Unlock()
    		}
    		if err != nil {
    			// Folder could have gone away in-between
    			if err != errVolumeNotFound && err != errFileNotFound {
    				internalLogOnceIf(ctx, err, "metacache-walk-scan-dir")
    			}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  7. docs/bucket/replication/DESIGN.md

    An additional header `X-Minio-Replication-Delete-Status` is returned which would show `PENDING` or `FAILED` status if the replication is still not caught up.
    
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 14.7K bytes
    - Viewed (0)
  8. cmd/bucket-metadata-sys.go

    	if err != nil {
    		if errors.Is(err, errConfigNotFound) {
    			return nil, time.Time{}, BucketLifecycleNotFound{Bucket: bucket}
    		}
    		return nil, time.Time{}, err
    	}
    	// there could be just `ExpiryUpdatedAt` field populated as part
    	// of last delete all. Treat this situation as not lifecycle configuration
    	// available
    	if meta.lifecycleConfig == nil || len(meta.lifecycleConfig.Rules) == 0 {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  9. docs/LICENSE

    Section 8 -- Interpretation.
    
      a. For the avoidance of doubt, this Public License does not, and
         shall not be interpreted to, reduce, limit, restrict, or impose
         conditions on any use of the Licensed Material that could lawfully
         be made without permission under this Public License.
    
      b. To the extent possible, if any provision of this Public License is
         deemed unenforceable, it shall be automatically reformed to the
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon May 10 16:50:06 GMT 2021
    - 18.2K bytes
    - Viewed (0)
  10. internal/config/config.go

    			// Since the region sub-system cannot be (re)set as it
    			// is legacy, we return an error to tell the user to
    			// reset the region via the new command.
    			err = Errorf("could not load region from legacy configuration as it was invalid - use 'mc admin config set myminio site region=myregion name=myname' to set a region and name (%v)", err)
    			return
    		}
    
    		region = regionKV.Get(RegionName)
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
Back to top