- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for createService (0.13 sec)
-
pkg/registry/registrytest/service.go
res.Items = append(res.Items, service) } } } else { res.Items = append([]api.Service{}, r.List.Items...) } return res, r.Err } func (r *ServiceRegistry) CreateService(ctx context.Context, svc *api.Service, createValidation rest.ValidateObjectFunc) (*api.Service, error) { r.mu.Lock() defer r.mu.Unlock() r.Service = svc.DeepCopy() r.List.Items = append(r.List.Items, *svc)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 16 13:43:36 UTC 2023 - 2.9K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/service/scopes/DefaultGradleUserHomeScopeServiceRegistryTest.groovy
void close() throws IOException { closed = true } } class HomeDirServiceProvider implements ServiceRegistrationProvider { @Provides SomeHomeDirService createService(GradleUserHomeDirProvider homeDirProvider) { return new SomeHomeDirService(homeDirProvider.gradleUserHomeDirectory) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/windows/exec_windows.go
} qs[j] = '"' j++ } return string(qs[:j]) } // ComposeCommandLine escapes and joins the given arguments suitable for use as a Windows command line, // in CreateProcess's CommandLine argument, CreateService/ChangeServiceConfig's BinaryPathName argument, // or any program that uses CommandLineToArgv. func ComposeCommandLine(args []string) string { if len(args) == 0 { return "" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 10 16:32:44 UTC 2023 - 7.3K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/serviceexportcache_test.go
c, _ := NewFakeControllerWithOptions(t, FakeControllerOptions{ ClusterID: testCluster, CRDs: []schema.GroupVersionResource{mcs.ServiceExportGVR}, }) // Create the test service and endpoints. createService(c, serviceExportName, serviceExportNamespace, map[string]string{}, map[string]string{}, []int32{8080}, map[string]string{"app": "prod-app"}, t)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Aug 14 18:50:38 UTC 2023 - 9.1K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/java/incrementalAnnotationProcessing/groovy/user/src/main/java/Main.java
public class Main { public static void main(String... args) { new ServiceRegistry().createService1(); new Entity1Repository().save(new Entity1()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 175 bytes - Viewed (0) -
tensorflow/c/experimental/stream_executor/stream_executor_test_util.cc
} void GetDeviceCount(const SP_Platform* platform, int* device_count, TF_Status* status) { TF_SetStatus(status, TF_OK, ""); *device_count = kDeviceCount; } void CreateDevice(const SP_Platform* platform, SE_CreateDeviceParams* params, TF_Status* status) { TF_SetStatus(status, TF_OK, ""); params->device->struct_size = {SP_DEVICE_STRUCT_SIZE}; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 21 20:09:00 UTC 2023 - 8.7K bytes - Viewed (0)