Documentation ¶
Index ¶
- type Manager
- func (m *Manager) ChangeMachineTags(hostname string, authInfo *srpc.AuthInformation, tgs tags.Tags) error
- func (m *Manager) CloseUpdateChannel(channel <-chan fm_proto.Update)
- func (m *Manager) GetHypervisorForVm(ipAddr net.IP) (string, error)
- func (m *Manager) GetMachineInfo(hostname string) (fm_proto.Machine, error)
- func (m *Manager) GetTopology() (*topology.Topology, error)
- func (m *Manager) ListHypervisorsInLocation(request fm_proto.ListHypervisorsInLocationRequest) ([]string, error)
- func (m *Manager) ListLocations(dirname string) ([]string, error)
- func (m *Manager) ListVMsInLocation(dirname string) ([]net.IP, error)
- func (m *Manager) MakeUpdateChannel(location string) <-chan fm_proto.Update
- func (m *Manager) MoveIpAddresses(hostname string, ipAddresses []net.IP) error
- func (m *Manager) PowerOnMachine(hostname string, authInfo *srpc.AuthInformation) error
- func (m *Manager) UpdateTopology(t *topology.Topology)
- func (m *Manager) WriteHtml(writer io.Writer)
- type StartOptions
- type Storer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func New ¶
func New(startOptions StartOptions) (*Manager, error)
func (*Manager) ChangeMachineTags ¶
func (*Manager) CloseUpdateChannel ¶
func (*Manager) GetHypervisorForVm ¶
func (*Manager) GetMachineInfo ¶
func (*Manager) ListHypervisorsInLocation ¶
func (m *Manager) ListHypervisorsInLocation( request fm_proto.ListHypervisorsInLocationRequest) ([]string, error)
func (*Manager) ListVMsInLocation ¶
func (*Manager) MakeUpdateChannel ¶
func (*Manager) MoveIpAddresses ¶
func (*Manager) PowerOnMachine ¶
func (m *Manager) PowerOnMachine(hostname string, authInfo *srpc.AuthInformation) error
func (*Manager) UpdateTopology ¶
type StartOptions ¶
type StartOptions struct { IpmiPasswordFile string IpmiUsername string Logger log.DebugLogger Storer Storer }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.