Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ingr (0.21 sec)

  1. tests/integration/telemetry/api/setup_test.go

    		return err
    	}
    
    	if err != nil {
    		return err
    	}
    	for _, c := range ctx.Clusters() {
    		ingr = append(ingr, ist.IngressFor(c))
    	}
    	mockProm = match.ServiceName(echo.NamespacedName{Name: "mock-prom", Namespace: apps.Namespace}).GetMatches(apps.Echos().All.Instances())
    	promInst, err = prometheus.New(ctx, prometheus.Config{})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/ambient/services.go

    	if svc.Spec.ClusterIP != "" && svc.Spec.ClusterIP != v1.ClusterIPNone {
    		res = append(res, svc.Spec.ClusterIP)
    	}
    	for _, ing := range svc.Status.LoadBalancer.Ingress {
    		// IPs are strictly optional for loadbalancers - they may just have a hostname.
    		if ing.IP != "" {
    			res = append(res, ing.IP)
    		}
    	}
    	return res
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 12:29:55 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. pkg/proxy/util/utils.go

    				return service.Spec.ClusterIPs[idx]
    			}
    		}
    	}
    
    	return ""
    }
    
    func IsVIPMode(ing v1.LoadBalancerIngress) bool {
    	if !utilfeature.DefaultFeatureGate.Enabled(features.LoadBalancerIPMode) {
    		return true // backwards compat
    	}
    	if ing.IPMode == nil {
    		return true
    	}
    	return *ing.IPMode == v1.LoadBalancerIPModeVIP
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 11:57:43 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. test/fixedbugs/issue21317.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // As of "Mon 6 Nov 2017", run.go doesn't yet have proper
    // column matching so instead match the output manually
    // by exec-ing
    
    package main
    
    import (
    	"fmt"
    	"io/ioutil"
    	"log"
    	"os"
    	"os/exec"
    	"strings"
    )
    
    func main() {
    	f, err := ioutil.TempFile("", "issue21317.go")
    	if err != nil {
    		log.Fatal(err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/handling-errors.md

    The benefit of raising an exception over `return`ing a value will be more evident in the section about Dependencies and Security.
    
    In this example, when the client requests an item by an ID that doesn't exist, raise an exception with a status code of `404`:
    
    ```Python hl_lines="11"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top