Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for configBytes (0.1 sec)

  1. cmd/kubeadm/app/util/config/upgradeconfiguration.go

    	// Otherwise, we have a config file. Let's load it.
    	configBytes, err := os.ReadFile(cfgPath)
    	if err != nil {
    		return nil, errors.Wrapf(err, "unable to load config from file %q", cfgPath)
    	}
    
    	// Split the YAML documents in the file into a DocumentMap
    	docmap, err := kubeadmutil.SplitYAMLDocuments(configBytes)
    	if err != nil {
    		return nil, err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 11:04:08 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top