Documentation
¶
Overview ¶
SPDX-FileCopyrightText: 2024 Paulo Almeida <almeidapaulopt@gmail.com> SPDX-License-Identifier: MIT
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TargetEvent ¶
type TargetEvent struct { TargetProvider TargetProvider ID string Action ActionType }
type TargetProvider ¶
type TargetProvider interface { GetAllProxies() (map[string]*proxyconfig.Config, error) WatchEvents(ctx context.Context, eventsChan chan TargetEvent, errChan chan error) GetDefaultProxyProviderName() string Close() AddTarget(id string) (*proxyconfig.Config, error) DeleteProxy(id string) error }
TargetProvider interface to be implemented by all target providers
Click to show internal directories.
Click to hide internal directories.