Documentation ¶
Overview ¶
Package server implements the gRPC server of the audit log agent.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditLogAgent ¶
type AuditLogAgent struct { api.UnimplementedAuditLogAgentServer // contains filtered or unexported fields }
AuditLogAgent is the implementation of the audit log agent server.
func NewAuditLogAgent ¶
func NewAuditLogAgent(client *audit.Client) (*AuditLogAgent, error)
NewAuditLogAgent creates a new AuditLogAgent.
func (*AuditLogAgent) ProcessLog ¶
func (a *AuditLogAgent) ProcessLog(ctx context.Context, logReq *api.AuditLogRequest) (*api.AuditLogResponse, error)
ProcessLog processes the log requests by calling the internal client.
Click to show internal directories.
Click to hide internal directories.