Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MakeExternalHTTPService (0.33 sec)

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

    				Protocol: protocol.Redis,
    			}, {
    				Name:     "mysql",
    				Port:     120, // target port 1120
    				Protocol: protocol.MySQL,
    			},
    		},
    	}
    }
    
    // MakeExternalHTTPService creates memory external service
    func MakeExternalHTTPService(hostname host.Name, isMeshExternal bool, address string) *model.Service {
    	return &model.Service{
    		CreationTime:   time.Now(),
    		Hostname:       hostname,
    		DefaultAddress: address,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 07 18:40:05 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/mock/discovery_mock.go

    			"spiffe://cluster.local/ns/default/sa/world1",
    			"spiffe://cluster.local/ns/default/sa/world2",
    		},
    		ClusterID: "cluster-2",
    	})
    
    	// ExtHTTPService is a mock external HTTP service
    	ExtHTTPService = MakeExternalHTTPService("httpbin.default.svc.cluster.local",
    		true, "")
    
    	// ExtHTTPSService is a mock external HTTPS service
    	ExtHTTPSService = MakeExternalHTTPSService("httpsbin.default.svc.cluster.local",
    		true, "")
    
    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