Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ServiceEntry_NONE (0.17 sec)

  1. pilot/pkg/serviceregistry/serviceentry/conversion_test.go

    				{Number: 80, Name: "http-number", Protocol: "http"},
    				{Number: 8080, Name: "http2-number", Protocol: "http2"},
    			},
    			Location:   networking.ServiceEntry_MESH_EXTERNAL,
    			Resolution: networking.ServiceEntry_NONE,
    		},
    	}
    )
    
    var tcpNone = &config.Config{
    	Meta: config.Meta{
    		GroupVersionKind:  gvk.ServiceEntry,
    		Name:              "tcpNone",
    		Namespace:         "tcpNone",
    		CreationTimestamp: GlobalTime,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 39K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/serviceentry/conversion.go

    	}
    
    	// Reverse in convertServices. Note that enum values are different
    	var resolution networking.ServiceEntry_Resolution
    	switch svc.Resolution {
    	case model.Passthrough: // 2
    		resolution = networking.ServiceEntry_NONE // 0
    	case model.DNSLB: // 1
    		resolution = networking.ServiceEntry_DNS // 2
    	case model.DNSRoundRobinLB: // 3
    		resolution = networking.ServiceEntry_DNS_ROUND_ROBIN // 3
    	case model.ClientSideLB: // 0
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  3. pkg/config/validation/validation.go

    			cidrFound = cidrFound || strings.Contains(address, "/")
    			errs = AppendValidation(errs, agent.ValidateIPSubnet(address))
    		}
    
    		if cidrFound {
    			if serviceEntry.Resolution != networking.ServiceEntry_NONE && serviceEntry.Resolution != networking.ServiceEntry_STATIC {
    				errs = AppendValidation(errs, fmt.Errorf("CIDR addresses are allowed only for NONE/STATIC resolution types"))
    			}
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/serviceentry/controller_test.go

    		},
    		{
    			name:    "different resolution",
    			current: updatedHTTPDNS,
    			new: func() *config.Config {
    				c := updatedHTTPDNS.DeepCopy()
    				c.Spec.(*networking.ServiceEntry).Resolution = networking.ServiceEntry_NONE
    				return &c
    			}(),
    			updated: stringsToHosts(updatedHTTPDNS.Spec.(*networking.ServiceEntry).Hosts),
    		},
    		{
    			name:    "config modified with added/deleted host",
    			current: updatedHTTPDNS,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 92.9K bytes
    - Viewed (0)
Back to top