Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for assume (0.05 sec)

  1. cni/pkg/install/cniconfig.go

    	if _, ok := existingMap["type"]; ok {
    		// Assume it is a regular network conf file
    		delete(existingMap, "cniVersion")
    
    		plugins := make([]map[string]any, 2)
    		plugins[0] = existingMap
    		plugins[1] = istioMap
    
    		newMap = map[string]any{
    			"name":       "k8s-pod-network",
    			"cniVersion": "0.3.1",
    			"plugins":    plugins,
    		}
    	} else {
    		// Assume it is a network list file
    		newMap = existingMap
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top