package
Version:
v0.0.0-...-1aad45e
Opens a new window with list of versions in this module.
Published: Aug 27, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Director interface {
Start() error
Stop() error
}
A director is the control flow for kube2ipvs. It can only be started once, and it can only be stopped once.
func NewDirector(ctx context.Context, nodeName, configKey string, cleanup bool, watcher *watcher.Watcher, ipvs *system.IPVS, ip *system.IP, ipt *iptables.IPTables, colocationMode string, forcedReconfigure bool) (Director, error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.