Documentation ¶
Index ¶
- func RequireOCIImageRef(ref *meta.OCIImageRef, fldPath *field.Path) (allErrs field.ErrorList)
- func ValidateAbsolutePath(pathStr string, fldPath *field.Path) (allErrs field.ErrorList)
- func ValidateBlockDeviceVolume(b *api.BlockDeviceVolume, fldPath *field.Path, paths map[string]struct{}) (allErrs field.ErrorList)
- func ValidateFileMappings(mappings *[]api.FileMapping, fldPath *field.Path) (allErrs field.ErrorList)
- func ValidateNonemptyName(name string, fldPath *field.Path) (allErrs field.ErrorList)
- func ValidateVM(obj *api.VM) (allErrs field.ErrorList)
- func ValidateVMName(name string, fldPath *field.Path) (allErrs field.ErrorList)
- func ValidateVMStorage(s *api.VMStorageSpec, fldPath *field.Path) (allErrs field.ErrorList)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RequireOCIImageRef ¶
RequireOCIImageRef validates that the OCIImageRef is set
func ValidateAbsolutePath ¶
ValidateAbsolutePath validates if a path is absolute
func ValidateBlockDeviceVolume ¶
func ValidateBlockDeviceVolume(b *api.BlockDeviceVolume, fldPath *field.Path, paths map[string]struct{}) (allErrs field.ErrorList)
ValidateBlockDeviceVolume validates if the BlockDeviceVolume is valid
func ValidateFileMappings ¶
func ValidateFileMappings(mappings *[]api.FileMapping, fldPath *field.Path) (allErrs field.ErrorList)
ValidateFileMappings validates if the filemappings is valid
func ValidateNonemptyName ¶
ValidateNonemptyName validated that the given name is nonempty
func ValidateVM ¶
ValidateVM validates a VM object and collects all encountered errors
func ValidateVMName ¶ added in v0.8.0
ValidateVMName validates the VM name.
func ValidateVMStorage ¶
ValidateVMStorage validates if the VMStorageSpec is valid
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.