- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 91 for newFunc (0.48 sec)
-
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/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) -
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) -
src/net/http/httptrace/trace.go
tfCopy := reflect.ValueOf(tf.Interface()) // We need to call both tf and of in some order. newFunc := reflect.MakeFunc(hookType, func(args []reflect.Value) []reflect.Value { tfCopy.Call(args) return of.Call(args) }) tv.Field(i).Set(newFunc) } } // DNSStartInfo contains information about a DNS request. type DNSStartInfo struct { Host string }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 8.1K bytes - Viewed (0) -
pkg/registry/apps/daemonset/storage/storage.go
*genericregistry.Store } // NewREST returns a RESTStorage object that will work against DaemonSets. func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, error) { store := &genericregistry.Store{ NewFunc: func() runtime.Object { return &apps.DaemonSet{} }, NewListFunc: func() runtime.Object { return &apps.DaemonSetList{} }, DefaultQualifiedResource: apps.Resource("daemonsets"),
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/batch/cronjob/storage/storage.go
*genericregistry.Store } // NewREST returns a RESTStorage object that will work against CronJobs. func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, error) { store := &genericregistry.Store{ NewFunc: func() runtime.Object { return &batch.CronJob{} }, NewListFunc: func() runtime.Object { return &batch.CronJobList{} }, DefaultQualifiedResource: batch.Resource("cronjobs"),
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/flowschema/storage/storage.go
*genericregistry.Store } // NewREST returns a RESTStorage object that will work against flow schemas. func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, error) { store := &genericregistry.Store{ NewFunc: func() runtime.Object { return &flowcontrol.FlowSchema{} }, NewListFunc: func() runtime.Object { return &flowcontrol.FlowSchemaList{} }, DefaultQualifiedResource: flowcontrol.Resource("flowschemas"),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 13 15:11:04 UTC 2023 - 4.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/named_test.go
pkg := mustTypecheck(src, nil, nil) T := pkg.Scope().Lookup("T").Type().(*Named) // add a few more methods manually for _, name := range []string{"foo", "bar", "bal"} { m := NewFunc(nopos, pkg, name, nil /* don't care about signature */) T.AddMethod(m) } // check method order if i == 0 { // first round: collect methods in given order methods = make([]string, T.NumMethods())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 16 21:06:56 UTC 2024 - 3.6K bytes - Viewed (0) -
src/go/types/named_test.go
pkg := mustTypecheck(src, nil, nil) T := pkg.Scope().Lookup("T").Type().(*Named) // add a few more methods manually for _, name := range []string{"foo", "bar", "bal"} { m := NewFunc(nopos, pkg, name, nil /* don't care about signature */) T.AddMethod(m) } // check method order if i == 0 { // first round: collect methods in given order methods = make([]string, T.NumMethods())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 05 16:29:58 UTC 2024 - 3.9K bytes - Viewed (0)