- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 144 for newFunc (0.15 sec)
-
pkg/registry/scheduling/priorityclass/storage/storage.go
*genericregistry.Store } // NewREST returns a RESTStorage object that will work against priority classes. func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) { store := &genericregistry.Store{ NewFunc: func() runtime.Object { return &scheduling.PriorityClass{} }, NewListFunc: func() runtime.Object { return &scheduling.PriorityClassList{} },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 09:21:13 UTC 2022 - 3K bytes - Viewed (0) -
src/cmd/compile/internal/types2/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 syntax.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) -
pkg/registry/storage/volumeattachment/storage/storage.go
} // NewStorage returns a RESTStorage object that will work against VolumeAttachments func NewStorage(optsGetter generic.RESTOptionsGetter) (*VolumeAttachmentStorage, error) { store := &genericregistry.Store{ NewFunc: func() runtime.Object { return &storageapi.VolumeAttachment{} }, NewListFunc: func() runtime.Object { return &storageapi.VolumeAttachmentList{} },
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/networking/servicecidr/storage/storage.go
*genericregistry.Store } // NewREST returns a RESTStorage object that will work against service CIDRs. func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, error) { store := &genericregistry.Store{ NewFunc: func() runtime.Object { return &networking.ServiceCIDR{} }, NewListFunc: func() runtime.Object { return &networking.ServiceCIDRList{} }, DefaultQualifiedResource: networking.Resource("servicecidrs"),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:04 UTC 2023 - 3.9K bytes - Viewed (0) -
pkg/registry/apiserverinternal/storageversion/storage/storage.go
} // NewREST returns a RESTStorage object that will work against storageVersions func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, error) { store := &genericregistry.Store{ NewFunc: func() runtime.Object { return &apiserverinternal.StorageVersion{} }, NewListFunc: func() runtime.Object { return &apiserverinternal.StorageVersionList{} }, ObjectNameFunc: func(obj runtime.Object) (string, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 09:21:19 UTC 2022 - 4.1K bytes - Viewed (0) -
pkg/registry/storagemigration/storagemigration/storage/storage.go
// NewREST returns a RESTStorage object for ClusterTrustBundle objects. func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, error) { store := &genericregistry.Store{ NewFunc: func() runtime.Object { return &svmapi.StorageVersionMigration{} }, NewListFunc: func() runtime.Object { return &svmapi.StorageVersionMigrationList{} }, ObjectNameFunc: func(obj runtime.Object) (string, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 04:18:56 UTC 2024 - 4.2K bytes - Viewed (0) -
pkg/registry/resource/podschedulingcontext/storage/storage.go
} // NewREST returns a RESTStorage object that will work against PodSchedulingContext. func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, error) { store := &genericregistry.Store{ NewFunc: func() runtime.Object { return &resource.PodSchedulingContext{} }, NewListFunc: func() runtime.Object { return &resource.PodSchedulingContextList{} },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 09:18:08 UTC 2023 - 4K bytes - Viewed (0) -
pkg/registry/admissionregistration/validatingadmissionpolicybinding/storage/storage.go
r := &REST{} strategy := validatingadmissionpolicybinding.NewStrategy(authorizer, policyGetter, resourceResolver) store := &genericregistry.Store{ NewFunc: func() runtime.Object { return &admissionregistration.ValidatingAdmissionPolicyBinding{} }, NewListFunc: func() runtime.Object { return &admissionregistration.ValidatingAdmissionPolicyBindingList{} },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 10:11:16 UTC 2022 - 3.6K bytes - Viewed (0) -
src/go/internal/gcimporter/ureader.go
implicit := len(methods) == 0 && len(embeddeds) == 1 && r.Bool() for i := range methods { pos := r.pos() pkg, name := r.selector() mtyp := r.signature(nil, nil, nil) methods[i] = types.NewFunc(pos, pkg, name, mtyp) } for i := range embeddeds { embeddeds[i] = r.typ() } iface := types.NewInterfaceType(methods, embeddeds) if implicit { iface.MarkImplicit() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 16.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/copylock/copylock.go
var lockerType *types.Interface // Construct a sync.Locker interface type. func init() { nullary := types.NewSignature(nil, nil, nil, false) // func() methods := []*types.Func{ types.NewFunc(token.NoPos, nil, "Lock", nullary), types.NewFunc(token.NoPos, nil, "Unlock", nullary), } lockerType = types.NewInterface(methods, nil).Complete()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 9.9K bytes - Viewed (0)