proxy

package
v1.18.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2025 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DNSProxier

type DNSProxier interface {
	GetRules(*versioned.VersionHandle, uint16) (restore.DNSRules, error)
	RemoveRestoredRules(uint16)
	UpdateAllowed(endpointID uint64, destPort restore.PortProto, newRules policy.L7DataMap) (revert.RevertFunc, error)
	GetBindPort() uint16
	RestoreRules(op *endpoint.Endpoint)
	Cleanup()

	Listen(port uint16) error
}

type MockFQDNProxy

type MockFQDNProxy struct{}

func (MockFQDNProxy) Cleanup

func (m MockFQDNProxy) Cleanup()

func (MockFQDNProxy) GetBindPort

func (m MockFQDNProxy) GetBindPort() uint16

func (MockFQDNProxy) GetRules

func (MockFQDNProxy) Listen added in v1.18.0

func (m MockFQDNProxy) Listen(uint16) error

func (MockFQDNProxy) RemoveRestoredRules

func (m MockFQDNProxy) RemoveRestoredRules(u uint16)

func (MockFQDNProxy) RestoreRules

func (m MockFQDNProxy) RestoreRules(op *endpoint.Endpoint)

func (MockFQDNProxy) UpdateAllowed

func (m MockFQDNProxy) UpdateAllowed(endpointID uint64, destPort restore.PortProto, newRules policy.L7DataMap) (revert.RevertFunc, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL