- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 87 for newFunc (0.26 sec)
-
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) -
pkg/registry/resource/resourceclaimparameters/storage/storage.go
*genericregistry.Store } // NewREST returns a RESTStorage object that will work against ResourceClaimParameters. func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) { store := &genericregistry.Store{ NewFunc: func() runtime.Object { return &resource.ResourceClaimParameters{} }, NewListFunc: func() runtime.Object { return &resource.ResourceClaimParametersList{} },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 15:15:31 UTC 2024 - 2.2K bytes - Viewed (0) -
pkg/registry/storage/csistoragecapacity/storage/storage.go
} // NewStorage returns a RESTStorage object that will work against CSIStorageCapacity func NewStorage(optsGetter generic.RESTOptionsGetter) (*CSIStorageCapacityStorage, error) { store := &genericregistry.Store{ NewFunc: func() runtime.Object { return &storageapi.CSIStorageCapacity{} }, NewListFunc: func() runtime.Object { return &storageapi.CSIStorageCapacityList{} },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 09:21:13 UTC 2022 - 2.1K bytes - Viewed (0) -
pkg/registry/storage/volumeattributesclass/storage/storage.go
*genericregistry.Store } // NewREST returns a RESTStorage object that will work against storage classes. func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) { store := &genericregistry.Store{ NewFunc: func() runtime.Object { return &storageapi.VolumeAttributesClass{} }, NewListFunc: func() runtime.Object { return &storageapi.VolumeAttributesClassList{} },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 03:18:56 UTC 2023 - 2.4K bytes - Viewed (0) -
src/cmd/compile/internal/types2/instantiate_test.go
"package equivalentinterfaces; type T[P any] int", "T", []Type{ NewInterfaceType([]*Func{NewFunc(nopos, nil, "M", emptySignature)}, nil), }, "T", []Type{ NewInterfaceType( nil, []Type{ NewInterfaceType([]*Func{NewFunc(nopos, nil, "M", emptySignature)}, nil), }, ), }, true, }, { // int|string is equivalent to string|int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 28 17:58:07 UTC 2023 - 5.8K bytes - Viewed (0) -
pkg/registry/core/podtemplate/storage/storage.go
*genericregistry.Store } // NewREST returns a RESTStorage object that will work against pod templates. func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) { store := &genericregistry.Store{ NewFunc: func() runtime.Object { return &api.PodTemplate{} }, NewListFunc: func() runtime.Object { return &api.PodTemplateList{} }, DefaultQualifiedResource: api.Resource("podtemplates"),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 09:21:13 UTC 2022 - 2K bytes - Viewed (0) -
pkg/registry/coordination/lease/storage/storage.go
type REST struct { *genericregistry.Store } // NewREST returns a RESTStorage object that will work against leases. func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) { store := &genericregistry.Store{ NewFunc: func() runtime.Object { return &coordinationapi.Lease{} }, NewListFunc: func() runtime.Object { return &coordinationapi.LeaseList{} }, DefaultQualifiedResource: coordinationapi.Resource("leases"),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 09:21:13 UTC 2022 - 2K bytes - Viewed (0) -
pkg/registry/resource/resourceclass/storage/storage.go
*genericregistry.Store } // NewREST returns a RESTStorage object that will work against ResourceClass. func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) { store := &genericregistry.Store{ NewFunc: func() runtime.Object { return &resource.ResourceClass{} }, NewListFunc: func() runtime.Object { return &resource.ResourceClassList{} },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 10:11:16 UTC 2022 - 2K bytes - Viewed (0) -
pkg/registry/node/runtimeclass/storage/storage.go
*genericregistry.Store } // NewREST returns a RESTStorage object that will work against runtime classes. func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) { store := &genericregistry.Store{ NewFunc: func() runtime.Object { return &node.RuntimeClass{} }, NewListFunc: func() runtime.Object { return &node.RuntimeClassList{} }, ObjectNameFunc: func(obj runtime.Object) (string, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 09:21:13 UTC 2022 - 2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/informers/externalversions/factory.go
} return res } // InformerFor returns the SharedIndexInformer for obj using an internal // client. func (f *sharedInformerFactory) InformerFor(obj runtime.Object, newFunc internalinterfaces.NewInformerFunc) cache.SharedIndexInformer { f.lock.Lock() defer f.lock.Unlock() informerType := reflect.TypeOf(obj) informer, exists := f.informers[informerType] if exists {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 18 18:31:26 UTC 2023 - 8.9K bytes - Viewed (0)