Documentation ¶
Index ¶
- func FromHost(client *govmomi.Client, host *object.HostSystem, apiTimeout time.Duration) (*object.HostVsanSystem, error)
- func InitializeDisks(client *govmomi.Client, host *object.HostSystem, hvs *object.HostVsanSystem, ...) error
- func Properties(client *govmomi.Client, hss *object.HostVsanSystem, apiTimeout time.Duration) (*mo.HostVsanSystem, error)
- func RemoveDiskMapping(client *govmomi.Client, host *object.HostSystem, hvs *object.HostVsanSystem, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromHost ¶
func FromHost(client *govmomi.Client, host *object.HostSystem, apiTimeout time.Duration) (*object.HostVsanSystem, error)
FromHost returns a host's HostVsanSystem object.
func InitializeDisks ¶
func InitializeDisks(client *govmomi.Client, host *object.HostSystem, hvs *object.HostVsanSystem, diskMap *types.VsanHostDiskMapping, apiTimeout time.Duration) error
InitializeDisks initializes and adds disks to the specified host disk group.
func Properties ¶
func Properties(client *govmomi.Client, hss *object.HostVsanSystem, apiTimeout time.Duration) (*mo.HostVsanSystem, error)
Properties Returns the HostVsanSystem ManagedObject for the HostVsanSystem object.
func RemoveDiskMapping ¶
func RemoveDiskMapping(client *govmomi.Client, host *object.HostSystem, hvs *object.HostVsanSystem, diskMap *types.VsanHostDiskMapping, apiTimeout time.Duration) error
RemoveDiskMapping removes the disks specified in diskMap from the disk group on host.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.