Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for InferPodInfo (0.21 sec)

  1. istioctl/pkg/util/handlers/handlers.go

    	"istio.io/istio/pilot/pkg/config/kube/gateway"
    	"istio.io/istio/pkg/config/constants"
    	kubelib "istio.io/istio/pkg/kube"
    )
    
    // InferPodInfo Uses name to infer namespace if the passed name contains namespace information.
    // Otherwise uses the namespace value passed into the function
    func InferPodInfo(name, defaultNS string) (string, string) {
    	return inferNsInfo(name, defaultNS)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 06 15:01:41 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. istioctl/pkg/util/handlers/handlers_test.go

    			wantNamespace: "istio-system",
    		},
    	}
    	for _, tt := range tests {
    		t.Run(strings.Split(tt.proxyName, ".")[0], func(t *testing.T) {
    			gotPodName, gotNamespace := InferPodInfo(tt.proxyName, tt.namespace)
    			if gotPodName != tt.wantPodName || gotNamespace != tt.wantNamespace {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 09 18:17:49 UTC 2023
    - 6.6K bytes
    - Viewed (0)
Back to top