auditlogstore

package
v0.0.0-...-8223eb1 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

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

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) Descriptor() ([]byte, []int)

func (*AuditLog) GetEventDetails

func (m *AuditLog) GetEventDetails() string

func (*AuditLog) GetEventType

func (m *AuditLog) GetEventType() string

func (*AuditLog) GetSchemaVersion

func (m *AuditLog) GetSchemaVersion() int64

func (*AuditLog) GetTimestamp

func (m *AuditLog) GetTimestamp() string

func (*AuditLog) ProtoMessage

func (*AuditLog) ProtoMessage()

func (*AuditLog) Reset

func (m *AuditLog) Reset()

func (*AuditLog) String

func (m *AuditLog) String() string

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

Jump to

Keyboard shortcuts

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