Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for apiStatus (0.29 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    	}
    	if !strings.Contains(err.Error(), "The provided continue parameter is too old ") {
    		t.Fatalf("unexpected error message %v", err)
    	}
    	status, ok := err.(apierrors.APIStatus)
    	if !ok {
    		t.Fatalf("expect error of implements the APIStatus interface, got %v", reflect.TypeOf(err))
    	}
    	inconsistentContinueFromSecondItem := status.Status().ListMeta.Continue
    	if len(inconsistentContinueFromSecondItem) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    				}
    			}
    		})
    	}
    }
    
    func isQualifiedResource(err error, kind, group string) bool {
    	if err.(errors.APIStatus).Status().Details.Kind != kind || err.(errors.APIStatus).Status().Details.Group != group {
    		return false
    	}
    	return true
    }
    
    func updateAndVerify(t *testing.T, ctx context.Context, registry *Store, pod *example.Pod) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_pods.go

    		if s.Phase != pod.Status.Phase {
    			klog.ErrorS(nil, "Pod attempted illegal phase transition", "pod", klog.KObj(pod), "originalStatusPhase", pod.Status.Phase, "apiStatusPhase", s.Phase, "apiStatus", s)
    			// Force back to phase from the API server
    			s.Phase = pod.Status.Phase
    		}
    	}
    
    	// ensure the probe managers have up to date status for containers
    	kl.probeManager.UpdatePodStatus(pod, s)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  4. cmd/metrics-v3-api.go

    	for name, value := range httpStats.CurrentS3Requests.APIStats {
    		m.Set(apiRequestsInFlightTotal, float64(value), "name", name, "type", "s3")
    	}
    	for name, value := range httpStats.TotalS3Requests.APIStats {
    		m.Set(apiRequestsTotal, float64(value), "name", name, "type", "s3")
    	}
    	for name, value := range httpStats.TotalS3Errors.APIStats {
    		m.Set(apiRequestsErrorsTotal, float64(value), "name", name, "type", "s3")
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 07:41:18 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. cmd/http-stats.go

    	if stats == nil {
    		return map[string]int{}
    	}
    
    	stats.RLock()
    	defer stats.RUnlock()
    
    	apiStats := make(map[string]int, len(stats.apiStats))
    	for k, v := range stats.apiStats {
    		if toLower {
    			k = strings.ToLower(k)
    		}
    		apiStats[k] = v
    	}
    	return apiStats
    }
    
    // HTTPStats holds statistics information about
    // HTTP requests made by all clients
    type HTTPStats struct {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 06:25:13 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. cmd/metrics.go

    		ch <- prometheus.MustNewConstMetric(
    			prometheus.NewDesc(
    				prometheus.BuildFQName(s3Namespace, "errors", "total"),
    				"Total number of s3 errors in current MinIO server instance",
    				[]string{"api"}, nil),
    			prometheus.CounterValue,
    			float64(value),
    			api,
    		)
    	}
    
    	for api, value := range httpStats.TotalS3Canceled.APIStats {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. src/net/http/fcgi/fcgi.go

    		return err
    	}
    	_, err := c.rwc.Write(c.buf.Bytes())
    	return err
    }
    
    func (c *conn) writeEndRequest(reqId uint16, appStatus int, protocolStatus uint8) error {
    	b := make([]byte, 8)
    	binary.BigEndian.PutUint32(b, uint32(appStatus))
    	b[4] = protocolStatus
    	return c.writeRecord(typeEndRequest, reqId, b)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 11 18:51:39 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  8. cmd/metrics-v2.go

    			httpStats := globalHTTPStats.toServerHTTPStats(true)
    			metrics = make([]MetricV2, 0, 3+
    				len(httpStats.CurrentS3Requests.APIStats)+
    				len(httpStats.TotalS3Requests.APIStats)+
    				len(httpStats.TotalS3Errors.APIStats)+
    				len(httpStats.TotalS35xxErrors.APIStats)+
    				len(httpStats.TotalS34xxErrors.APIStats))
    			metrics = append(metrics, MetricV2{
    				Description: getS3RejectedAuthRequestsTotalMD(),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  9. cmd/admin-handlers.go

    	s3OutputBytes        uint64
    }
    
    // ServerHTTPAPIStats holds total number of HTTP operations from/to the server,
    // including the average duration the call was spent.
    type ServerHTTPAPIStats struct {
    	APIStats map[string]int `json:"apiStats"`
    }
    
    // ServerHTTPStats holds all type of http operations performed to/from the server
    // including their average execution time.
    type ServerHTTPStats struct {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
Back to top