Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 221 for nilfunc (0.17 sec)

  1. pkg/registry/storage/csidriver/storage/storage.go

    }
    
    // NewStorage returns a RESTStorage object that will work against CSIDrivers
    func NewStorage(optsGetter generic.RESTOptionsGetter) (*CSIDriverStorage, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &storageapi.CSIDriver{} },
    		NewListFunc:               func() runtime.Object { return &storageapi.CSIDriverList{} },
    		DefaultQualifiedResource:  storageapi.Resource("csidrivers"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  2. src/cmd/link/internal/amd64/asm.go

    	"log"
    )
    
    func PADDR(x uint32) uint32 {
    	return x &^ 0x80000000
    }
    
    func gentext(ctxt *ld.Link, ldr *loader.Loader) {
    	initfunc, addmoduledata := ld.PrepareAddmoduledata(ctxt)
    	if initfunc == nil {
    		return
    	}
    
    	o := func(op ...uint8) {
    		for _, op1 := range op {
    			initfunc.AddUint8(op1)
    		}
    	}
    
    	// 0000000000000000 <local.dso_init>:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 21K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    	newFunc := func() runtime.Object { return &example.Pod{} }
    	newListFunc := func() runtime.Object { return &example.PodList{} }
    
    	sc.Codec = apitesting.TestStorageCodec(codecs, examplev1.SchemeGroupVersion)
    	s, dFunc, err := factory.Create(*sc.ForResource(schema.GroupResource{Resource: "pods"}), newFunc, newListFunc, "/pods")
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go

    		pathPrefix += "/"
    	}
    
    	w := &watcher{
    		client:        c,
    		codec:         codec,
    		newFunc:       newFunc,
    		groupResource: groupResource,
    		versioner:     versioner,
    		transformer:   transformer,
    	}
    	if newFunc == nil {
    		w.objectType = "<unknown>"
    	} else {
    		w.objectType = reflect.TypeOf(newFunc()).String()
    	}
    	s := &store{
    		client:              c,
    		codec:               codec,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  5. cmd/kube-controller-manager/app/storageversionmigrator.go

    )
    
    func newStorageVersionMigratorControllerDescriptor() *ControllerDescriptor {
    	return &ControllerDescriptor{
    		name:     names.StorageVersionMigratorController,
    		aliases:  []string{"svm"},
    		initFunc: startSVMController,
    	}
    }
    
    func startSVMController(
    	ctx context.Context,
    	controllerContext ControllerContext,
    	controllerName string,
    ) (controller.Interface, bool, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 19:25:10 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. cmd/kube-controller-manager/app/autoscaling.go

    )
    
    func newHorizontalPodAutoscalerControllerDescriptor() *ControllerDescriptor {
    	return &ControllerDescriptor{
    		name:     names.HorizontalPodAutoscalerController,
    		aliases:  []string{"horizontalpodautoscaling"},
    		initFunc: startHorizontalPodAutoscalerControllerWithRESTClient,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 01:37:36 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. src/go/types/object.go

    	origin      *Func // if non-nil, the Func from which this one was instantiated
    }
    
    // NewFunc returns a new function with the given signature, representing
    // the function's type.
    func NewFunc(pos token.Pos, pkg *Package, name string, sig *Signature) *Func {
    	var typ Type
    	if sig != nil {
    		typ = sig
    	} else {
    		// Don't store a (typed) nil *Signature.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/etcd3/watcher.go

    	if opts.Recursive && !strings.HasSuffix(key, "/") {
    		key += "/"
    	}
    	if opts.ProgressNotify && w.newFunc == nil {
    		return nil, apierrors.NewInternalError(errors.New("progressNotify for watch is unsupported by the etcd storage because no newFunc was provided"))
    	}
    	startWatchRV, err := w.getStartWatchResourceVersion(ctx, rev, opts)
    	if err != nil {
    		return nil, err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 10:26:38 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  9. pkg/registry/resource/resourceclaim/storage/storage.go

    }
    
    // NewREST returns a RESTStorage object that will work against ResourceClaims.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &resource.ResourceClaim{} },
    		NewListFunc:               func() runtime.Object { return &resource.ResourceClaimList{} },
    		PredicateFunc:             resourceclaim.Match,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 10:11:16 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  10. pkg/registry/policy/poddisruptionbudget/storage/storage.go

    }
    
    // NewREST returns a RESTStorage object that will work against pod disruption budgets.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &policyapi.PodDisruptionBudget{} },
    		NewListFunc:               func() runtime.Object { return &policyapi.PodDisruptionBudgetList{} },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:19 UTC 2022
    - 4.2K bytes
    - Viewed (0)
Back to top