Documentation ¶
Index ¶
- func CheckDefaultDatastore(clients clients.Interface, config *vsphere.VSphereConfig) error
- func CheckFolderList(vmClient *govmomi.Client, config *vsphere.VSphereConfig) error
- func CheckNodes(clients clients.Interface, vmClient *govmomi.Client, ...) error
- func CheckPVs(clients clients.Interface, vmClient *govmomi.Client, ...) error
- func CheckStorageClasses(clients clients.Interface, vmClient *govmomi.Client, ...) error
- func CheckTaskPermissions(vmClient *govmomi.Client) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckDefaultDatastore ¶
func CheckDefaultDatastore(clients clients.Interface, config *vsphere.VSphereConfig) error
CheckDefaultDatastore checks that the default data store name is short enough.
func CheckFolderList ¶
func CheckFolderList(vmClient *govmomi.Client, config *vsphere.VSphereConfig) error
CheckFolderList tests that OCP has permissions to list volumes in Datastore. This is necessary to create volumes. The check lists datastore's "/", which must exist. The check tries to list "kubevols/". It tolerates when it's missing, it will be created by OCP on the first provisioning.
func CheckNodes ¶
func CheckNodes(clients clients.Interface, vmClient *govmomi.Client, config *vsphere.VSphereConfig) error
CheckNodes tests that Nodes have spec.providerID (i.e. they run with a cloud provider) and all nodes have disk.enableUUID enabled.
func CheckPVs ¶
func CheckPVs(clients clients.Interface, vmClient *govmomi.Client, config *vsphere.VSphereConfig) error
CheckPVs tests that datastore name in existing PVs is short enough.
func CheckStorageClasses ¶
func CheckStorageClasses(clients clients.Interface, vmClient *govmomi.Client, config *vsphere.VSphereConfig) error
CheckStorageClasses tests that datastore name in storage classes is short enough.
func CheckTaskPermissions ¶
CheckFolderList tests that OCP has permissions to list volumes in Datastore. This is necessary to create volumes.
Types ¶
This section is empty.