Documentation ¶
Index ¶
- type DNSProxier
- type MockFQDNProxy
- func (m MockFQDNProxy) Cleanup()
- func (m MockFQDNProxy) GetBindPort() uint16
- func (m MockFQDNProxy) GetRules(*versioned.VersionHandle, uint16) (restore.DNSRules, error)
- func (m MockFQDNProxy) RemoveRestoredRules(u uint16)
- func (m MockFQDNProxy) RestoreRules(op *endpoint.Endpoint)
- func (m MockFQDNProxy) SetRejectReply(s string)
- func (m MockFQDNProxy) UpdateAllowed(endpointID uint64, destPort restore.PortProto, newRules policy.L7DataMap) error
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) error GetBindPort() uint16 SetRejectReply(string) RestoreRules(op *endpoint.Endpoint) Cleanup() }
type MockFQDNProxy ¶
type MockFQDNProxy struct{}
func (MockFQDNProxy) Cleanup ¶
func (m MockFQDNProxy) Cleanup()
func (MockFQDNProxy) GetBindPort ¶
func (m MockFQDNProxy) GetBindPort() uint16
func (MockFQDNProxy) GetRules ¶
func (m MockFQDNProxy) GetRules(*versioned.VersionHandle, uint16) (restore.DNSRules, error)
func (MockFQDNProxy) RemoveRestoredRules ¶
func (m MockFQDNProxy) RemoveRestoredRules(u uint16)
func (MockFQDNProxy) RestoreRules ¶
func (m MockFQDNProxy) RestoreRules(op *endpoint.Endpoint)
func (MockFQDNProxy) SetRejectReply ¶
func (m MockFQDNProxy) SetRejectReply(s string)
func (MockFQDNProxy) UpdateAllowed ¶
Click to show internal directories.
Click to hide internal directories.