Documentation
¶
Index ¶
- func BuildProxyHeader(info ProxyInfo) ([]byte, error)
- func StartTCPForwarder(ctx context.Context, listenAddress string, targetAddress string) (string, func(), error)
- func StartUDPForwarder(ctx context.Context, listenAddress string, targetAddress string) (string, func(), error)
- type Metrics
- type ProxyInfo
- type ProxyProtocolVersion
- type Supervisor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildProxyHeader ¶
func StartTCPForwarder ¶
Types ¶
type ProxyInfo ¶
type ProxyProtocolVersion ¶
type ProxyProtocolVersion int
const ( ProxyProtocolNone ProxyProtocolVersion = iota ProxyProtocolV1 ProxyProtocolV2 )
type Supervisor ¶
type Supervisor struct {
// contains filtered or unexported fields
}
func NewSupervisor ¶
func NewSupervisor() *Supervisor
func (*Supervisor) AgentMetrics ¶
func (supervisor *Supervisor) AgentMetrics() agent.MetricsPayload
func (*Supervisor) Apply ¶
func (supervisor *Supervisor) Apply(ctx context.Context, snapshot agent.ConfigSnapshot) error
func (*Supervisor) Close ¶
func (supervisor *Supervisor) Close()
func (*Supervisor) Metrics ¶
func (supervisor *Supervisor) Metrics() Metrics
Click to show internal directories.
Click to hide internal directories.