Documentation
¶
Index ¶
- type Cleanup
- type Clients
- type Machine
- func (m *Machine) ByID(vmID int) error
- func (m *Machine) ByName(vmName string) error
- func (m *Machine) Delete() error
- func (m *Machine) Exists() bool
- func (m *Machine) FromTemplate(templateName string, userData *string, network *infrav1.ONEVirtualNetwork, ...) error
- func (m *Machine) NodeName() *string
- func (m *Machine) ProviderID() *string
- type Router
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cleanup ¶
type Cleanup struct {
// contains filtered or unexported fields
}
func NewCleanup ¶
func (*Cleanup) DeleteLBReservation ¶
func (*Cleanup) DeleteLBVirtualRouter ¶
func (*Cleanup) DeleteVRReservation ¶
type Clients ¶
func NewClients ¶
type Machine ¶
type Machine struct {
ID int
Name *string
Address4 string
// contains filtered or unexported fields
}
func NewMachine ¶
func (*Machine) FromTemplate ¶
func (m *Machine) FromTemplate(templateName string, userData *string, network *infrav1.ONEVirtualNetwork, router *infrav1.ONEVirtualRouter) error
func (*Machine) ProviderID ¶
type Router ¶
type Router struct {
ID int
Name string
Replicas int
FloatingIPs []string
// contains filtered or unexported fields
}
func (*Router) FromTemplate ¶
func (r *Router) FromTemplate(virtualRouter *infrav1.ONEVirtualRouter, publicNetwork, privateNetwork *infrav1.ONEVirtualNetwork) error
Click to show internal directories.
Click to hide internal directories.