Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for helloService (0.21 sec)

  1. pilot/pkg/serviceregistry/mock/discovery_test.go

    )
    
    func TestMakeIP(t *testing.T) {
    	HelloService := MakeService(ServiceArgs{
    		Hostname:        "hello.default.svc.cluster.local",
    		Address:         "10.1.0.0",
    		ServiceAccounts: []string{},
    		ClusterID:       "cluster-1",
    	})
    	HelloInstanceV0 := MakeIP(HelloService, 0)
    
    	if HelloInstanceV0 != "10.1.1.0" {
    		t.Fatalf("MakeIP() can not handle ip4 address.")
    	}
    
    	HelloService1 := MakeService(ServiceArgs{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jan 09 17:33:49 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/mock/discovery_mock.go

    	ExtHTTPSService = MakeExternalHTTPSService("httpsbin.default.svc.cluster.local",
    		true, "")
    
    	// HelloInstanceV0 is a mock IP address for v0 of HelloService
    	HelloInstanceV0 = MakeIP(HelloService, 0)
    
    	// HelloProxyV0 is a mock proxy v0 of HelloService
    	HelloProxyV0 = model.Proxy{
    		Type:         model.SidecarProxy,
    		IPAddresses:  []string{HelloInstanceV0},
    		ID:           "v0.default",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 23 02:37:56 UTC 2022
    - 2.7K bytes
    - Viewed (0)
Back to top