Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getPodNameWithNamespace (0.33 sec)

  1. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    }
    
    // getComponentPodName returns the pod name and namespace of the Istio component
    func getComponentPodName(ctx cli.Context, podflag string) (string, string, error) {
    	return getPodNameWithNamespace(ctx, podflag, ctx.IstioNamespace())
    }
    
    func getPodNameWithNamespace(ctx cli.Context, podflag, ns string) (string, string, error) {
    	var podName, podNamespace string
    	podName, podNamespace, err := ctx.InferPodInfoFromTypedResource(podflag, ns)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 22K bytes
    - Viewed (0)
  2. istioctl/pkg/proxyconfig/proxyconfig.go

    		return []string{}, "", err
    	}
    	return podNames, ns, nil
    }
    
    func getPodName(ctx cli.Context, podflag string) (string, string, error) {
    	return getPodNameWithNamespace(ctx, podflag, ctx.Namespace())
    }
    
    func getPodNameWithNamespace(ctx cli.Context, podflag, ns string) (string, string, error) {
    	var podName, podNamespace string
    	podName, podNamespace, err := ctx.InferPodInfoFromTypedResource(podflag, ns)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 03:28:36 UTC 2024
    - 48K bytes
    - Viewed (0)
Back to top