Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Uint16 (0.16 sec)

  1. cni/pkg/plugin/sidecar_redirect.go

    			dedup[port] = true
    			keys = append(keys, port)
    		}
    	}
    	return keys
    }
    
    func parsePort(portStr string) (uint16, error) {
    	port, err := strconv.ParseUint(strings.TrimSpace(portStr), 10, 16)
    	if err != nil {
    		return 0, fmt.Errorf("failed parsing port %q: %v", portStr, err)
    	}
    	return uint16(port), nil
    }
    
    func parsePorts(portsString string) ([]int, error) {
    	portsString = strings.TrimSpace(portsString)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/ztunnel/configdump/api.go

    	DestinationIps      []string      `json:"destinationIps,omitempty"`
    	NotDestinationIps   []string      `json:"notDestinationIps,omitempty"`
    	DestinationPorts    []uint16      `json:"destinationPorts,omitempty"`
    	NotDestinationPorts []uint16      `json:"notDestinationPorts,omitempty"`
    }
    
    type StringMatch struct {
    	Exact    string `json:"Exact,omitempty"`
    	Suffix   string `json:"Suffix,omitempty"`
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 25 02:16:06 GMT 2024
    - 5.2K bytes
    - Viewed (0)
Back to top