Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for includeObject (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. staging/src/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: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 53.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/generated.pb.go

    }
    
    func (m *TableOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) {
    	i := len(dAtA)
    	_ = i
    	var l int
    	_ = l
    	i -= len(m.IncludeObject)
    	copy(dAtA[i:], m.IncludeObject)
    	i = encodeVarintGenerated(dAtA, i, uint64(len(m.IncludeObject)))
    	i--
    	dAtA[i] = 0xa
    	return len(dAtA) - i, nil
    }
    
    func (m *Timestamp) Marshal() (dAtA []byte, err error) {
    	size := m.Size()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 281.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/generated/openapi/zz_generated.openapi.go

    							Type:        []string{"string"},
    							Format:      "",
    						},
    					},
    					"includeObject": {
    						SchemaProps: spec.SchemaProps{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:17 UTC 2024
    - 329.7K bytes
    - Viewed (0)
  9. pkg/controller/garbagecollector/garbagecollector_test.go

    	for _, scenario := range testScenarios {
    		t.Run(scenario.name, func(t *testing.T) {
    
    			absentOwnerCache := NewReferenceCache(100)
    
    			eventRecorder := record.NewFakeRecorder(100)
    			eventRecorder.IncludeObject = true
    
    			metadataClient := fakemetadata.NewSimpleMetadataClient(fakemetadata.NewTestScheme())
    
    			tweakableRM := meta.NewDefaultRESTMapper(nil)
    			tweakableRM.AddSpecific(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.8.md

    it) will be of type `meta.k8s.io/v1alpha1` with `Table`, and contain column and row information related to the resource.  Each row will contain information about the resource - by default it will be the object metadata, but callers can add the `?includeObject=Object` query parameter and receive the full object.  In the future kubectl will use this to retrieve the results of `kubectl get`. ([#40848](https://github.com/kubernetes/kubernetes/pull/40848), [@smarterclayton](https://github.com/smarterclayton))...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 312.2K bytes
    - Viewed (0)
Back to top