Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for liveObjects (0.49 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/managedfields/managedfieldstest/testfieldmanager.go

    // test them specifically.
    type TestFieldManager interface {
    	// APIVersion of the object that we're tracking.
    	APIVersion() string
    	// Reset resets the state of the liveObject by resetting it to an empty object.
    	Reset()
    	// Live returns a copy of the current liveObject.
    	Live() runtime.Object
    	// Apply applies the given object on top of the current liveObj, for the
    	// given manager and force flag.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 16 20:03:48 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/testing/testfieldmanager.go

    func (f *TestFieldManagerImpl) APIVersion() string {
    	return f.apiVersion
    }
    
    // Reset resets the state of the liveObject by resetting it to an empty object.
    func (f *TestFieldManagerImpl) Reset() {
    	f.liveObj = f.emptyObj.DeepCopyObject()
    }
    
    // Live returns a copy of the current liveObject.
    func (f *TestFieldManagerImpl) Live() runtime.Object {
    	return f.liveObj.DeepCopyObject()
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 16 20:03:48 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  3. src/internal/trace/traceviewer/static/trace_viewer_full.html

    slices){if(!slice instanceof tr.e.v8.V8GCStatsThreadSlice)continue;const liveObjects=slice.liveObjects;const deadObjects=slice.deadObjects;const isolate=liveObjects.isolate;const isolateEntry=new GroupedEntry('Isolate_'+isolate+' at '+slice.start.toFixed(3)+' ms',0,0,0,[],[]);const liveEntry=new GroupedEntry('live objects',0,0,0,[],[]);const deadEntry=new GroupedEntry('dead objects',0,0,0,[],[]);const liveBucketSize=liveObjects.bucket_sizes.length;const deadBucketSize=deadObjects.bucket_sizes.leng...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (1)
  4. staging/src/k8s.io/apimachinery/pkg/util/managedfields/fieldmanager_test.go

    		// should have been a no-op w.r.t. managed fields
    		t.Fatalf("managed fields changed: ORIGINAL\n%v\nCURRENT\n%v",
    			string(originalYAML), string(current))
    	}
    }
    
    // This test makes sure that the liveObject during a patch does not mutate
    // its managed fields.
    func TestLiveObjectManagedFieldsNotRemoved(t *testing.T) {
    	f := managedfieldstest.NewTestFieldManager(fakeTypeConverter,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 16 20:03:48 UTC 2023
    - 32.5K bytes
    - Viewed (0)
Back to top