Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for checkBadIPConfig (0.13 sec)

  1. cmd/kube-proxy/app/server_test.go

    			},
    			ssErr:   true,
    			ssFatal: false,
    			dsErr:   false,
    		},
    	}
    
    	for _, c := range cases {
    		t.Run(c.name, func(t *testing.T) {
    			err, fatal := checkBadIPConfig(c.proxy, false)
    			if err != nil && !c.ssErr {
    				t.Errorf("unexpected error in single-stack case: %v", err)
    			} else if err == nil && c.ssErr {
    				t.Errorf("unexpected lack of error in single-stack case")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  2. cmd/kube-proxy/app/server.go

    	return utilerrors.NewAggregate(errors)
    }
    
    // checkBadIPConfig checks for bad configuration relative to s.PrimaryIPFamily.
    // Historically, we did not check most of the config options, so we cannot retroactively
    // make IP family mismatches in those options be fatal. When we add new options to check
    // here, we should make problems with those options be fatal.
    func checkBadIPConfig(s *ProxyServer, dualStackSupported bool) (err error, fatal bool) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 46.8K bytes
    - Viewed (0)
Back to top