Versions in this module Expand all Collapse all v0 v0.10.0 Nov 4, 2022 Changes in this version + func GetInterfaceNamePrefix() string + func New(stream *nspAPI.Stream, targetRegistryClient nspAPI.TargetRegistryClient, ...) (types.Stream, error) + func NewTarget(nspTarget *nspAPI.Target, netUtils networking.Utils) (types.Target, error) + func SetInterfaceNamePrefix(ns string) + type Defrag struct + func NewDefrag(excludedIfPrefix string) (*Defrag, error) + func (d *Defrag) Delete() error + type LoadBalancer struct + ConfigurationManagerClient nspAPI.ConfigurationManagerClient + IdentifierOffset int + TargetRegistryClient nspAPI.TargetRegistryClient + func (lb *LoadBalancer) AddTarget(target types.Target) error + func (lb *LoadBalancer) Delete() error + func (lb *LoadBalancer) GetTargets() []types.Target + func (lb *LoadBalancer) InterfaceCreated(intf networking.Iface) + func (lb *LoadBalancer) InterfaceDeleted(intf networking.Iface) + func (lb *LoadBalancer) RemoveTarget(identifier int) error + func (lb *LoadBalancer) Start(ctx context.Context) error + func (lb *LoadBalancer) TargetExists(identifier int) bool + type Target struct + func (t *Target) Configure(identifierOffset int) error + func (t *Target) Delete() error + func (t *Target) GetIdentifier() int + func (t *Target) GetIps() []string + func (t *Target) Verify() bool