Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 150 for TestOptions (0.33 sec)

  1. pkg/registry/autoscaling/horizontalpodautoscaler/storage/storage_test.go

    	etcdStorage, server := registrytest.NewEtcdStorage(t, autoscaling.GroupName)
    	restOptions := generic.RESTOptions{
    		StorageConfig:           etcdStorage,
    		Decorator:               generic.UndecoratedStorage,
    		DeleteCollectionWorkers: 1,
    		ResourcePrefix:          "horizontalpodautoscalers",
    	}
    	horizontalPodAutoscalerStorage, statusStorage, err := NewREST(restOptions)
    	if err != nil {
    		t.Fatalf("unexpected error from REST storage: %v", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  2. pkg/registry/resource/resourceclaim/storage/storage_test.go

    	etcdStorage, server := registrytest.NewEtcdStorage(t, resource.GroupName)
    	restOptions := generic.RESTOptions{
    		StorageConfig:           etcdStorage,
    		Decorator:               generic.UndecoratedStorage,
    		DeleteCollectionWorkers: 1,
    		ResourcePrefix:          "resourceclaims",
    	}
    	resourceClaimStorage, statusStorage, err := NewREST(restOptions)
    	if err != nil {
    		t.Fatalf("unexpected error from REST storage: %v", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  3. pkg/registry/scheduling/priorityclass/storage/storage_test.go

    	etcdStorage, server := registrytest.NewEtcdStorage(t, scheduling.GroupName)
    	restOptions := generic.RESTOptions{
    		StorageConfig:           etcdStorage,
    		Decorator:               generic.UndecoratedStorage,
    		DeleteCollectionWorkers: 1,
    		ResourcePrefix:          "priorityclasses",
    	}
    	rest, err := NewREST(restOptions)
    	if err != nil {
    		t.Fatalf("unable to create REST %v", err)
    	}
    	return rest, server
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 23 16:51:57 UTC 2019
    - 5.1K bytes
    - Viewed (0)
  4. pkg/registry/policy/poddisruptionbudget/storage/storage_test.go

    	etcdStorage, server := registrytest.NewEtcdStorage(t, policy.GroupName)
    	restOptions := generic.RESTOptions{StorageConfig: etcdStorage, Decorator: generic.UndecoratedStorage, DeleteCollectionWorkers: 1, ResourcePrefix: "poddisruptionbudgets"}
    	podDisruptionBudgetStorage, statusStorage, err := NewREST(restOptions)
    	if err != nil {
    		t.Fatalf("unexpected error from REST storage: %v", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:17:45 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  5. pkg/registry/resource/podschedulingcontext/storage/storage_test.go

    	etcdStorage, server := registrytest.NewEtcdStorage(t, resource.GroupName)
    	restOptions := generic.RESTOptions{
    		StorageConfig:           etcdStorage,
    		Decorator:               generic.UndecoratedStorage,
    		DeleteCollectionWorkers: 1,
    		ResourcePrefix:          "podschedulingcontexts",
    	}
    	podSchedulingStorage, statusStorage, err := NewREST(restOptions)
    	if err != nil {
    		t.Fatalf("unexpected error from REST storage: %v", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  6. pkg/registry/admissionregistration/validatingadmissionpolicybinding/storage/storage_test.go

    	restOptions := generic.RESTOptions{
    		StorageConfig:           etcdStorage,
    		Decorator:               generic.UndecoratedStorage,
    		DeleteCollectionWorkers: 1,
    		ResourcePrefix:          "validatingadmissionpolicybindings"}
    	storage, err := NewREST(restOptions, authorizer, policyGetter, resourceResolver)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 20 16:30:09 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  7. pkg/registry/storage/volumeattachment/storage/storage_test.go

    	etcdStorage, server := registrytest.NewEtcdStorage(t, storageapi.GroupName)
    	restOptions := generic.RESTOptions{
    		StorageConfig:           etcdStorage,
    		Decorator:               generic.UndecoratedStorage,
    		DeleteCollectionWorkers: 1,
    		ResourcePrefix:          "volumeattachments",
    	}
    	volumeAttachmentStorage, err := NewStorage(restOptions)
    	if err != nil {
    		t.Fatalf("unexpected error from REST storage: %v", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 6.2K bytes
    - Viewed (1)
  8. pkg/registry/core/serviceaccount/storage/storage_test.go

    	etcdStorage, server := registrytest.NewEtcdStorage(t, "")
    	restOptions := generic.RESTOptions{
    		StorageConfig:           etcdStorage,
    		Decorator:               generic.UndecoratedStorage,
    		DeleteCollectionWorkers: 1,
    		ResourcePrefix:          "serviceaccounts",
    	}
    	// set issuer, podStore and secretStore to allow the token endpoint to be initialised
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. pkg/registry/core/resourcequota/storage/storage_test.go

    	etcdStorage, server := registrytest.NewEtcdStorage(t, "")
    	restOptions := generic.RESTOptions{
    		StorageConfig:           etcdStorage,
    		Decorator:               generic.UndecoratedStorage,
    		DeleteCollectionWorkers: 1,
    		ResourcePrefix:          "resourcequotas",
    	}
    	resourceQuotaStorage, statusStorage, err := NewREST(restOptions)
    	if err != nil {
    		t.Fatalf("unexpected error from REST storage: %v", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/test/integration/objectmeta_test.go

    	restOptions, err := RESTOptionsGetter.GetRESTOptions(schema.GroupResource{Group: noxuDefinition.Spec.Group, Resource: noxuDefinition.Spec.Names.Plural})
    	if err != nil {
    		t.Fatal(err)
    	}
    	tlsInfo := transport.TLSInfo{
    		CertFile:      restOptions.StorageConfig.Transport.CertFile,
    		KeyFile:       restOptions.StorageConfig.Transport.KeyFile,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 06 05:32:34 UTC 2023
    - 19K bytes
    - Viewed (0)
Back to top