- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 223 for mapvar (0.12 sec)
-
staging/src/k8s.io/apimachinery/pkg/api/meta/multirestmapper_test.go
"k8s.io/apimachinery/pkg/runtime/schema" ) func TestMultiRESTMapperResourceFor(t *testing.T) { tcs := []struct { name string mapper MultiRESTMapper input schema.GroupVersionResource result schema.GroupVersionResource err error }{ { name: "empty", mapper: MultiRESTMapper{}, input: schema.GroupVersionResource{Resource: "foo"}, result: schema.GroupVersionResource{},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 05 01:49:02 UTC 2018 - 13.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/meta/lazy.go
*/ package meta import ( "sync" "k8s.io/apimachinery/pkg/runtime/schema" ) // lazyObject defers loading the mapper and typer until necessary. type lazyObject struct { loader func() (RESTMapper, error) lock sync.Mutex loaded bool err error mapper RESTMapper } // NewLazyRESTMapperLoader handles unrecoverable errors when creating a RESTMapper / ObjectTyper by
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 05 23:44:02 UTC 2021 - 3.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/matching/matching_test.go
mapper.RegisterKindFor(gvr("apps", "v1beta1", "deployments"), "", gvk("apps", "v1beta1", "Deployment")) mapper.RegisterKindFor(gvr("apps", "v1alpha1", "deployments"), "", gvk("apps", "v1alpha1", "Deployment")) mapper.RegisterKindFor(gvr("extensions", "v1beta1", "deployments"), "scale", gvk("extensions", "v1beta1", "Scale")) mapper.RegisterKindFor(gvr("apps", "v1", "deployments"), "scale", gvk("autoscaling", "v1", "Scale"))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 38.2K bytes - Viewed (0) -
src/mdo/java/WrapperList.java
private final Consumer<List<U>> setter; private final Function<U, T> mapper; private final Function<T, U> revMapper; WrapperList(List<U> list, Function<U, T> mapper, Function<T, U> revMapper) { this(() -> list, null, mapper, revMapper); } WrapperList(Supplier<List<U>> getter, Consumer<List<U>> setter, Function<U, T> mapper, Function<T, U> revMapper) { this.getter = getter;
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Mar 01 16:30:18 UTC 2024 - 3.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_badtest.txt
func init() { panic("badexec") } -- badtest/badsyntax/x.go -- package badsyntax -- badtest/badsyntax/x_test.go -- package badsyntax func func func func func! -- badtest/badvar/x.go -- package badvar -- badtest/badvar/x_test.go -- package badvar_test func f() { _ = notdefined } -- notest/hello.go -- package notest func hello() { println("hello world") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 06 15:47:54 UTC 2020 - 805 bytes - Viewed (0) -
platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/failure/DefaultThrowableToTestFailureMapper.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2.1K bytes - Viewed (0) -
pilot/pkg/networking/core/match/match.go
Map: m, }, }, }, }, OnNoMatch: nil, } return Mapper{Matcher: match, Map: m} } func NewDestinationIP() Mapper { return newMapper(DestinationIP) } func NewSourceIP() Mapper { return newMapper(SourceIP) } func NewDestinationPort() Mapper { return newMapper(DestinationPort) } type ProtocolMatch struct { TCP, HTTP *matcher.Matcher_OnMatch }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 6.2K bytes - Viewed (0) -
platforms/core-runtime/functional/src/main/java/org/gradle/internal/Deferrable.java
*/ T completeAndGet(); /** * Maps the result of the invocation via a mapper. * * @param mapper An inexpensive function on the result. * @throws NullPointerException if the mapper maps to {@code null}. */ default <U> Deferrable<U> map(Function<? super T, U> mapper) { return new Deferrable<U>() { @Override public Optional<U> getCompleted() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:22:02 UTC 2023 - 3.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook_test.go
mapper.RegisterKindFor(gvr("apps", "v1", "deployments"), "", gvk("apps", "v1", "Deployment")) mapper.RegisterKindFor(gvr("apps", "v1beta1", "deployments"), "", gvk("apps", "v1beta1", "Deployment")) mapper.RegisterKindFor(gvr("apps", "v1alpha1", "deployments"), "", gvk("apps", "v1alpha1", "Deployment")) mapper.RegisterKindFor(gvr("extensions", "v1beta1", "deployments"), "scale", gvk("extensions", "v1beta1", "Scale"))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 28 19:30:04 UTC 2023 - 32K bytes - Viewed (0) -
platforms/ide/tooling-api-builders/src/test/groovy/org/gradle/tooling/internal/provider/runner/ClientBuildEventGeneratorTest.groovy
def "does not pass events to trackers for disabled mapper"() { def mapper = Mock(BuildOperationMapper) def tracker = Mock(BuildOperationTracker) given: mapper.isEnabled(subscriptions) >> false mapper.trackers >> [tracker] mapper.detailsType >> Long.class def generator = new ClientBuildEventGenerator(consumer, subscriptions, [mapper], fallback) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 8.4K bytes - Viewed (0)