- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for ResourceLocation (0.23 sec)
-
pkg/registry/core/pod/storage/storage.go
}, nil } // Implement Redirector. var _ = rest.Redirector(&REST{}) // ResourceLocation returns a pods location from its HostIP func (r *REST) ResourceLocation(ctx context.Context, name string) (*url.URL, http.RoundTripper, error) { return registrypod.ResourceLocation(ctx, r, r.proxyTransport, name) } // Implement ShortNamesProvider var _ rest.ShortNamesProvider = &REST{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 20 14:29:25 UTC 2023 - 13.7K bytes - Viewed (0) -
platforms/software/resources/src/main/java/org/gradle/internal/resource/UriTextResource.java
@Override public Charset getCharset() { if (getFile() != null) { return DEFAULT_ENCODING; } return null; } @Override public ResourceLocation getLocation() { return new UriResourceLocation(); } public static Charset extractCharacterEncoding(String contentType, Charset defaultEncoding) { if (contentType == null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 11.8K bytes - Viewed (0) -
pkg/registry/core/pod/strategy.go
if pod == nil { return "" } if len(pod.Status.PodIPs) > 0 { return pod.Status.PodIPs[0].IP } return "" } // ResourceLocation returns a URL to which one can send traffic for the specified pod. func ResourceLocation(ctx context.Context, getter ResourceGetter, rt http.RoundTripper, id string) (*url.URL, http.RoundTripper, error) { // Allow ID as "podname" or "podname:port" or "scheme:podname:port".
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 17:51:48 UTC 2024 - 29.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/rest/rest.go
Destroy() } // Redirector know how to return a remote resource's location. type Redirector interface { // ResourceLocation should return the remote location of the given resource, and an optional transport to use to request it, or an error. ResourceLocation(ctx context.Context, id string) (remoteLocation *url.URL, transport http.RoundTripper, err error) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 20 14:29:25 UTC 2023 - 18.6K bytes - Viewed (0) -
pkg/registry/core/service/storage/storage.go
if success { txn.Commit() } else { txn.Revert() } } return finish, nil } // ResourceLocation returns a URL to which one can send traffic for the specified service. func (r *REST) ResourceLocation(ctx context.Context, id string) (*url.URL, http.RoundTripper, error) { // Allow ID as "svcname", "svcname:port", or "scheme:svcname:port".
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 11 13:09:33 UTC 2024 - 22.3K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/IsolatingIncrementalAnnotationProcessingIntegrationTest.groovy
private static HelperProcessorFixture writingResourcesTo(String location) { def helperProcessorFixture = new HelperProcessorFixture() helperProcessorFixture.writeResources = true helperProcessorFixture.resourceLocation = location return helperProcessorFixture } private HelperProcessorFixture helperProcessor @Override def setup() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 20.1K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/AggregatingIncrementalAnnotationProcessingIntegrationTest.groovy
private static ServiceRegistryProcessorFixture writingResourcesTo(String location) { def serviceRegistryProcessor = new ServiceRegistryProcessorFixture() serviceRegistryProcessor.resourceLocation = location return serviceRegistryProcessor } @Override def setup() { withProcessor(writingResourcesTo(StandardLocation.CLASS_OUTPUT.toString())) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 29 15:12:07 UTC 2023 - 18.5K bytes - Viewed (0) -
pkg/registry/core/pod/storage/storage_test.go
if err := storage.Storage.Create(ctx, key, &tc.pod, nil, 0, false); err != nil { t.Fatalf("unexpected error: %v", err) } redirector := rest.Redirector(storage) location, _, err := redirector.ResourceLocation(ctx, tc.query) if err != nil { t.Errorf("Unexpected error: %v", err) } if location == nil { t.Errorf("Unexpected nil: %v", location) } if location.Scheme != "" {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 07:18:44 UTC 2024 - 38.8K bytes - Viewed (0)