- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 87 for newFunc (0.17 sec)
-
pkg/registry/core/resourcequota/storage/storage.go
} // NewREST returns a RESTStorage object that will work against resource quotas. func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, error) { store := &genericregistry.Store{ NewFunc: func() runtime.Object { return &api.ResourceQuota{} }, NewListFunc: func() runtime.Object { return &api.ResourceQuotaList{} }, DefaultQualifiedResource: api.Resource("resourcequotas"),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 09:21:19 UTC 2022 - 4.2K bytes - Viewed (0) -
pkg/registry/core/persistentvolume/storage/storage.go
} // NewREST returns a RESTStorage object that will work against persistent volumes. func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, error) { store := &genericregistry.Store{ NewFunc: func() runtime.Object { return &api.PersistentVolume{} }, NewListFunc: func() runtime.Object { return &api.PersistentVolumeList{} }, PredicateFunc: persistentvolume.MatchPersistentVolumes,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 09:21:19 UTC 2022 - 4.3K bytes - Viewed (0) -
pkg/registry/flowcontrol/prioritylevelconfiguration/storage/storage.go
} // NewREST returns a RESTStorage object that will work against priority level configuration. func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, error) { store := &genericregistry.Store{ NewFunc: func() runtime.Object { return &flowcontrol.PriorityLevelConfiguration{} }, NewListFunc: func() runtime.Object { return &flowcontrol.PriorityLevelConfigurationList{} },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 13 15:11:04 UTC 2023 - 4.5K bytes - Viewed (0) -
pkg/registry/admissionregistration/validatingadmissionpolicy/storage/storage.go
r := &REST{} strategy := validatingadmissionpolicy.NewStrategy(authorizer, resourceResolver) store := &genericregistry.Store{ NewFunc: func() runtime.Object { return &admissionregistration.ValidatingAdmissionPolicy{} }, NewListFunc: func() runtime.Object { return &admissionregistration.ValidatingAdmissionPolicyList{} },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 07 23:43:34 UTC 2023 - 4.9K bytes - Viewed (0) -
pkg/registry/core/persistentvolumeclaim/storage/storage.go
} // NewREST returns a RESTStorage object that will work against persistent volume claims. func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, error) { store := &genericregistry.Store{ NewFunc: func() runtime.Object { return &api.PersistentVolumeClaim{} }, NewListFunc: func() runtime.Object { return &api.PersistentVolumeClaimList{} },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 09:21:19 UTC 2022 - 5.8K bytes - Viewed (0) -
pkg/registry/certificates/certificates/storage/storage.go
// NewREST returns a registry which will store CertificateSigningRequest in the given helper. func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, *ApprovalREST, error) { store := &genericregistry.Store{ NewFunc: func() runtime.Object { return &certificates.CertificateSigningRequest{} }, NewListFunc: func() runtime.Object { return &certificates.CertificateSigningRequestList{} },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 09:21:19 UTC 2022 - 6.3K bytes - Viewed (0) -
pkg/registry/batch/job/storage/storage.go
*genericregistry.Store } // NewREST returns a RESTStorage object that will work against Jobs. func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, error) { store := &genericregistry.Store{ NewFunc: func() runtime.Object { return &batch.Job{} }, NewListFunc: func() runtime.Object { return &batch.JobList{} }, PredicateFunc: job.MatchJob,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 09:21:19 UTC 2022 - 6.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/interface.go
var recvTyp Type = ityp if def != nil { if named := asNamed(def.typ); named != nil { recvTyp = named } } sig.recv = NewVar(f.Name.Pos(), check.pkg, "", recvTyp) m := NewFunc(f.Name.Pos(), check.pkg, name, sig) check.recordDef(f.Name, m) ityp.methods = append(ityp.methods, m) } // All methods and embedded elements for this interface are collected;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 17:24:42 UTC 2023 - 6.2K bytes - Viewed (0) -
pkg/registry/core/node/storage/storage.go
func NewStorage(optsGetter generic.RESTOptionsGetter, kubeletClientConfig client.KubeletClientConfig, proxyTransport http.RoundTripper) (*NodeStorage, error) { store := &genericregistry.Store{ NewFunc: func() runtime.Object { return &api.Node{} }, NewListFunc: func() runtime.Object { return &api.NodeList{} }, PredicateFunc: node.MatchNode,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 27 20:38:11 UTC 2023 - 6.1K bytes - Viewed (0) -
pkg/registry/core/service/allocator/storage/storage.go
// persisting the snapshot state of allocation after each allocation is made. func NewEtcd(alloc allocator.Snapshottable, baseKey string, config *storagebackend.ConfigForResource) (*Etcd, error) { // note that newFunc, newListFunc and resourcePrefix // can be left blank unless the storage.Watch method is used storage, d, err := generic.NewRawStorage(config, nil, nil, "") if err != nil { return nil, err } var once sync.Once
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 24 09:23:05 UTC 2023 - 6.5K bytes - Viewed (0)