Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsOperationNotSupportedError (0.21 sec)

  1. pkg/volume/util/types/types.go

    func (err *OperationNotSupported) Error() string {
    	return err.msg
    }
    
    func NewOperationNotSupportedError(msg string) *OperationNotSupported {
    	return &OperationNotSupported{msg: msg}
    }
    
    func IsOperationNotSupportedError(err error) bool {
    	var operationNotSupportedError *OperationNotSupported
    	return errors.As(err, &operationNotSupportedError)
    }
    
    // TransientOperationFailure indicates operation failed with a transient error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 17:23:56 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. pkg/volume/util/operationexecutor/operation_generator.go

    		// If RecoverFromVolumeExpansionFailure feature is enabled, we will not ever hit this state, because
    		// we will wait for VolumeExpansionPendingOnNode before trying to expand volume in kubelet.
    		if volumetypes.IsOperationNotSupportedError(resizeErr) {
    			klog.V(4).InfoS(volumeToMount.GenerateMsgDetailed("MountVolume.NodeExpandVolume failed", "NodeExpandVolume not supported"), "pod", klog.KObj(volumeToMount.Pod))
    			return true, nil
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
Back to top