Documentation

Index

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) GetLabelsSHA

func (m *ProxyUpdaterMock) GetLabelsSHA() string

func (*ProxyUpdaterMock) GetNamedPortLocked

func (m *ProxyUpdaterMock) GetNamedPortLocked(bool, string, uint8) uint16

func (*ProxyUpdaterMock) GetProxyInfoByFields

func (m *ProxyUpdaterMock) GetProxyInfoByFields() (uint64, string, string, []string, string, uint64, error)

func (*ProxyUpdaterMock) HasSidecarProxy

func (m *ProxyUpdaterMock) HasSidecarProxy() bool

func (*ProxyUpdaterMock) OnDNSPolicyUpdateLocked

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)

Source Files