test

package
v1.14.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

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

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

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)

Jump to

Keyboard shortcuts

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