Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for printService (0.08 sec)

  1. istioctl/pkg/describe/describe.go

    	if meta.Namespace == describeNamespace {
    		return meta.Name
    	}
    
    	// Use the Istio convention pod-name[.namespace]
    	return fmt.Sprintf("%s.%s", meta.Name, meta.Namespace)
    }
    
    func printService(writer io.Writer, svc corev1.Service, pod *corev1.Pod) {
    	fmt.Fprintf(writer, "Service: %s\n", kname(svc.ObjectMeta))
    	for _, port := range svc.Spec.Ports {
    		if port.Protocol != "TCP" {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
Back to top