Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 138 for Dadd (0.12 sec)

  1. cmd/iam-etcd-store.go

    func etcdKvsToSet(prefix string, kvs []*mvccpb.KeyValue) set.StringSet {
    	users := set.NewStringSet()
    	for _, kv := range kvs {
    		user := extractPathPrefixAndSuffix(string(kv.Key), prefix, path.Base(string(kv.Key)))
    		users.Add(user)
    	}
    	return users
    }
    
    // Extract path string by stripping off the `prefix` value and the suffix,
    // value, usually in the following form.
    //
    //	s := "config/iam/users/foo/config.json"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  2. cmd/metrics-resource.go

    		for metric := range in {
    			labels, values := getOrderedLabelValueArrays(metric.VariableLabels)
    			collectMetric(metric, labels, values, "resource", out)
    		}
    	}
    
    	// Call peer api to fetch metrics
    	wg.Add(2)
    	go publish(ReportMetrics(GlobalContext, c.metricsGroups))
    	go publish(globalNotificationSys.GetResourceMetrics(GlobalContext))
    	wg.Wait()
    }
    
    // newMinioResourceCollector describes the collector
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  3. internal/event/target/elasticsearch.go

    	}
    	res, err := c.Index(
    		index,
    		&buf,
    		c.Index.WithContext(ctx),
    	)
    	if err != nil {
    		return err
    	}
    	defer xhttp.DrainBody(res.Body)
    	if res.IsError() {
    		return fmt.Errorf("Add err: %s", res.String())
    	}
    	return nil
    }
    
    func (c *esClientV7) stop() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 15K bytes
    - Viewed (0)
  4. cmd/api-router.go

    	apiRouter.Methods(http.MethodGet).Path(SlashSeparator + SlashSeparator).
    		HandlerFunc(s3APIMiddleware(api.ListBucketsHandler))
    
    	// If none of the routes match add default error handler routes
    	apiRouter.NotFoundHandler = collectAPIStats("notfound", httpTraceAll(errorResponseHandler))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  5. cmd/object-api-datatypes.go

    const (
    	Unknown = BackendType(madmin.Unknown)
    	// Filesystem backend.
    	BackendFS = BackendType(madmin.FS)
    	// Multi disk BackendErasure (single, distributed) backend.
    	BackendErasure = BackendType(madmin.Erasure)
    	// Add your own backend.
    )
    
    // StorageInfo - represents total capacity of underlying storage.
    type StorageInfo = madmin.StorageInfo
    
    // objectHistogramInterval is an interval that will be
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  6. cmd/erasure-healing-common_test.go

    			t.Errorf("Drive erroneously filtered, driveIndex: %d", diskIndex)
    		}
    	}
    
    	// Test 2: Not synchronized modtime
    	partsMetadataBackup := partsMetadata[0]
    	partsMetadata[0].ModTime = partsMetadata[0].ModTime.Add(-1 * time.Hour)
    
    	errs = make([]error, len(erasureDisks))
    	filteredDisks, _, _ = disksWithAllParts(ctx, erasureDisks, partsMetadata,
    		errs, fi, bucket, object, madmin.HealDeepScan)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
  7. cmd/metacache-entries.go

    		// shallow decode.
    		xl, err := entry.xlmeta()
    		if err != nil {
    			if !errors.Is(err, errFileNotFound) {
    				internalLogIf(GlobalContext, err)
    			}
    			continue
    		}
    		objsValid++
    
    		// Add all valid to candidates.
    		r.candidates = append(r.candidates, xl.versions)
    
    		// We select the first object we find as a candidate and see if all match that.
    		// This is to quickly identify if all agree.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  8. cmd/object-api-utils.go

    			return true
    		case path[r] == '.' && path[r+1] == '.' && (r+2 == n || path[r+2] == '/'):
    			// .. element: remove to last / - assume it has to be cleaned.
    			return true
    		default:
    			// real path element.
    			// add slash if needed
    			if rooted && w != 1 || !rooted && w != 0 {
    				w++
    			}
    			// copy element
    			for ; r < n && path[r] != '/'; r++ {
    				w++
    			}
    			// allow one slash, not at end
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  9. cmd/post-policy_test.go

    	t := UTCNow()
    	// Add the expiration date.
    	expirationStr := fmt.Sprintf(`"expiration": "%s"`, expiration.Format(iso8601TimeFormat))
    	// Add the bucket condition, only accept buckets equal to the one passed.
    	bucketConditionStr := fmt.Sprintf(`["eq", "$bucket", "%s"]`, bucketName)
    	// Add the key condition, only accept keys equal to the one passed.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/ztunnelserver.go

    	if latestConn == nil {
    		return fmt.Errorf("no ztunnel connection")
    	}
    	uid := string(pod.ObjectMeta.UID)
    
    	r := &zdsapi.WorkloadRequest{
    		Payload: &zdsapi.WorkloadRequest_Add{
    			Add: &zdsapi.AddWorkload{
    				WorkloadInfo: podToWorkload(pod),
    				Uid:          uid,
    			},
    		},
    	}
    	log.Infof("About to send added pod: %s to ztunnel: %+v", uid, r)
    	data, err := proto.Marshal(r)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
Back to top