Documentation ¶
Overview ¶
Package auditlogstore is a generated protocol buffer package.
It is generated from these files:
pkg/grpc/auditlogstore/protos/audit_log_store.proto
It has these top-level messages:
ListRequest ListResponse AuditLog DeleteRequest DeleteResponse
Index ¶
- func RegisterP2AuditLogStoreServer(s *grpc.Server, srv P2AuditLogStoreServer)
- type AuditLog
- func (*AuditLog) Descriptor() ([]byte, []int)
- func (m *AuditLog) GetEventDetails() string
- func (m *AuditLog) GetEventType() string
- func (m *AuditLog) GetSchemaVersion() int64
- func (m *AuditLog) GetTimestamp() string
- func (*AuditLog) ProtoMessage()
- func (m *AuditLog) Reset()
- func (m *AuditLog) String() string
- type DeleteRequest
- type DeleteResponse
- type ListRequest
- type ListResponse
- type P2AuditLogStoreClient
- type P2AuditLogStoreServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterP2AuditLogStoreServer ¶
func RegisterP2AuditLogStoreServer(s *grpc.Server, srv P2AuditLogStoreServer)
Types ¶
type AuditLog ¶
type AuditLog struct { EventType string `protobuf:"bytes,1,opt,name=event_type,json=eventType" json:"event_type,omitempty"` EventDetails string `protobuf:"bytes,2,opt,name=event_details,json=eventDetails" json:"event_details,omitempty"` Timestamp string `protobuf:"bytes,3,opt,name=timestamp" json:"timestamp,omitempty"` SchemaVersion int64 `protobuf:"varint,4,opt,name=schema_version,json=schemaVersion" json:"schema_version,omitempty"` }
func (*AuditLog) Descriptor ¶
func (*AuditLog) GetEventDetails ¶
func (*AuditLog) GetEventType ¶
func (*AuditLog) GetSchemaVersion ¶
func (*AuditLog) GetTimestamp ¶
func (*AuditLog) ProtoMessage ¶
func (*AuditLog) ProtoMessage()
type DeleteRequest ¶
type DeleteRequest struct {
AuditLogIds []string `protobuf:"bytes,1,rep,name=audit_log_ids,json=auditLogIds" json:"audit_log_ids,omitempty"`
}
func (*DeleteRequest) Descriptor ¶
func (*DeleteRequest) Descriptor() ([]byte, []int)
func (*DeleteRequest) GetAuditLogIds ¶
func (m *DeleteRequest) GetAuditLogIds() []string
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) Reset ¶
func (m *DeleteRequest) Reset()
func (*DeleteRequest) String ¶
func (m *DeleteRequest) String() string
type DeleteResponse ¶
type DeleteResponse struct { }
func (*DeleteResponse) Descriptor ¶
func (*DeleteResponse) Descriptor() ([]byte, []int)
func (*DeleteResponse) ProtoMessage ¶
func (*DeleteResponse) ProtoMessage()
func (*DeleteResponse) Reset ¶
func (m *DeleteResponse) Reset()
func (*DeleteResponse) String ¶
func (m *DeleteResponse) String() string
type ListRequest ¶
type ListRequest struct { }
func (*ListRequest) Descriptor ¶
func (*ListRequest) Descriptor() ([]byte, []int)
func (*ListRequest) ProtoMessage ¶
func (*ListRequest) ProtoMessage()
func (*ListRequest) Reset ¶
func (m *ListRequest) Reset()
func (*ListRequest) String ¶
func (m *ListRequest) String() string
type ListResponse ¶
type ListResponse struct {
AuditLogs map[string]*AuditLog `` /* 155-byte string literal not displayed */
}
func (*ListResponse) Descriptor ¶
func (*ListResponse) Descriptor() ([]byte, []int)
func (*ListResponse) GetAuditLogs ¶
func (m *ListResponse) GetAuditLogs() map[string]*AuditLog
func (*ListResponse) ProtoMessage ¶
func (*ListResponse) ProtoMessage()
func (*ListResponse) Reset ¶
func (m *ListResponse) Reset()
func (*ListResponse) String ¶
func (m *ListResponse) String() string
type P2AuditLogStoreClient ¶
type P2AuditLogStoreClient interface { List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) }
func NewP2AuditLogStoreClient ¶
func NewP2AuditLogStoreClient(cc *grpc.ClientConn) P2AuditLogStoreClient
type P2AuditLogStoreServer ¶
type P2AuditLogStoreServer interface { List(context.Context, *ListRequest) (*ListResponse, error) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) }
Click to show internal directories.
Click to hide internal directories.