Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 41 for listen (0.15 sec)

  1. cmd/metacache-walk.go

    		objReturned(entry.metadata)
    		select {
    		case <-ctx.Done():
    			return ctx.Err()
    		case out <- entry:
    		}
    		return nil
    	}
    
    	// Fast exit track to check if we are listing an object with
    	// a trailing slash, this will avoid to list the object content.
    	if HasSuffix(opts.BaseDir, SlashSeparator) {
    		metadata, err := s.readMetadata(ctx, pathJoin(volumeDir,
    			opts.BaseDir[:len(opts.BaseDir)-1]+globalDirSuffix,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users_test.go

    	if err != nil {
    		c.Fatalf("Unable to set user: %v", err)
    	}
    
    	// 2. Check new user appears in listing
    	usersMap, err := s.adm.ListUsers(ctx)
    	if err != nil {
    		c.Fatalf("error listing: %v", err)
    	}
    	v, ok := usersMap[accessKey]
    	if !ok {
    		c.Fatalf("user not listed: %s", accessKey)
    	}
    	c.Assert(v.Status, madmin.AccountEnabled)
    
    	// 3. Associate policy and check that user can access
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  3. cmd/object-api-interface.go

    	LatestOnly   bool                     // returns only latest versions for all matching objects
    	AskDisks     string                   // dictates how many disks are being listed
    	VersionsSort WalkVersionsSortOrder    // sort order for versions of the same object; default: Ascending order in ModTime
    }
    
    // ExpirationOptions represents object options for object expiration at objectLayer.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 17K bytes
    - Viewed (0)
  4. cmd/erasure-multipart.go

    		})
    		if len(result.Parts) >= maxParts {
    			break
    		}
    	}
    
    	// If listed entries are more than maxParts, we set IsTruncated as true.
    	if len(parts) > len(result.Parts) {
    		result.IsTruncated = true
    		// Make sure to fill next part number marker if IsTruncated is
    		// true for subsequent listing.
    		nextPartNumberMarker := result.Parts[len(result.Parts)-1].PartNumber
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  5. cmd/event-notification.go

    		return arns
    	}
    	region := globalSite.Region
    	for targetID, target := range evnot.targetList.TargetMap() {
    		// httpclient target is part of ListenNotification
    		// which doesn't need to be listed as part of the ARN list
    		// This list is only meant for external targets, filter
    		// this out pro-actively.
    		if !strings.HasPrefix(targetID.ID, "httpclient+") {
    			if onlyActive {
    				if _, err := target.IsActive(); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  6. cmd/metacache-set.go

    	"github.com/minio/pkg/v2/console"
    )
    
    //go:generate msgp -file $GOFILE -unexported
    
    type listPathOptions struct {
    	// ID of the listing.
    	// This will be used to persist the list.
    	ID string
    
    	// Bucket of the listing.
    	Bucket string
    
    	// Directory inside the bucket.
    	// When unset listPath will set this based on Prefix
    	BaseDir string
    
    	// Scan/return only content with prefix.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:59:08 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  7. internal/config/identity/ldap/ldap.go

    // nil.
    //
    // If the DN is not found, the string returned is empty and the error is nil.
    //
    // The returned boolean is true iff the DN is found under one of the LDAP
    // subtrees listed in `baseDNList`.
    func (l *Config) GetValidatedDNUnderBaseDN(conn *ldap.Conn, dn string, baseDNList []xldap.BaseDNInfo) (string, bool, error) {
    	if len(baseDNList) == 0 {
    		return "", false, errors.New("no Base DNs given")
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  8. docs/metrics/prometheus/alerts.md

        target_match:
          severity: 'warning'
        equal: ['alertname', 'dev', 'instance']
    ```
    
    This sample configuration uses a `webhook` at http://127.0.0.1:8010/webhook to post the alerts.
    Start the AlertManager and it listens on port `9093` by default. Make sure your webhook is up and listening for the alerts.
    
    ## Configure Prometheus to use AlertManager
    
    Add below section to your `prometheus.yml`
    ```yaml
    alerting:
      alertmanagers:
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 28 20:53:59 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  9. cmd/background-newdisks-heal-ops.go

    		}
    		if t.HealID == tracker.HealID {
    			t.delete(ctx)
    		}
    	}
    
    	return nil
    }
    
    // monitorLocalDisksAndHeal - ensures that detected new disks are healed
    //  1. Only the concerned erasure set will be listed and healed
    //  2. Only the node hosting the disk is responsible to perform the heal
    func monitorLocalDisksAndHeal(ctx context.Context, z *erasureServerPools) {
    	// Perform automatic disk healing when a disk is replaced locally.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  10. cmd/object-handlers_test.go

    		t.Fatalf("[%s] - Failed to create an unsigned request to list object parts for bucket %s, uploadId %s",
    			instanceType, bucketName, mpartResp.UploadID)
    	}
    
    	req.Header = http.Header{}
    	err = preSignV2(req, credentials.AccessKey, credentials.SecretKey, int64(10*60*60))
    	if err != nil {
    		t.Fatalf("[%s] - Failed to presignV2 an unsigned request to list object parts for bucket %s, uploadId %s",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
Back to top