Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DestroyFunc (0.24 sec)

  1. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store.go

    	// storageVersionHash as empty in the discovery document.
    	StorageVersioner runtime.GroupVersioner
    
    	// DestroyFunc cleans up clients used by the underlying Storage; optional.
    	// If set, DestroyFunc has to be implemented in thread-safe way and
    	// be prepared for being called more than once.
    	DestroyFunc func()
    }
    
    // Note: the rest.StandardStorage interface aggregates the common REST verbs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 23:22:44 UTC 2024
    - 60.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler.go

    	for _, crdInfo := range storageMap {
    		for _, storage := range crdInfo.storages {
    			// DestroyFunc have to be implemented in idempotent way,
    			// so the potential race with r.tearDown() (being called
    			// from a goroutine) is safe.
    			storage.CustomResource.DestroyFunc()
    		}
    	}
    }
    
    // GetCustomResourceListerCollectionDeleter returns the ListerCollectionDeleter of
    // the given crd.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 52.9K bytes
    - Viewed (0)
Back to top