Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for LoadPodFromFile (0.11 sec)

  1. cmd/kube-controller-manager/app/plugins.go

    // If unsuccessful, an error is returned. Function is exported for reuse downstream.
    func AttemptToLoadRecycler(path string, config *volume.VolumeConfig) error {
    	if path != "" {
    		recyclerPod, err := volumeutil.LoadPodFromFile(path)
    		if err != nil {
    			return err
    		}
    		if err = volume.ValidateRecyclerPodTemplate(recyclerPod); err != nil {
    			return fmt.Errorf("pod specification (%v): %v", path, err)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:17:15 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top