audit

package
v1.36.0-20240814194646... Latest Latest
Warning

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

Go to latest
Published: unknown License: MIT Imports: 5 Imported by: 0

Documentation

Index

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

func (x *Actor) GetAuthentication() string

func (*Actor) GetEmail

func (x *Actor) GetEmail() string

func (*Actor) GetIp

func (x *Actor) GetIp() string

func (*Actor) GetName

func (x *Actor) GetName() string

func (*Actor) GetPicture

func (x *Actor) GetPicture() string

func (*Actor) ProtoMessage

func (*Actor) ProtoMessage()

func (*Actor) ProtoReflect

func (x *Actor) ProtoReflect() protoreflect.Message

func (*Actor) Reset

func (x *Actor) Reset()

func (*Actor) SetAuthentication

func (x *Actor) SetAuthentication(v string)

func (*Actor) SetEmail

func (x *Actor) SetEmail(v string)

func (*Actor) SetIp

func (x *Actor) SetIp(v string)

func (*Actor) SetName

func (x *Actor) SetName(v string)

func (*Actor) SetPicture

func (x *Actor) SetPicture(v string)

func (*Actor) String

func (x *Actor) String() string

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

func (x *Event) ClearMetadata()

func (*Event) ClearPayload

func (x *Event) ClearPayload()

func (*Event) ClearStatus

func (x *Event) ClearStatus()

func (*Event) ClearTimestamp

func (x *Event) ClearTimestamp()

func (*Event) GetAction

func (x *Event) GetAction() string

func (*Event) GetMetadata

func (x *Event) GetMetadata() *Metadata

func (*Event) GetPayload

func (x *Event) GetPayload() *structpb.Struct

func (*Event) GetStatus

func (x *Event) GetStatus() string

func (*Event) GetTimestamp

func (x *Event) GetTimestamp() *timestamppb.Timestamp

func (*Event) GetType

func (x *Event) GetType() string

func (*Event) GetVersion

func (x *Event) GetVersion() string

func (*Event) HasMetadata

func (x *Event) HasMetadata() bool

func (*Event) HasPayload

func (x *Event) HasPayload() bool

func (*Event) HasStatus

func (x *Event) HasStatus() bool

func (*Event) HasTimestamp

func (x *Event) HasTimestamp() bool

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

func (x *Event) ProtoReflect() protoreflect.Message

func (*Event) Reset

func (x *Event) Reset()

func (*Event) SetAction

func (x *Event) SetAction(v string)

func (*Event) SetMetadata

func (x *Event) SetMetadata(v *Metadata)

func (*Event) SetPayload

func (x *Event) SetPayload(v *structpb.Struct)

func (*Event) SetStatus

func (x *Event) SetStatus(v string)

func (*Event) SetTimestamp

func (x *Event) SetTimestamp(v *timestamppb.Timestamp)

func (*Event) SetType

func (x *Event) SetType(v string)

func (*Event) SetVersion

func (x *Event) SetVersion(v string)

func (*Event) String

func (x *Event) String() string

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

func (x *Metadata) ClearActor()

func (*Metadata) GetActor

func (x *Metadata) GetActor() *Actor

func (*Metadata) HasActor

func (x *Metadata) HasActor() bool

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

func (x *Metadata) ProtoReflect() protoreflect.Message

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) SetActor

func (x *Metadata) SetActor(v *Actor)

func (*Metadata) String

func (x *Metadata) String() string

type Metadata_builder

type Metadata_builder struct {
	Actor *Actor
	// contains filtered or unexported fields
}

func (Metadata_builder) Build

func (b0 Metadata_builder) Build() *Metadata

Jump to

Keyboard shortcuts

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