Documentation ¶
Index ¶
- type ProxyUpdaterMock
- func (m *ProxyUpdaterMock) ConntrackName() string
- func (m *ProxyUpdaterMock) ConntrackNameLocked() string
- func (m *ProxyUpdaterMock) GetEgressPolicyEnabledLocked() bool
- func (m *ProxyUpdaterMock) GetID() uint64
- func (m *ProxyUpdaterMock) GetIPv4Address() string
- func (m *ProxyUpdaterMock) GetIPv6Address() string
- func (m *ProxyUpdaterMock) GetIdentityLocked() identity.NumericIdentity
- func (m *ProxyUpdaterMock) GetIngressPolicyEnabledLocked() bool
- func (m *ProxyUpdaterMock) GetLabels() []string
- func (m *ProxyUpdaterMock) GetNamedPort(bool, string, uint8) uint16
- func (m *ProxyUpdaterMock) HasSidecarProxy() bool
- func (m *ProxyUpdaterMock) OnDNSPolicyUpdateLocked(rules restore.DNSRules)
- func (m *ProxyUpdaterMock) OnProxyPolicyUpdate(policyRevision uint64)
- func (m *ProxyUpdaterMock) RUnlock()
- func (m *ProxyUpdaterMock) UnconditionalRLock()
- func (m *ProxyUpdaterMock) UpdateProxyStatistics(l4Protocol string, port uint16, ingress, request bool, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProxyUpdaterMock ¶
type ProxyUpdaterMock struct { lock.RWMutex Id uint64 Ipv4 string Ipv6 string Labels []string Identity identity.NumericIdentity SidecarProxy bool }
func (*ProxyUpdaterMock) ConntrackName ¶
func (m *ProxyUpdaterMock) ConntrackName() string
func (*ProxyUpdaterMock) ConntrackNameLocked ¶
func (m *ProxyUpdaterMock) ConntrackNameLocked() string
func (*ProxyUpdaterMock) GetEgressPolicyEnabledLocked ¶
func (m *ProxyUpdaterMock) GetEgressPolicyEnabledLocked() bool
func (*ProxyUpdaterMock) GetID ¶
func (m *ProxyUpdaterMock) GetID() uint64
func (*ProxyUpdaterMock) GetIPv4Address ¶
func (m *ProxyUpdaterMock) GetIPv4Address() string
func (*ProxyUpdaterMock) GetIPv6Address ¶
func (m *ProxyUpdaterMock) GetIPv6Address() string
func (*ProxyUpdaterMock) GetIdentityLocked ¶
func (m *ProxyUpdaterMock) GetIdentityLocked() identity.NumericIdentity
func (*ProxyUpdaterMock) GetIngressPolicyEnabledLocked ¶
func (m *ProxyUpdaterMock) GetIngressPolicyEnabledLocked() bool
func (*ProxyUpdaterMock) GetLabels ¶
func (m *ProxyUpdaterMock) GetLabels() []string
func (*ProxyUpdaterMock) GetNamedPort ¶ added in v1.12.17
func (m *ProxyUpdaterMock) GetNamedPort(bool, string, uint8) uint16
func (*ProxyUpdaterMock) HasSidecarProxy ¶
func (m *ProxyUpdaterMock) HasSidecarProxy() bool
func (*ProxyUpdaterMock) OnDNSPolicyUpdateLocked ¶ added in v1.8.4
func (m *ProxyUpdaterMock) OnDNSPolicyUpdateLocked(rules restore.DNSRules)
func (*ProxyUpdaterMock) OnProxyPolicyUpdate ¶
func (m *ProxyUpdaterMock) OnProxyPolicyUpdate(policyRevision uint64)
func (*ProxyUpdaterMock) RUnlock ¶
func (m *ProxyUpdaterMock) RUnlock()
func (*ProxyUpdaterMock) UnconditionalRLock ¶
func (m *ProxyUpdaterMock) UnconditionalRLock()
func (*ProxyUpdaterMock) UpdateProxyStatistics ¶
func (m *ProxyUpdaterMock) UpdateProxyStatistics(l4Protocol string, port uint16, ingress, request bool, verdict accesslog.FlowVerdict)
Click to show internal directories.
Click to hide internal directories.