Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestHostPortInfo_AddRemove (0.27 sec)

  1. pkg/scheduler/framework/types_test.go

    		ObjectMeta: metav1.ObjectMeta{
    			Name: "test-node",
    		},
    	})
    	return ni
    }
    
    type hostPortInfoParam struct {
    	protocol, ip string
    	port         int32
    }
    
    func TestHostPortInfo_AddRemove(t *testing.T) {
    	tests := []struct {
    		desc    string
    		added   []hostPortInfoParam
    		removed []hostPortInfoParam
    		length  int
    	}{
    		{
    			desc: "normal add case",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 45.9K bytes
    - Viewed (0)
Back to top