Documentation ¶
Index ¶
- type BareMetalInfra
- func (bm *BareMetalInfra) GetSelectedInstances(rc *reconcilecontext.ReconcileContext) (map[string]interface{}, error)
- func (bm *BareMetalInfra) GetUsedIPsByCIDR(rc *reconcilecontext.ReconcileContext) (map[string][]net.IP, error)
- func (bm *BareMetalInfra) ReconcileInstanceSecondaryIPs(rc *reconcilecontext.ReconcileContext) error
- func (bm *BareMetalInfra) RemoveAllAssignedIPs(rc *reconcilecontext.ReconcileContext) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BareMetalInfra ¶
type BareMetalInfra struct {
// contains filtered or unexported fields
}
func NewBareMetalInfra ¶
func NewBareMetalInfra() *BareMetalInfra
func (*BareMetalInfra) GetSelectedInstances ¶
func (bm *BareMetalInfra) GetSelectedInstances(rc *reconcilecontext.ReconcileContext) (map[string]interface{}, error)
GetSelectedInstances returns a map of nodename and corresponding instance info
func (*BareMetalInfra) GetUsedIPsByCIDR ¶
func (bm *BareMetalInfra) GetUsedIPsByCIDR(rc *reconcilecontext.ReconcileContext) (map[string][]net.IP, error)
GetUsedIPsByCIDR returns a map of reserved IPs by CIDR, this IPs cannot be used for assigning to namespaces
func (*BareMetalInfra) ReconcileInstanceSecondaryIPs ¶
func (bm *BareMetalInfra) ReconcileInstanceSecondaryIPs(rc *reconcilecontext.ReconcileContext) error
ReconcileInstanceSecondaryIPs will make sure that Assigned Egress IPs to instances are correclty reconciled this includes adding and possibly removing secondary IPs to selected instances.
func (*BareMetalInfra) RemoveAllAssignedIPs ¶
func (bm *BareMetalInfra) RemoveAllAssignedIPs(rc *reconcilecontext.ReconcileContext) error
RemoveAllAssignedIPs uncoditionally remoevs all the assigned IPs to VMs, used in clean-up login
Click to show internal directories.
Click to hide internal directories.