Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for CNIConfig (0.16 sec)

  1. cni/pkg/install/cniconfig.go

    Ben Leggett <******@****.***> 1716316321 -0400
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. cni/pkg/util/pluginutil.go

    	return
    }
    
    // Marshal the CNI config map and append a new line
    func MarshalCNIConfig(cniConfigMap map[string]any) ([]byte, error) {
    	cniConfig, err := json.MarshalIndent(cniConfigMap, "", "  ")
    	if err != nil {
    		return nil, err
    	}
    	cniConfig = append(cniConfig, "\n"...)
    	return cniConfig, nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. operator/pkg/validate/validate_values_test.go

        excludeInboundPorts: "333,444"
        clusterDomain: "my.domain"
        lifecycle:
          preStop:
            exec:
              command: ["/bin/sh", "-c", "sleep 30"]
    `,
    		},
    		{
    			desc: "CNIConfig",
    			yamlStr: `
    cni:
      cniBinDir: "/var/lib/cni/bin"
      cniConfDir: "/var/run/multus/cni/net.d"
    `,
    		},
    
    		{
    			desc: "BadIPRange",
    			yamlStr: `
    global:
      proxy:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 13:43:12 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. operator/pkg/apis/istio/v1alpha1/validation/validation_test.go

    	}{
    		{
    			name:       "Empty struct",
    			toValidate: &v1alpha1.Values{},
    			validated:  true,
    		},
    		{
    			name: "With CNI defined",
    			toValidate: &v1alpha1.Values{
    				Cni: &v1alpha1.CNIConfig{
    					Enabled: &wrappers.BoolValue{Value: true},
    				},
    			},
    			validated: true,
    		},
    	}
    
    	for _, tt := range tests {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 23 09:10:55 UTC 2023
    - 8.7K bytes
    - Viewed (0)
Back to top