Documentation ¶
Index ¶
- func ImagePullSecret(secret string) error
- func ValidateBundle(bundlePath string) error
- func ValidateBundlePath(bundlePath string) error
- func ValidateCPUs(value int) error
- func ValidateDiskSize(value int) error
- func ValidateEnoughMemory(value int) error
- func ValidateIPAddress(ipAddress string) error
- func ValidateMemory(value int) error
- func ValidatePath(path 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 ValidateBundle ¶
func ValidateBundlePath ¶ added in v1.23.0
ValidateBundlePath checks if the provided bundle path exist
func ValidateCPUs ¶
ValidateCPUs checks if provided cpus count is valid
func ValidateDiskSize ¶ added in v1.20.0
func ValidateEnoughMemory ¶ added in v1.14.0
ValidateEnoughMemory checks if enough memory is installed on the host
func ValidateIPAddress ¶ added in v1.14.0
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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.