Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPMasqAgent ¶
type IPMasqAgent struct {
// contains filtered or unexported fields
}
IPMasqAgent represents a state of the ip-masq-agent
func NewIPMasqAgent ¶
func NewIPMasqAgent(configPath string) (*IPMasqAgent, error)
func (*IPMasqAgent) Start ¶
func (a *IPMasqAgent) Start()
Start starts the ip-masq-agent goroutine which tracks the config file and updates the BPF map accordingly.
func (*IPMasqAgent) Stop ¶
func (a *IPMasqAgent) Stop()
Stop stops the ip-masq-agent goroutine and the watcher.
func (*IPMasqAgent) Update ¶
func (a *IPMasqAgent) Update() error
Update updates the ipmasq BPF map entries with ones from the config file.
Click to show internal directories.
Click to hide internal directories.