Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for grpcWebLen (0.31 sec)

  1. pkg/config/kube/conversion.go

    			return protocol.HTTP2
    		}
    	}
    
    	// Check if the port name prefix is "grpc-web". Need to do this before the general
    	// prefix check below, since it contains a hyphen.
    	if len(name) >= grpcWebLen && strings.EqualFold(name[:grpcWebLen], grpcWeb) {
    		return protocol.GRPCWeb
    	}
    
    	// Parse the port name to find the prefix, if any.
    	i := strings.IndexByte(name, '-')
    	if i >= 0 {
    		name = name[:i]
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top