Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 85 for albers (0.15 sec)

  1. cmd/metrics-resource.go

    				updateResourceMetrics(memSubsystem, memFree, float64(stats.Free), labels, false)
    				updateResourceMetrics(memSubsystem, memShared, float64(stats.Shared), labels, false)
    				updateResourceMetrics(memSubsystem, memBuffers, float64(stats.Buffers), labels, false)
    				updateResourceMetrics(memSubsystem, memAvailable, float64(stats.Available), labels, false)
    				updateResourceMetrics(memSubsystem, memCache, float64(stats.Cache), labels, false)
    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)
  2. cmd/metrics-v3-handler.go

    	Type   string   `json:"type"`
    	Labels []string `json:"labels"`
    }
    
    func (md metricDisplay) String() string {
    	return fmt.Sprintf("Name: %s\nType: %s\nHelp: %s\nLabels: {%s}\n", md.Name, md.Type, md.Help, strings.Join(md.Labels, ","))
    }
    
    func (md metricDisplay) TableRow() string {
    	labels := strings.Join(md.Labels, ",")
    	if labels == "" {
    		labels = ""
    	} else {
    		labels = "`" + labels + "`"
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  3. istioctl/pkg/checkinject/checkinject.go

    			if selector == nil {
    				return nil
    			}
    			labels := make([]string, 0)
    			for _, me := range selector.MatchExpressions {
    				if me.Operator != metav1.LabelSelectorOpIn {
    					continue
    				}
    				for _, v := range me.Values {
    					labels = append(labels, fmt.Sprintf("%s=%s", me.Key, v))
    				}
    			}
    			return labels
    		}
    
    		var isDeactivated bool
    		for _, wh := range whs {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  4. istioctl/pkg/util/handlers/handlers.go

    func SelectorsForObject(object runtime.Object) (namespace string, selector labels.Selector, err error) {
    	switch t := object.(type) {
    	case *gatewayapi.Gateway:
    		if !gateway.IsManaged(&t.Spec) {
    			return "", nil, fmt.Errorf("gateway is not a managed gateway")
    		}
    		namespace = t.Namespace
    		selector, err = labels.Parse(constants.GatewayNameLabel + "=" + t.Name)
    	case *gatewayapibeta.Gateway:
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 06 15:01:41 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  5. istioctl/pkg/waypoint/waypoint_test.go

    }
    
    func makeGatewayWithRevision(name, namespace string, programmed, isWaypoint bool, rev string) *gateway.Gateway {
    	gw := makeGateway(name, namespace, programmed, isWaypoint)
    	if gw.Labels == nil {
    		gw.Labels = make(map[string]string)
    	}
    	gw.Labels[label.IoIstioRev.Name] = rev
    	return gw
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 04 15:53:09 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  6. istioctl/pkg/admin/istiodconfig_test.go

    	switch request.Method {
    	case http.MethodGet:
    		_, _ = writer.Write([]byte(getResponse))
    	}
    }
    
    func adsHandler(writer http.ResponseWriter, request *http.Request) {
    	const getResponse = `{"name":"ads","description":"ads debugging","output_level":"info","stack_trace_level":"none","log_callers":false}`
    
    	switch request.Method {
    	case http.MethodGet:
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  7. internal/hash/reader.go

    	MD5Hex     string
    	SHA256Hex  string
    	Size       int64
    	ActualSize int64
    	DisableMD5 bool
    	ForceMD5   []byte
    }
    
    // NewReaderWithOpts is like NewReader but takes `Options` as argument, allowing
    // callers to indicate if they want to disable md5sum checksum.
    func NewReaderWithOpts(ctx context.Context, src io.Reader, opts Options) (*Reader, error) {
    	// return hard limited reader
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.8K bytes
    - Viewed (0)
  8. utils/utils.go

    }
    
    // FileWithLineNum return the file name and line number of the current file
    func FileWithLineNum() string {
    	pcs := [13]uintptr{}
    	// the third caller usually from gorm internal
    	len := runtime.Callers(3, pcs[:])
    	frames := runtime.CallersFrames(pcs[:len])
    	for i := 0; i < len; i++ {
    		// second return value is "more", not "ok"
    		frame, _ := frames.Next()
    		if (!strings.HasPrefix(frame.File, gormSourceDir) ||
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 22 06:43:02 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  9. internal/config/constants.go

    	EnvMinIOLogQueryAuthToken     = "MINIO_LOG_QUERY_AUTH_TOKEN"
    	EnvMinIOPrometheusURL         = "MINIO_PROMETHEUS_URL"
    	EnvMinIOPrometheusJobID       = "MINIO_PROMETHEUS_JOB_ID"
    	EnvMinIOPrometheusExtraLabels = "MINIO_PROMETHEUS_EXTRA_LABELS"
    	EnvMinIOPrometheusAuthToken   = "MINIO_PROMETHEUS_AUTH_TOKEN"
    
    	EnvUpdate = "MINIO_UPDATE"
    
    	EnvEndpoints  = "MINIO_ENDPOINTS"   // legacy
    	EnvWorm       = "MINIO_WORM"        // legacy
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 01 16:36:33 GMT 2024
    - 3.4K bytes
    - Viewed (3)
  10. istioctl/pkg/workload/workload_test.go

    `
    
    	customYAML = `apiVersion: networking.istio.io/v1alpha3
    kind: WorkloadGroup
    metadata:
      name: foo
      namespace: bar
    spec:
      metadata:
        annotations:
          annotation: foobar
        labels:
          app: foo
          bar: baz
      template:
        ports:
          grpc: 3550
          http: 8080
        serviceAccount: test
    `
    )
    
    type testcase struct {
    	description       string
    	expectedException bool
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
Back to top