hypervisors

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2022 License: Apache-2.0 Imports: 31 Imported by: 8

Documentation

Index

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 (m *Manager) ChangeMachineTags(hostname string,
	authInfo *srpc.AuthInformation, tgs tags.Tags) error

func (*Manager) CloseUpdateChannel

func (m *Manager) CloseUpdateChannel(channel <-chan fm_proto.Update)

func (*Manager) GetHypervisorForVm

func (m *Manager) GetHypervisorForVm(ipAddr net.IP) (string, error)

func (*Manager) GetMachineInfo

func (m *Manager) GetMachineInfo(hostname string) (fm_proto.Machine, error)

func (*Manager) GetTopology

func (m *Manager) GetTopology() (*topology.Topology, error)

func (*Manager) ListHypervisorsInLocation

func (m *Manager) ListHypervisorsInLocation(
	request fm_proto.ListHypervisorsInLocationRequest) ([]string, error)

func (*Manager) ListLocations

func (m *Manager) ListLocations(dirname string) ([]string, error)

func (*Manager) ListVMsInLocation

func (m *Manager) ListVMsInLocation(dirname string) ([]net.IP, error)

func (*Manager) MakeUpdateChannel

func (m *Manager) MakeUpdateChannel(location string) <-chan fm_proto.Update

func (*Manager) MoveIpAddresses

func (m *Manager) MoveIpAddresses(hostname string, ipAddresses []net.IP) error

func (*Manager) PowerOnMachine

func (m *Manager) PowerOnMachine(hostname string,
	authInfo *srpc.AuthInformation) error

func (*Manager) UpdateTopology

func (m *Manager) UpdateTopology(t *topology.Topology)

func (*Manager) WriteHtml

func (m *Manager) WriteHtml(writer io.Writer)

type StartOptions

type StartOptions struct {
	IpmiPasswordFile string
	IpmiUsername     string
	Logger           log.DebugLogger
	Storer           Storer
}

type Storer

type Storer interface {
	// contains filtered or unexported methods
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL