Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MakeServiceInstance (0.13 sec)

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

    var PortHTTPName = "http"
    
    type ServiceArgs struct {
    	Hostname        host.Name
    	Address         string
    	ServiceAccounts []string
    	ClusterID       cluster.ID
    }
    
    func MakeServiceInstance(service *model.Service, port *model.Port, version int, locality model.Locality) *model.ServiceInstance {
    	if service.External() {
    		return nil
    	}
    
    	// we make port 80 same as endpoint port, otherwise, it's distinct
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 07 18:40:05 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top