Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for writeCNIConfig (0.09 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: 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