Versions in this module Expand all Collapse all v0 v0.1.27 Jul 7, 2026 v0.1.26 Jul 7, 2026 v0.1.25 Jun 30, 2026 v0.1.24 Jun 29, 2026 v0.1.23 Jun 28, 2026 Changes in this version + const ConflictPolicyFailFast + const ErrorDataplaneDrift + const ErrorDataplaneUnsupportedRule + const ErrorHAProxyValidateFailed + const ErrorListenerConflict + const ErrorListenerOwnedByExternalProcess + const ErrorListenerOwnedByOtherPrismInstance + const ErrorNFTablesLocked + const ModeAuto + const ModeHAProxy + const ModeNFTables + const ModeNative + type Backend interface + Apply func(ctx context.Context, snapshot agent.ConfigSnapshot) error + Capabilities func() Capabilities + CleanupOwnedState func(ctx context.Context) error + Close func() error + Name func() string + Status func(ctx context.Context) Status + type Capabilities struct + HostnameTarget bool + KernelL4 bool + ProxyProtocolIn bool + ProxyProtocolOut bool + TCP bool + TLSSNI bool + TargetGroup bool + UDP bool + type CommandRunner interface + CombinedOutput func(ctx context.Context, name string, args ...string) ([]byte, error) + Start func(ctx context.Context, name string, args ...string) error + type HAProxyBackend struct + func NewHAProxyBackend(options Options) *HAProxyBackend + func (backend *HAProxyBackend) AgentMetrics() agent.MetricsPayload + func (backend *HAProxyBackend) Apply(ctx context.Context, snapshot agent.ConfigSnapshot) error + func (backend *HAProxyBackend) Capabilities() Capabilities + func (backend *HAProxyBackend) CleanupOwnedState(context.Context) error + func (backend *HAProxyBackend) Close() error + func (backend *HAProxyBackend) Name() string + func (backend *HAProxyBackend) Status(context.Context) Status + type Manager struct + func NewManager(options Options) *Manager + func (manager *Manager) AgentMetrics() agent.MetricsPayload + func (manager *Manager) Apply(ctx context.Context, snapshot agent.ConfigSnapshot) error + func (manager *Manager) CleanupOwnedState(ctx context.Context) error + func (manager *Manager) Close() error + func (manager *Manager) ResolvedDataplanes() map[string]string + type NFTablesBackend struct + func NewNFTablesBackend(options Options) *NFTablesBackend + func (backend *NFTablesBackend) AgentMetrics() agent.MetricsPayload + func (backend *NFTablesBackend) Apply(ctx context.Context, snapshot agent.ConfigSnapshot) error + func (backend *NFTablesBackend) Capabilities() Capabilities + func (backend *NFTablesBackend) CleanupOwnedState(ctx context.Context) error + func (backend *NFTablesBackend) Close() error + func (backend *NFTablesBackend) Name() string + func (backend *NFTablesBackend) Status(context.Context) Status + type NativeBackend struct + func (backend *NativeBackend) AgentMetrics() agent.MetricsPayload + func (backend *NativeBackend) Apply(ctx context.Context, snapshot agent.ConfigSnapshot) error + func (backend *NativeBackend) Capabilities() Capabilities + func (backend *NativeBackend) CleanupOwnedState(ctx context.Context) error + func (backend *NativeBackend) Close() error + func (backend *NativeBackend) Name() string + func (backend *NativeBackend) Status(context.Context) Status + type Options struct + CommandRunner CommandRunner + ConflictPolicy string + ExternalBackends bool + HAProxyPath string + InstallDir string + InstanceID string + Mode string + NFTPath string + RunDir string + ServiceName string + StateDir string + type Status struct + Available bool + Dataplane string + DriftStatus string + Error string + ExternalResource string + Health string + LastApplyHash string + Owner string + Version string