Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetdConfig ¶
type NetdConfig struct {
EnablePolicyRouting bool
EnableSourceValidMark bool
ExcludeDNS bool
EnableMasquerade bool
ReconcileInterval time.Duration
}
NetdConfig defines the netd config
func (*NetdConfig) AddFlags ¶
func (nc *NetdConfig) AddFlags(fs *pflag.FlagSet)
AddFlags init flags from pflag
Click to show internal directories.
Click to hide internal directories.