Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for apiStatus (0.41 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/skipnonapplied_test.go

    	}
    
    	err := f.Apply(appliedObj, "fieldmanager_test_apply", false)
    	apiStatus, _ := err.(apierrors.APIStatus)
    	if err == nil || !apierrors.IsConflict(err) || len(apiStatus.Status().Details.Causes) != 1 {
    		t.Fatalf("Expecting to get one conflict but got %v", err)
    	}
    
    	if e, a := ".metadata.labels.app", apiStatus.Status().Details.Causes[0].Field; e != a {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 16 20:03:48 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/predicates/namespace/matcher.go

    	}
    
    	namespaceLabels, err := m.GetNamespaceLabels(attr)
    	// this means the namespace is not found, for backwards compatibility,
    	// return a 404
    	if apierrors.IsNotFound(err) {
    		status, ok := err.(apierrors.APIStatus)
    		if !ok {
    			return false, apierrors.NewInternalError(err)
    		}
    		return false, &apierrors.StatusError{ErrStatus: status.Status()}
    	}
    	if err != nil {
    		return false, apierrors.NewInternalError(err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 15 00:53:08 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
Back to top