func (vs *VSphere) GetDatastoresMountedOnHost(ctx context.Context, host types.ManagedObjectReference) []types.ManagedObjectReference {
	Connect(ctx, vs)
	var hostMo mo.HostSystem
	vs.Client.RetrieveOne(ctx, host, []string{"datastore"}, &hostMo)
	return hostMo.Datastore
}
// GetDatastoresMountedOnHost returns the datastore references of all the datastores mounted on the specified host
GetDatastoresMountedOnHost returns the datastore references of all the datastores mounted on the specified host
// GetDatastoresMountedOnHost returns the datastore references of all the datastores mounted on the specified host
func (vs *VSphere) GetDatastoresMountedOnHost(ctx context.Context, host types.ManagedObjectReference) []types.ManagedObjectReference {
	Connect(ctx, vs)
	var hostMo mo.HostSystem
	vs.Client.RetrieveOne(ctx, host, []string{"datastore"}, &hostMo)
	return hostMo.Datastore
}
func ( vs * VSphere ) GetDatastoresMountedOnHost ( ctx context . Context , host types . ManagedObjectReference ) [ ] types . ManagedObjectReference { Connect ( ctx , vs ) var hostMo mo . HostSystem vs . Client . RetrieveOne ( ctx , host , [ ] string { " " } , & hostMo ) return hostMo . Datastore }
GetDatastoresMountedOnHost returns the datastore references of all the datastores mounted on the specified host
GetDatastoresMountedOnHost returns the datastore references of all the datastores mounted on the specified host