Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for StatusDetails (0.42 sec)

  1. staging/src/k8s.io/apimachinery/pkg/api/errors/errors_test.go

    	}
    }
    
    func TestNewInvalid(t *testing.T) {
    	testCases := []struct {
    		Err     *field.Error
    		Details *metav1.StatusDetails
    		Msg     string
    	}{
    		{
    			field.Duplicate(field.NewPath("field[0].name"), "bar"),
    			&metav1.StatusDetails{
    				Kind: "Kind",
    				Name: "name",
    				Causes: []metav1.StatusCause{{
    					Type:  metav1.CauseTypeFieldValueDuplicate,
    					Field: "field[0].name",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/conflict_test.go

    				},
    			},
    			expected: &errors.StatusError{
    				ErrStatus: metav1.Status{
    					Status: metav1.StatusFailure,
    					Code:   http.StatusConflict,
    					Reason: metav1.StatusReasonConflict,
    					Details: &metav1.StatusDetails{
    						Causes: []metav1.StatusCause{
    							{
    								Type:    metav1.CauseTypeFieldManagerConflict,
    								Message: `conflict with "foo" using v1 at 2001-02-03T04:05:06Z`,
    								Field:   ".spec.replicas",
    							},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/zz_generated.deepcopy.go

    func (in *StatusDetails) DeepCopyInto(out *StatusDetails) {
    	*out = *in
    	if in.Causes != nil {
    		in, out := &in.Causes, &out.Causes
    		*out = make([]StatusCause, len(*in))
    		copy(*out, *in)
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusDetails.
    func (in *StatusDetails) DeepCopy() *StatusDetails {
    	if in == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 01 10:00:25 UTC 2023
    - 32.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/delete.go

    		// object with the response.
    		if result == nil {
    			result = &metav1.Status{
    				Status: metav1.StatusSuccess,
    				Code:   int32(status),
    				Details: &metav1.StatusDetails{
    					Name: name,
    					Kind: scope.Kind.Kind,
    				},
    			}
    		}
    
    		span.AddEvent("About to write a response")
    		defer span.AddEvent("Writing http response done")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 01 10:00:32 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/proxy/streamtranslator.go

    	rc := exitErr.ExitStatus()
    	return &apierrors.StatusError{
    		ErrStatus: metav1.Status{
    			Status: metav1.StatusFailure,
    			Reason: constants.NonZeroExitCodeReason,
    			Details: &metav1.StatusDetails{
    				Causes: []metav1.StatusCause{
    					{
    						Type:    constants.ExitCodeCauseType,
    						Message: fmt.Sprintf("%d", rc),
    					},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 23:21:55 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/generated.pb.go

    func (m *StatusDetails) Reset()      { *m = StatusDetails{} }
    func (*StatusDetails) ProtoMessage() {}
    func (*StatusDetails) Descriptor() ([]byte, []int) {
    	return fileDescriptor_a8431b6e0aeeb761, []int{36}
    }
    func (m *StatusDetails) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *StatusDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 281.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go

    	// the reason type.
    	// +optional
    	// +listType=atomic
    	Details *StatusDetails `json:"details,omitempty" protobuf:"bytes,5,opt,name=details"`
    	// Suggested HTTP return code for this status, 0 if not set.
    	// +optional
    	Code int32 `json:"code,omitempty" protobuf:"varint,6,opt,name=code"`
    }
    
    // StatusDetails is a set of additional properties that MAY be set by the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 10:52:25 UTC 2024
    - 79.2K bytes
    - Viewed (0)
  8. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // own extended details. This field is optional and the data returned
      // is not guaranteed to conform to any schema except that defined by
      // the reason type.
      // +optional
      optional StatusDetails details = 5;
    
      // Suggested HTTP return code for this status, 0 if not set.
      // +optional
      optional int32 code = 6;
    }
    
    // StatusCause provides more information about an api.Status failure, including
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // own extended details. This field is optional and the data returned
      // is not guaranteed to conform to any schema except that defined by
      // the reason type.
      // +optional
      // +listType=atomic
      optional StatusDetails details = 5;
    
      // Suggested HTTP return code for this status, 0 if not set.
      // +optional
      optional int32 code = 6;
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 53.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types_swagger_doc_generated.go

    }
    
    func (StatusCause) SwaggerDoc() map[string]string {
    	return map_StatusCause
    }
    
    var map_StatusDetails = map[string]string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 18:37:59 UTC 2023
    - 49.2K bytes
    - Viewed (0)
Back to top