Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func New ¶
func New(logger logrus.FieldLogger, hcc *hcloud.Client) *Controller
func (*Controller) AttachToNode ¶
func (fc *Controller) AttachToNode(svcIPs stringset.StringSet, node string)
AttachToNode adds a FIP-to-node attachment to our worldview and immediately attempts to reconcile it with hcloud's
func (*Controller) ForgetAttachments ¶ added in v0.1.5
func (fc *Controller) ForgetAttachments(svcIPs stringset.StringSet)
ForgetAttachments remove the desired attachment from our worldview. This avoids "stealing" stale attachments from FIPs that might be known to us, but not currently in use by us. This does not trigger actual FIP dettachment.
func (*Controller) Reconcile ¶
func (fc *Controller) Reconcile()
Reconcile starts an asynchronous attempt to make the managed floating IPs match the controller's worldview about which attachments should be current.
func (*Controller) Run ¶
func (fc *Controller) Run()
Click to show internal directories.
Click to hide internal directories.