Versions in this module Expand all Collapse all v0 v0.5.0 Sep 13, 2024 Changes in this version + func ContainsMember(arr []lbv1.PoolMember, m lbv1.PoolMember) bool + func ListProviders() []string + func RegisterProvider(name string, provider Provider) error + type BackendController struct + Provider Provider + func CreateBackend(ctx context.Context, lbBackend *lbv1.Provider, username string, ...) (*BackendController, error) + func (b *BackendController) HandleCleanup(ctx context.Context, lb *lbv1.ExternalLoadBalancer) error + func (b *BackendController) HandleMonitors(ctx context.Context, monitor *lbv1.Monitor) error + func (b *BackendController) HandlePool(ctx context.Context, pool *lbv1.Pool, monitor *lbv1.Monitor) error + func (b *BackendController) HandleVIP(ctx context.Context, v *lbv1.VIP) error + type Provider interface + Close func() error + Connect func() error + Create func(context.Context, lbv1.Provider, string, string) error + CreateMonitor func(*lbv1.Monitor) error + CreatePool func(*lbv1.Pool) error + CreatePoolMember func(*lbv1.PoolMember, *lbv1.Pool) error + CreateVIP func(*lbv1.VIP) error + DeleteMonitor func(*lbv1.Monitor) error + DeletePool func(*lbv1.Pool) error + DeletePoolMember func(*lbv1.PoolMember, *lbv1.Pool) error + DeleteVIP func(*lbv1.VIP) error + EditMonitor func(*lbv1.Monitor) error + EditPool func(*lbv1.Pool) error + EditPoolMember func(*lbv1.PoolMember, *lbv1.Pool, string) error + EditVIP func(*lbv1.VIP) error + GetMonitor func(*lbv1.Monitor) (*lbv1.Monitor, error) + GetPool func(*lbv1.Pool) (*lbv1.Pool, error) + GetPoolMembers func(*lbv1.Pool) (*lbv1.Pool, error) + GetVIP func(*lbv1.VIP) (*lbv1.VIP, error)