Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 206 for NewTest (0.26 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/fifo_list.go

    // The returned value is the element removed, if indeed one was removed,
    // otherwise `nil`.
    type removeFromFIFOFunc func() *request
    
    // walkFunc is called for each request in the list in the
    // oldest -> newest order.
    // ok: if walkFunc returns false then the iteration stops immediately.
    // walkFunc may remove the given request from the fifo,
    // but may not mutate the fifo in any othe way.
    type walkFunc func(*request) (ok bool)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 20 16:05:53 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresourcedefinition/etcd.go

    	"sigs.k8s.io/structured-merge-diff/v4/fieldpath"
    )
    
    // rest implements a RESTStorage for API services against etcd
    type REST struct {
    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work against API services.
    func NewREST(scheme *runtime.Scheme, optsGetter generic.RESTOptionsGetter) (*REST, error) {
    	strategy := NewStrategy(scheme)
    
    	store := &genericregistry.Store{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:19 UTC 2022
    - 8K bytes
    - Viewed (0)
  3. pkg/registry/storagemigration/rest/storage_storagemigration.go

    		if utilfeature.DefaultFeatureGate.Enabled(features.StorageVersionMigrator) {
    			svm, svmStatus, err := storagemigrationstore.NewREST(restOptionsGetter)
    			if err != nil {
    				return nil, err
    			}
    			storage[resource] = svm
    			storage[resource+"/status"] = svmStatus
    		} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. pkg/registry/events/rest/storage_events.go

    	storage := map[string]rest.Storage{}
    
    	// events
    	if resource := "events"; apiResourceConfigSource.ResourceEnabled(eventsapiv1.SchemeGroupVersion.WithResource(resource)) {
    		eventsStorage, err := eventstore.NewREST(restOptionsGetter, uint64(p.TTL.Seconds()))
    		if err != nil {
    			return storage, err
    		}
    		storage[resource] = eventsStorage
    	}
    
    	return storage, nil
    }
    
    func (p RESTStorageProvider) GroupName() string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 28 06:58:59 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. pkg/registry/authorization/subjectaccessreview/rest.go

    	authorizationvalidation "k8s.io/kubernetes/pkg/apis/authorization/validation"
    	authorizationutil "k8s.io/kubernetes/pkg/registry/authorization/util"
    )
    
    type REST struct {
    	authorizer authorizer.Authorizer
    }
    
    func NewREST(authorizer authorizer.Authorizer) *REST {
    	return &REST{authorizer}
    }
    
    func (r *REST) NamespaceScoped() bool {
    	return false
    }
    
    func (r *REST) New() runtime.Object {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  6. pkg/registry/discovery/rest/storage_discovery.go

    	storage := map[string]rest.Storage{}
    
    	if resource := "endpointslices"; apiResourceConfigSource.ResourceEnabled(discoveryv1.SchemeGroupVersion.WithResource(resource)) {
    		endpointSliceStorage, err := endpointslicestorage.NewREST(restOptionsGetter)
    		if err != nil {
    			return storage, err
    		}
    		storage[resource] = endpointSliceStorage
    	}
    
    	return storage, nil
    }
    
    // GroupName is the group name for the storage provider.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 30 11:21:46 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  7. pkg/registry/coordination/rest/storage_coordination.go

    	storage := map[string]rest.Storage{}
    
    	// leases
    	if resource := "leases"; apiResourceConfigSource.ResourceEnabled(coordinationv1.SchemeGroupVersion.WithResource(resource)) {
    		leaseStorage, err := leasestorage.NewREST(restOptionsGetter)
    		if err != nil {
    			return storage, err
    		}
    		storage[resource] = leaseStorage
    	}
    	return storage, nil
    }
    
    func (p RESTStorageProvider) GroupName() string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 23 18:36:33 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  8. pkg/registry/apiserverinternal/rest/storage.go

    	storage := map[string]rest.Storage{}
    
    	if resource := "storageversions"; apiResourceConfigSource.ResourceEnabled(apiserverv1alpha1.SchemeGroupVersion.WithResource(resource)) {
    		s, status, err := storageversionstorage.NewREST(restOptionsGetter)
    		if err != nil {
    			return nil, err
    		}
    		storage[resource] = s
    		storage[resource+"/status"] = status
    	}
    
    	return storage, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 23 18:36:33 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  9. pkg/registry/authorization/selfsubjectaccessreview/rest.go

    	authorizationvalidation "k8s.io/kubernetes/pkg/apis/authorization/validation"
    	authorizationutil "k8s.io/kubernetes/pkg/registry/authorization/util"
    )
    
    type REST struct {
    	authorizer authorizer.Authorizer
    }
    
    func NewREST(authorizer authorizer.Authorizer) *REST {
    	return &REST{authorizer}
    }
    
    func (r *REST) NamespaceScoped() bool {
    	return false
    }
    
    func (r *REST) New() runtime.Object {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGFailFastIntegrationTest.groovy

    import org.gradle.integtests.fixtures.TargetCoverage
    import org.gradle.testing.AbstractJvmFailFastIntegrationSpec
    import org.gradle.testing.fixture.TestNGCoverage
    import org.hamcrest.CoreMatchers
    
    @TargetCoverage({ [TestNGCoverage.NEWEST] })
    class TestNGFailFastIntegrationTest extends AbstractJvmFailFastIntegrationSpec implements TestNGMultiVersionTest {
    
        def "parallel #parallel execution with #threadCount threads, #maxWorkers workers fails fast"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top