hypervisors

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 34 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) GetHypervisorsInLocation added in v0.3.3

func (*Manager) GetMachineInfo

func (m *Manager) GetMachineInfo(request fm_proto.GetMachineInfoRequest) (
	fm_proto.Machine, error)

func (*Manager) GetTopology

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

func (*Manager) ListLocations

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

func (*Manager) ListVMsInLocation

func (m *Manager) ListVMsInLocation(request fm_proto.ListVMsInLocationRequest) (
	[]net.IP, error)

func (*Manager) MakeUpdateChannel

func (m *Manager) MakeUpdateChannel(
	request fm_proto.GetUpdatesRequest) <-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