Documentation ¶
Index ¶
- func ImagePullSecret(secret string) error
- func ValidateBundle(bundlePath string, preset crcpreset.Preset) error
- func ValidateBundlePath(bundlePath string, preset crcpreset.Preset) error
- func ValidateCPUs(value int, preset crcpreset.Preset) error
- func ValidateDiskSize(value int) error
- func ValidateEnoughMemory(value int) error
- func ValidateIPAddress(ipAddress string) error
- func ValidateMemory(value int, preset crcpreset.Preset) error
- func ValidatePath(path string) error
- func ValidatePersistentVolumeSize(value int) error
- func ValidateURL(uri string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ImagePullSecret ¶
ImagePullSecret checks if the given string is a valid image pull secret and returns an error if not.
func ValidateBundlePath ¶
ValidateBundlePath checks if the provided bundle path exist
func ValidateCPUs ¶
ValidateCPUs checks if provided cpus count is valid
func ValidateDiskSize ¶
func ValidateEnoughMemory ¶
ValidateEnoughMemory checks if enough memory is installed on the host
func ValidateIPAddress ¶
ValidateIPAddress checks if provided IP is valid
func ValidateMemory ¶
ValidateMemory checks if provided Memory count is valid
func ValidatePath ¶
ValidatePath check if provide path is exist
func ValidatePersistentVolumeSize ¶ added in v2.28.0
func ValidateURL ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.