Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for writeCNIConfig (0.12 sec)

  1. cni/pkg/install/cniconfig.go

    		return "", err
    	}
    	marshalledJSON = append(marshalledJSON, "\n"...)
    
    	return writeCNIConfig(ctx, marshalledJSON, cfg)
    }
    
    // writeCNIConfig will
    // 1. read in the existing CNI config file
    // 2. append the `istio`-specific entry
    // 3. write the combined result back out to the same path, overwriting the original.
    func writeCNIConfig(ctx context.Context, pluginConfig []byte, cfg *config.InstallConfig) (string, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top