Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for includeObject (0.24 sec)

  1. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1beta1/validation/validation.go

    func ValidateTableOptions(opts *metav1.TableOptions) field.ErrorList {
    	var allErrs field.ErrorList
    	switch opts.IncludeObject {
    	case metav1.IncludeMetadata, metav1.IncludeNone, metav1.IncludeObject, "":
    	default:
    		allErrs = append(allErrs, field.Invalid(field.NewPath("includeObject"), opts.IncludeObject, "must be 'Metadata', 'Object', 'None', or empty"))
    	}
    	return allErrs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 26 18:18:18 UTC 2019
    - 1.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/ClassIterator.java

         * @param clazz
         *            クラス。{@literal null}であってはいけません
         * @param includeObject
         *            {@link Object}クラスも反復する場合は {@literal true}
         * @return {@link ClassIterator}をラップした{@link Iterable}
         */
        public static Iterable<Class<?>> iterable(final Class<?> clazz, final boolean includeObject) {
            return () -> new ClassIterator(clazz, includeObject);
        }
    
        /**
         * インスタンスを構築します。
         *
         * @param clazz
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1beta1/types.go

    	ConditionTrue    = v1.ConditionTrue
    	ConditionFalse   = v1.ConditionFalse
    	ConditionUnknown = v1.ConditionUnknown
    
    	IncludeNone     = v1.IncludeNone
    	IncludeMetadata = v1.IncludeMetadata
    	IncludeObject   = v1.IncludeObject
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 29 00:35:16 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/validation/validation.go

    func ValidateTableOptions(opts *metav1.TableOptions) field.ErrorList {
    	var allErrs field.ErrorList
    	switch opts.IncludeObject {
    	case metav1.IncludeMetadata, metav1.IncludeNone, metav1.IncludeObject, "":
    	default:
    		allErrs = append(allErrs, field.Invalid(field.NewPath("includeObject"), opts.IncludeObject, "must be 'Metadata', 'Object', 'None', or empty"))
    	}
    	return allErrs
    }
    
    const MaxSubresourceNameLength = 256
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 01:52:02 UTC 2022
    - 13.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/response.go

    	if err != nil {
    		return nil, err
    	}
    
    	table := (*metav1.Table)(obj)
    
    	for i := range table.Rows {
    		item := &table.Rows[i]
    		switch opts.IncludeObject {
    		case metav1.IncludeObject:
    			item.Object.Object, err = scope.Convertor.ConvertToVersion(item.Object.Object, scope.Kind.GroupVersion())
    			if err != nil {
    				return nil, err
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 18 09:07:03 UTC 2023
    - 16.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/zz_generated.conversion.go

    			return err
    		}
    	} else {
    		out.NoHeaders = false
    	}
    	if values, ok := map[string][]string(*in)["includeObject"]; ok && len(values) > 0 {
    		if err := Convert_Slice_string_To_v1_IncludeObjectPolicy(&values, &out.IncludeObject, s); err != nil {
    			return err
    		}
    	} else {
    		out.IncludeObject = ""
    	}
    	return nil
    }
    
    // Convert_url_Values_To_v1_TableOptions is an autogenerated conversion function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 01 10:00:25 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/response_test.go

    			expectedObj: podMeta,
    			expectedErr: nil,
    		},
    		{
    			desc:        "cacheableObject as Table",
    			object:      &mockCacheableObject{obj: pod},
    			opts:        &metav1beta1.TableOptions{NoHeaders: true, IncludeObject: metav1.IncludeNone},
    			target:      &tableGVK,
    			expectedObj: podTable,
    			expectedErr: nil,
    		},
    	}
    
    	for _, test := range testCases {
    		t.Run(test.desc, func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 18 09:07:03 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go

    	IncludeNone IncludeObjectPolicy = "None"
    	// IncludeMetadata serializes the object containing only its metadata field.
    	IncludeMetadata IncludeObjectPolicy = "Metadata"
    	// IncludeObject contains the full object.
    	IncludeObject IncludeObjectPolicy = "Object"
    )
    
    // TableOptions are used when a Table is requested by the caller.
    // +k8s:conversion-gen:explicit-from=net/url.Values
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 10:52:25 UTC 2024
    - 79.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types_swagger_doc_generated.go

    	return map_TableColumnDefinition
    }
    
    var map_TableOptions = map[string]string{
    	"":              "TableOptions are used when a Table is requested by the caller.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 18:37:59 UTC 2023
    - 49.2K bytes
    - Viewed (0)
  10. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

    }
    
    // TableOptions are used when a Table is requested by the caller.
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    message TableOptions {
      // includeObject decides whether to include each object along with its columnar information.
      // Specifying "None" will return no object, specifying "Object" will return the full object contents, and
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 53.3K bytes
    - Viewed (0)
Back to top