Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Name string `default:"proxy" desc:"Pod Name"` ServiceName string `default:"proxy" desc:"Name of the Network Service" split_words:"true"` ConnectTo url.URL `default:"unix:///var/lib/networkservicemesh/nsm.io.sock" desc:"url to connect to NSM" split_words:"true"` DialTimeout time.Duration `default:"5s" desc:"timeout to dial NSMgr" split_words:"true"` RequestTimeout time.Duration `default:"15s" desc:"timeout to request NSE" split_words:"true"` MaxTokenLifetime time.Duration `default:"24h" desc:"maximum lifetime of tokens" split_words:"true"` IPAMService string `default:"ipam-service:7777" desc:"IP (or domain) and port of the IPAM Service" split_words:"true"` Host string `default:"" desc:"Host name the proxy is running on" split_words:"true"` NetworkServiceName string `default:"load-balancer" desc:"Name of the network service the proxy request the connection" split_words:"true"` Namespace string `default:"default" desc:"Namespace the pod is running on" split_words:"true"` Trench string `default:"default" desc:"Trench the pod is running on" split_words:"true"` Conduit string `default:"load-balancer" desc:"Name of the conduit" split_words:"true"` NSPServiceName string `default:"nsp-service" desc:"IP (or domain) of the NSP Service" split_words:"true"` NSPServicePort int `default:"7778" desc:"port of the NSP Service" split_words:"true"` IPFamily string `default:"dualstack" desc:"ip family" envconfig:"ip_family"` LogLevel string `default:"DEBUG" desc:"Log level" split_words:"true"` MTU int `default:"1500" desc:"Conduit MTU considered by local NSCs and NSE composing the network mesh" split_words:"true"` GRPCKeepaliveTime time.Duration `default:"30s" desc:"gRPC keepalive timeout"` GRPCProbeRPCTimeout time.Duration `default:"1s" desc:"RPC timeout of internal gRPC health probe" envconfig:"grpc_probe_rpc_timeout"` GRPCMaxBackoff time.Duration `default:"5s" desc:"Upper bound on gRPC connection backoff delay" envconfig:"grpc_max_backoff"` IPReleaseDelay time.Duration `default:"20s" desc:"delay releasing IP address of NSM connection" envconfig:"ip_release_delay"` }
Config for the proxy
Click to show internal directories.
Click to hide internal directories.