Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for endpointWithLabels (0.14 sec)

  1. pilot/pkg/model/validation_test.go

    		valid    bool
    	}{
    		{
    			name: "nil service",
    			instance: &ServiceInstance{
    				Endpoint: endpointWithLabels(labels.Instance{}),
    			},
    		},
    		{
    			name: "bad label",
    			instance: &ServiceInstance{
    				Service:  service1,
    				Endpoint: endpointWithLabels(labels.Instance{"*": "-"}),
    			},
    		},
    		{
    			name: "invalid service",
    			instance: &ServiceInstance{
    				Service:  &Service{},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 23 19:35:35 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top