Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 249 for perfunc (0.17 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/storagebackend/factory/factory.go

    func Create(c storagebackend.ConfigForResource, newFunc, newListFunc func() runtime.Object, resourcePrefix string) (storage.Interface, DestroyFunc, error) {
    	switch c.Type {
    	case storagebackend.StorageTypeETCD2:
    		return nil, nil, fmt.Errorf("%s is no longer a supported storage backend", c.Type)
    	case storagebackend.StorageTypeUnset, storagebackend.StorageTypeETCD3:
    		return newETCD3Storage(c, newFunc, newListFunc, resourcePrefix)
    	default:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go

    // SharedInformerFactory a small interface to allow for adding an informer without an import cycle
    type SharedInformerFactory interface {
    	Start(stopCh <-chan struct{})
    	InformerFor(obj runtime.Object, newFunc NewInformerFunc) cache.SharedIndexInformer
    }
    
    // TweakListOptionsFunc is a function that transforms a v1.ListOptions.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 16 22:25:28 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  3. pkg/registry/rbac/role/storage/storage.go

    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work against Role objects.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &rbac.Role{} },
    		NewListFunc:               func() runtime.Object { return &rbac.RoleList{} },
    		DefaultQualifiedResource:  rbac.Resource("roles"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  4. pkg/registry/core/pod/storage/storage.go

    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &api.Pod{} },
    		NewListFunc:               func() runtime.Object { return &api.PodList{} },
    		PredicateFunc:             registrypod.MatchPod,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 20 14:29:25 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  5. pkg/registry/core/secret/storage/storage.go

    type REST struct {
    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work against secrets.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &api.Secret{} },
    		NewListFunc:               func() runtime.Object { return &api.SecretList{} },
    		PredicateFunc:             secret.Matcher,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 20:38:11 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. pkg/registry/networking/ingressclass/storage/storage.go

    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work against replication controllers.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &networking.IngressClass{} },
    		NewListFunc:               func() runtime.Object { return &networking.IngressClassList{} },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 2K bytes
    - Viewed (0)
  7. pkg/registry/rbac/rolebinding/storage/storage.go

    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work against RoleBinding objects.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &rbac.RoleBinding{} },
    		NewListFunc:               func() runtime.Object { return &rbac.RoleBindingList{} },
    		DefaultQualifiedResource:  rbac.Resource("rolebindings"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/walk/expr.go

    	}
    	if outer.Sym() == nil {
    		base.Errorf("tracked field must be in named struct type")
    	}
    
    	sym := reflectdata.TrackSym(outer, field)
    	if ir.CurFunc.FieldTrack == nil {
    		ir.CurFunc.FieldTrack = make(map[*obj.LSym]struct{})
    	}
    	ir.CurFunc.FieldTrack[sym] = struct{}{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  9. pkg/registry/rbac/clusterrole/storage/storage.go

    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work against ClusterRole objects.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &rbac.ClusterRole{} },
    		NewListFunc:               func() runtime.Object { return &rbac.ClusterRoleList{} },
    		DefaultQualifiedResource:  rbac.Resource("clusterroles"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/typecheck/syms.go

    // user labels.
    func AutoLabel(prefix string) *types.Sym {
    	if prefix[0] != '.' {
    		base.Fatalf("autolabel prefix must start with '.', have %q", prefix)
    	}
    	fn := ir.CurFunc
    	if ir.CurFunc == nil {
    		base.Fatalf("autolabel outside function")
    	}
    	n := fn.Label
    	fn.Label++
    	return LookupNum(prefix, int(n))
    }
    
    func Lookup(name string) *types.Sym {
    	return types.LocalPkg.Lookup(name)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 21:17:13 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top