Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for createService (0.17 sec)

  1. pilot/pkg/xds/workload_test.go

    		// Add service: we should not get any new resources, but updates to existing ones
    		// Note: we are not subscribed to svc1 explicitly, but it impacts pods we are subscribed to
    		createService(s, "svc1", "default", map[string]string{"app": "sa"})
    		expect(ads.ExpectResponse(), "Kubernetes//Pod/default/pod2")
    		// Creating a pod in the service should send an update as usual
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/vendor/golang.org/x/sys/windows/service.go

    //sys	CloseServiceHandle(handle Handle) (err error) = advapi32.CloseServiceHandle
    //sys	CreateService(mgr Handle, serviceName *uint16, displayName *uint16, access uint32, srvType uint32, startType uint32, errCtl uint32, pathName *uint16, loadOrderGroup *uint16, tagId *uint32, dependencies *uint16, serviceStartName *uint16, password *uint16) (handle Handle, err error) [failretval==0] = advapi32.CreateServiceW
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  4. 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)
  5. pilot/pkg/serviceregistry/kube/controller/serviceimportcache_test.go

    	ic.createKubeService(t, c1)
    	ic.createServiceImport(t, mcsapi.ClusterSetIP, serviceImportVIPs)
    	ic.checkServiceInstances(t)
    
    	// create the same service in cluster2
    	createService(c2, serviceImportName, serviceImportNamespace, map[string]string{}, map[string]string{},
    		[]int32{8080}, map[string]string{"app": "prod-app"}, t)
    
    	// Delete the k8s service and verify that all internal services are removed.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 18:50:38 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. pkg/controller/endpointslice/endpointslice_controller_test.go

    	t.Helper()
    	createService(t, esController, namespace, serviceName)
    
    	logger, _ := ktesting.NewTestContext(t)
    	err := esController.syncService(logger, fmt.Sprintf("%s/%s", namespace, serviceName))
    	assert.Nil(t, err, "Expected no error syncing service")
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    		[]int32{8081}, map[string]string{"test-app": "test-app-2"}, t)
    	// service event handlers should not trigger for svc3 and svc4
    	createService(controller, "svc3", nsB,
    		map[string]string{}, map[string]string{},
    		[]int32{8082}, map[string]string{"test-app": "test-app-3"}, t)
    	createService(controller, "svc4", nsB,
    		map[string]string{}, map[string]string{},
    		[]int32{8083}, map[string]string{"test-app": "test-app-4"}, t)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/DefaultServiceRegistryTest.groovy

                TestCloseService createService3() {
                    return service3
                }
    
                @Provides
                TestCloseService createService2() {
                    return service2
                }
            })
            registry.addProvider(new ServiceRegistrationProvider() {
                @Provides
                TestStopService createService1(List<TestCloseService> services) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:53:25 UTC 2024
    - 59.8K bytes
    - Viewed (0)
Back to top