Versions in this module Expand all Collapse all v1 v1.19.1 Oct 25, 2022 Changes in this version + func GwServiceKeyFunc(obj interface{}) (string, error) + type GWUpdater struct + func NewGWUpdater() *GWUpdater + func (updater *GWUpdater) SetGWClient(gwClient gw.Interface) + func (updater *GWUpdater) SetOption(opt *Option) + func (updater *GWUpdater) SetServiceClient(svcClient svcclient.Client) + func (updater *GWUpdater) Update() error + type Option struct + BackendIPType string + Cluster string + DomainLabelKey string + GwBizID string + GwZkHosts string + GwZkPath string + Kubeconfig string + NodeSyncPeriod int + PathLabelKey string + Port int + PortLabelKey string + ProxyPortLabelKey string + ServiceLabel map[string]string + ServiceRegistry string + SyncPeriod int + UpdatePeriod int + type Processor struct + func NewProcessor(opt *Option) (*Processor, error) + func (p *Processor) Handle() + func (p *Processor) Run() + func (p *Processor) SetUpdated() + func (p *Processor) Stop() + type TLSOption struct + CaFile string + ClientCertFile string + ClientKeyFile string + ServerCertFile string + ServerKeyFile string + type Updater interface + Update func() error