package
10.358.0+incompatible
Repository: https://github.com/aporeto-inc/trireme-lib.git
Documentation: pkg.go.dev
# Packages
Package mockrpcwrapper is a generated GoMock package.
# Functions
NewRPCServer returns an interface RPCServer.
NewRPCWrapper creates a new rpcwrapper.
NewTestRPCClient is a Test RPC Client.
NewTestRPCServer is a Test RPC Server.
RegisterTypes registers types that are exchanged between the controller and remoteenforcer.
TestNewRPCClient mocks an RPC client test.
# Constants
Payload report types.
Payload report types.
Payload report types.
IPSets forces an IPSet implementation.
IPTables forces an IPTables implementation.
Payload report types.
Payload report types.
exported consts from the package.
# Structs
DebugCollectPayload is the payload for the DebugCollect request.
DebugCollectResponsePayload is the payload for the DebugCollect response.
EnableDatapathPacketTracingPayLoad is the payload to enable nfq packet tracing in the remote container.
EnableIPTablesPacketTracingPayLoad is the payload message to enable iptable trace in remote containers.
EnforcePayload Payload for enforce request.
InitRequestPayload Payload for enforcer init request.
MockRPCHdl is mock of rpchdl.
PingPayload represents the payload for ping config.
ReportPayload is the generic report from remote enforcer.
Request exported.
Response is the response for every RPC call.
RPCHdl is a per client handle.
RPCWrapper is a struct which holds stats for all rpc sesions.
SetLogLevelPayload payload for set log level request.
SetTargetNetworksPayload carries the payload for target networks.
StatsPayload is the payload carries by the stats reporting form the remote enforcer.
TokenRequestPayload carries the payload for issuing tokens.
TokenResponsePayload returns the issued token.
UnEnforcePayload payload for unenforce request.
UpdateSecretsPayload payload for the update secrets to remote enforcers.
# Interfaces
RPCClient is the client interface.
RPCServer is the server interface.
TestRPCClient is a RPC Client used for test.
TestRPCServer is a RPC Server used for test.
# Type aliases
CaptureType identifies the type of iptables implementation that should be used.
PayloadType is the type of payload in the request.