Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for LocalMode (0.16 sec)

  1. pkg/proxy/apis/config/types.go

    	return "ProxyMode"
    }
    
    // LocalMode represents modes to detect local traffic from the node
    type LocalMode string
    
    // Currently supported modes for LocalMode
    const (
    	LocalModeClusterCIDR         LocalMode = "ClusterCIDR"
    	LocalModeNodeCIDR            LocalMode = "NodeCIDR"
    	LocalModeBridgeInterface     LocalMode = "BridgeInterface"
    	LocalModeInterfaceNamePrefix LocalMode = "InterfaceNamePrefix"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. cmd/kube-proxy/app/server_linux_test.go

    	testCases := []struct {
    		name                string
    		mode                proxyconfigapi.ProxyMode
    		expectedMode        proxyconfigapi.ProxyMode
    		detectLocal         proxyconfigapi.LocalMode
    		expectedDetectLocal proxyconfigapi.LocalMode
    	}{
    		{
    			name:                "defaults",
    			mode:                "",
    			expectedMode:        proxyconfigapi.ProxyModeIPTables,
    			detectLocal:         "",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  3. pkg/proxy/apis/config/v1alpha1/zz_generated.conversion.go

    		return err
    	}
    	if err := Convert_v1alpha1_KubeProxyWinkernelConfiguration_To_config_KubeProxyWinkernelConfiguration(&in.Winkernel, &out.Winkernel, s); err != nil {
    		return err
    	}
    	out.DetectLocalMode = config.LocalMode(in.DetectLocalMode)
    	if err := Convert_v1alpha1_DetectLocalConfiguration_To_config_DetectLocalConfiguration(&in.DetectLocal, &out.DetectLocal, s); err != nil {
    		return err
    	}
    	out.ClusterCIDR = in.ClusterCIDR
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:33:53 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  4. pkg/proxy/apis/config/validation/validation.go

    	return field.ErrorList{field.Invalid(fldPath.Child("ProxyMode"), string(mode), errMsg)}
    }
    
    func validateDetectLocalMode(mode kubeproxyconfig.LocalMode, fldPath *field.Path) field.ErrorList {
    	validModes := []string{
    		string(kubeproxyconfig.LocalModeClusterCIDR),
    		string(kubeproxyconfig.LocalModeNodeCIDR),
    		string(kubeproxyconfig.LocalModeBridgeInterface),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. cmd/kube-proxy/app/server_linux.go

    		o.logger.V(4).Info("Defaulting detect-local-mode", "localModeClusterCIDR", string(proxyconfigapi.LocalModeClusterCIDR))
    		config.DetectLocalMode = proxyconfigapi.LocalModeClusterCIDR
    	}
    	o.logger.V(2).Info("DetectLocalMode", "localMode", string(config.DetectLocalMode))
    }
    
    // platformSetup is called after setting up the ProxyServer, but before creating the
    // Proxier. It should fill in any platform-specific fields and perform other
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/walk/complit.go

    // Static initialization represents literals and
    // literal components of composite literals.
    // Dynamic initialization represents non-literals and
    // non-literal components of composite literals.
    // LocalCode initialization represents initialization
    // that occurs purely in generated code local to the function of use.
    // Initialization code is sometimes generated in passes,
    // first static then dynamic.
    type initKind uint8
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:03:54 UTC 2023
    - 19.5K bytes
    - Viewed (0)
Back to top