Documentation
¶
Index ¶
- Variables
- type Actor
- func (x *Actor) GetAuthentication() string
- func (x *Actor) GetEmail() string
- func (x *Actor) GetIp() string
- func (x *Actor) GetName() string
- func (x *Actor) GetPicture() string
- func (*Actor) ProtoMessage()
- func (x *Actor) ProtoReflect() protoreflect.Message
- func (x *Actor) Reset()
- func (x *Actor) SetAuthentication(v string)
- func (x *Actor) SetEmail(v string)
- func (x *Actor) SetIp(v string)
- func (x *Actor) SetName(v string)
- func (x *Actor) SetPicture(v string)
- func (x *Actor) String() string
- type Actor_builder
- type Event
- func (x *Event) ClearMetadata()
- func (x *Event) ClearPayload()
- func (x *Event) ClearStatus()
- func (x *Event) ClearTimestamp()
- func (x *Event) GetAction() string
- func (x *Event) GetMetadata() *Metadata
- func (x *Event) GetPayload() *structpb.Struct
- func (x *Event) GetStatus() string
- func (x *Event) GetTimestamp() *timestamppb.Timestamp
- func (x *Event) GetType() string
- func (x *Event) GetVersion() string
- func (x *Event) HasMetadata() bool
- func (x *Event) HasPayload() bool
- func (x *Event) HasStatus() bool
- func (x *Event) HasTimestamp() bool
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) SetAction(v string)
- func (x *Event) SetMetadata(v *Metadata)
- func (x *Event) SetPayload(v *structpb.Struct)
- func (x *Event) SetStatus(v string)
- func (x *Event) SetTimestamp(v *timestamppb.Timestamp)
- func (x *Event) SetType(v string)
- func (x *Event) SetVersion(v string)
- func (x *Event) String() string
- type Event_builder
- type Metadata
- type Metadata_builder
Constants ¶
This section is empty.
Variables ¶
View Source
var File_audit_event_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Actor ¶
type Actor struct { Authentication string `protobuf:"bytes,1,opt,name=authentication,proto3" json:"authentication,omitempty"` Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"` Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Picture string `protobuf:"bytes,5,opt,name=picture,proto3" json:"picture,omitempty"` // contains filtered or unexported fields }
func (*Actor) ProtoReflect ¶
func (x *Actor) ProtoReflect() protoreflect.Message
type Actor_builder ¶
type Actor_builder struct { Authentication string Ip string Email string Name string Picture string // contains filtered or unexported fields }
func (Actor_builder) Build ¶
func (b0 Actor_builder) Build() *Actor
type Event ¶
type Event struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"` Metadata *Metadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` Payload *structpb.Struct `protobuf:"bytes,5,opt,name=payload,proto3,oneof" json:"payload,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Status *string `protobuf:"bytes,7,opt,name=status,proto3,oneof" json:"status,omitempty"` // contains filtered or unexported fields }
func (*Event) GetTimestamp ¶
func (x *Event) GetTimestamp() *timestamppb.Timestamp
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
func (*Event) SetTimestamp ¶
func (x *Event) SetTimestamp(v *timestamppb.Timestamp)
type Event_builder ¶
type Event_builder struct { Version string Type string Action string Metadata *Metadata Payload *structpb.Struct Timestamp *timestamppb.Timestamp Status *string // contains filtered or unexported fields }
func (Event_builder) Build ¶
func (b0 Event_builder) Build() *Event
type Metadata ¶
type Metadata struct { Actor *Actor `protobuf:"bytes,1,opt,name=actor,proto3,oneof" json:"actor,omitempty"` // contains filtered or unexported fields }
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
type Metadata_builder ¶
type Metadata_builder struct { Actor *Actor // contains filtered or unexported fields }
func (Metadata_builder) Build ¶
func (b0 Metadata_builder) Build() *Metadata
Click to show internal directories.
Click to hide internal directories.