Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for printService (0.21 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" {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
Back to top