Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestLoopbackHostPortIPv4 (0.16 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/config_selfclient_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package server
    
    import (
    	"net"
    	"testing"
    
    	netutils "k8s.io/utils/net"
    )
    
    func TestLoopbackHostPortIPv4(t *testing.T) {
    	_, ipv6only, err := isIPv6LoopbackSupported()
    	if err != nil {
    		t.Fatalf("fail to enumerate network interface, %s", err)
    	}
    	if ipv6only {
    		t.Fatalf("no ipv4 loopback interface")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 20 08:42:09 UTC 2021
    - 2.7K bytes
    - Viewed (0)
Back to top