Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerOptions ¶
type ServerOptions struct { KubeConfig string BindAddr string InsecureBindAddr string CertDNSNames string CertIPs string CertDir string Version bool EnableIptables bool EnableDNSController bool EgressSelectorEnabled bool IptablesSyncPeriod int DNSSyncPeriod int TunnelAgentConnectPort string SecurePort string InsecurePort string MetaPort string ServerCount int ProxyStrategy string }
ServerOptions has the information that required by the yurttunel-server
func NewServerOptions ¶
func NewServerOptions() *ServerOptions
NewServerOptions creates a new ServerOptions
func (*ServerOptions) AddFlags ¶
func (o *ServerOptions) AddFlags(fs *pflag.FlagSet)
AddFlags returns flags for a specific yurttunnel-agent by section name
func (*ServerOptions) Validate ¶
func (o *ServerOptions) Validate() error
Validate validates the YurttunnelServerOptions
Click to show internal directories.
Click to hide internal directories.