Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for netlinktest (0.1 sec)

  1. pkg/proxy/ipvs/proxier_test.go

    	// Expect 2 services and 1 destination
    	epVS := &netlinktest.ExpectedVirtualServer{
    		VSNum: 2, IP: svcLBIP, Port: uint16(svcNodePort), Protocol: string(v1.ProtocolTCP),
    		RS: []netlinktest.ExpectedRealServer{{
    			IP: epIP, Port: uint16(svcPort),
    		}}}
    	checkIPVS(t, fp, epVS)
    
    	// check ipSet rules
    	epIPSet := netlinktest.ExpectedIPSet{
    		kubeLoadBalancerSet: {{
    			IP:       svcLBIP,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
  2. src/encoding/pem/pem_test.go

    // license that can be found in the LICENSE file.
    
    package pem
    
    import (
    	"bytes"
    	"io"
    	"reflect"
    	"strings"
    	"testing"
    	"testing/quick"
    )
    
    type GetLineTest struct {
    	in, out1, out2 string
    }
    
    var getLineTests = []GetLineTest{
    	{"abc", "abc", ""},
    	{"abc\r", "abc\r", ""},
    	{"abc\n", "abc", ""},
    	{"abc\r\n", "abc", ""},
    	{"abc\nd", "abc", "d"},
    	{"abc\r\nd", "abc", "d"},
    	{"\nabc", "", "abc"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 22:56:00 UTC 2022
    - 23.5K bytes
    - Viewed (0)
Back to top