Documentation
¶
Index ¶
- type HostService
- func (h *HostService) GetAvailHostListByStorageID(ctx context.Context, storageID string) ([]types.Host, error)
- func (h *HostService) GetHost(ctx context.Context, hostUUID string) (*types.Host, error)
- func (h *HostService) GetHostAccessibleDatastoreList(ctx context.Context, hostid string) ([]types.Storage, error)
- func (h *HostService) GetHostAvailStorages(ctx context.Context, hostUUID string) ([]*types.Storage, error)
- func (h *HostService) GetHostHealthInfo(ctx context.Context, hostUUID string) (*types.HostHealthInfo, error)
- func (h *HostService) GetHostList(ctx context.Context) ([]types.Host, error)
- func (h *HostService) GetHostListByClusterID(ctx context.Context, clusterID string) ([]*types.Host, error)
- func (h *HostService) GetHostListByClusterName(ctx context.Context, clusterName string) ([]*types.Host, error)
- func (h *HostService) GetHostListByDC(ctx context.Context, datacenterPath string) ([]*types.Host, error)
- func (h *HostService) GetHostListByNetworkID(ctx context.Context, networkID string) ([]types.Host, error)
- func (h *HostService) GetHostListByNetworkName(ctx context.Context, networkName string) ([]types.Host, error)
- func (h *HostService) GetHostListByStorageID(ctx context.Context, storageID string) ([]types.Host, error)
- func (h *HostService) GetHostListBySwitchID(ctx context.Context, switchID string) ([]types.Host, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostService ¶
func NewHostService ¶
func NewHostService(c *client.Client) *HostService
NewDatacenterService returns the session's host service.
func (*HostService) GetAvailHostListByStorageID ¶
func (*HostService) GetHostAccessibleDatastoreList ¶
func (*HostService) GetHostAvailStorages ¶
func (*HostService) GetHostHealthInfo ¶ added in v1.0.0
func (h *HostService) GetHostHealthInfo(ctx context.Context, hostUUID string) (*types.HostHealthInfo, error)
func (*HostService) GetHostList ¶
func (*HostService) GetHostListByClusterID ¶
func (*HostService) GetHostListByClusterName ¶
func (*HostService) GetHostListByDC ¶
func (*HostService) GetHostListByNetworkID ¶
func (*HostService) GetHostListByNetworkName ¶
func (*HostService) GetHostListByStorageID ¶
func (*HostService) GetHostListBySwitchID ¶
Click to show internal directories.
Click to hide internal directories.