Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for cniVersion (0.42 sec)

  1. cni/pkg/install/cniconfig_test.go

    			outFilename:     "regular.conf",
    			fileContents: `
    {
    	"cniVersion": "0.3.1",
    	"name": "istio-cni",
    	"type": "istio-cni"
    }`,
    		},
    		{
    			name:            "another regular file",
    			dir:             tempDir,
    			expectedFailure: false,
    			inFilename:      "regular2.conf",
    			outFilename:     "regular.conf",
    			fileContents: `
    {
    	"cniVersion": "0.3.1",
    	"name": "istio-cni",
    	"type": "istio-cni"
    }`,
    		},
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  2. cni/pkg/plugin/plugin.go

    	var result *cniv1.Result
    	if conf.PrevResult == nil {
    		result = &cniv1.Result{
    			CNIVersion: cniv1.ImplementedSpecVersion,
    		}
    		return types.PrintResult(result, conf.CNIVersion)
    	}
    
    	// Pass through the result for the next plugin
    	return types.PrintResult(conf.PrevResult, conf.CNIVersion)
    }
    
    func CmdCheck(args *skel.CmdArgs) (err error) {
    	return nil
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Aug 14 19:36:19 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. cni/pkg/plugin/plugin_test.go

    const (
    	testPodName          = "testPod"
    	testNSName           = "testNS"
    	testSandboxDirectory = "/tmp"
    	invalidVersion       = "0.1.0"
    	preVersion           = "0.2.0"
    )
    
    var mockConfTmpl = `{
        "cniVersion": "%s",
    	"name": "istio-plugin-sample-test",
    	"type": "sample",
        "capabilities": {
            "testCapability": false
        },
        "ipam": {
            "type": "testIPAM"
        },
        "dns": {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top