Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInterceptAddress ¶
func SetDnsInterceptIpRange ¶ added in v0.16.45
Types ¶
type InterceptedService ¶
type InterceptedService struct { Name string Addr interceptAddress Data interface{} // interceptor-specific data attached to this intercept. intent is to provide context needed in Interceptor.StopIntercepting }
type Interceptor ¶
type LUT ¶
type LUT map[interceptAddress]InterceptedService
func (LUT) GetByAddress ¶
func (m LUT) GetByAddress(addr net.Addr) (*InterceptedService, error)
Return the service that is being intercepted at the given address, if any.
func (LUT) GetByName ¶
func (m LUT) GetByName(serviceName string) []InterceptedService
type ServiceListener ¶ added in v0.17.54
func NewServiceListener ¶ added in v0.17.54
func NewServiceListener(context ziti.Context, interceptor Interceptor, resolver dns.Resolver) *ServiceListener
func (*ServiceListener) HandleServicesChange ¶ added in v0.17.54
func (self *ServiceListener) HandleServicesChange(eventType config.ServiceEventType, service *edge.Service)
func (*ServiceListener) WaitForShutdown ¶ added in v0.17.54
func (self *ServiceListener) WaitForShutdown()
Click to show internal directories.
Click to hide internal directories.