Documentation ¶
Index ¶
- Variables
- type HumanReadableEvent
- func (*HumanReadableEvent) Descriptor() ([]byte, []int)deprecated
- func (x *HumanReadableEvent) GetDetails() string
- func (x *HumanReadableEvent) GetEventType() string
- func (x *HumanReadableEvent) GetIssuer() string
- func (x *HumanReadableEvent) GetIssuerId() string
- func (x *HumanReadableEvent) GetWhen() string
- func (*HumanReadableEvent) ProtoMessage()
- func (x *HumanReadableEvent) ProtoReflect() protoreflect.Message
- func (x *HumanReadableEvent) Reset()
- func (x *HumanReadableEvent) String() string
- func (m *HumanReadableEvent) Validate() error
- func (m *HumanReadableEvent) ValidateAll() error
- type HumanReadableEventMultiError
- type HumanReadableEventValidationError
- func (e HumanReadableEventValidationError) Cause() error
- func (e HumanReadableEventValidationError) Error() string
- func (e HumanReadableEventValidationError) ErrorName() string
- func (e HumanReadableEventValidationError) Field() string
- func (e HumanReadableEventValidationError) Key() bool
- func (e HumanReadableEventValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_api_domain_audit_event_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type HumanReadableEvent ¶
type HumanReadableEvent struct { // the timestamp when the event occurred When string `protobuf:"bytes,1,opt,name=when,proto3" json:"when,omitempty"` // issuer name of the event Issuer string `protobuf:"bytes,2,opt,name=issuer,proto3" json:"issuer,omitempty"` // the uuid of the issuer IssuerId string `protobuf:"bytes,3,opt,name=issuer_id,json=issuerId,proto3" json:"issuer_id,omitempty"` // type of the event as defined in monoskope EventType string `protobuf:"bytes,4,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"` // human readable description of what happens after the event is applied Details string `protobuf:"bytes,5,opt,name=details,proto3" json:"details,omitempty"` // contains filtered or unexported fields }
human readable representation of an event for auditing
func (*HumanReadableEvent) Descriptor
deprecated
func (*HumanReadableEvent) Descriptor() ([]byte, []int)
Deprecated: Use HumanReadableEvent.ProtoReflect.Descriptor instead.
func (*HumanReadableEvent) GetDetails ¶
func (x *HumanReadableEvent) GetDetails() string
func (*HumanReadableEvent) GetEventType ¶
func (x *HumanReadableEvent) GetEventType() string
func (*HumanReadableEvent) GetIssuer ¶
func (x *HumanReadableEvent) GetIssuer() string
func (*HumanReadableEvent) GetIssuerId ¶
func (x *HumanReadableEvent) GetIssuerId() string
func (*HumanReadableEvent) GetWhen ¶
func (x *HumanReadableEvent) GetWhen() string
func (*HumanReadableEvent) ProtoMessage ¶
func (*HumanReadableEvent) ProtoMessage()
func (*HumanReadableEvent) ProtoReflect ¶
func (x *HumanReadableEvent) ProtoReflect() protoreflect.Message
func (*HumanReadableEvent) Reset ¶
func (x *HumanReadableEvent) Reset()
func (*HumanReadableEvent) String ¶
func (x *HumanReadableEvent) String() string
func (*HumanReadableEvent) Validate ¶
func (m *HumanReadableEvent) Validate() error
Validate checks the field values on HumanReadableEvent with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*HumanReadableEvent) ValidateAll ¶
func (m *HumanReadableEvent) ValidateAll() error
ValidateAll checks the field values on HumanReadableEvent with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HumanReadableEventMultiError, or nil if none found.
type HumanReadableEventMultiError ¶
type HumanReadableEventMultiError []error
HumanReadableEventMultiError is an error wrapping multiple validation errors returned by HumanReadableEvent.ValidateAll() if the designated constraints aren't met.
func (HumanReadableEventMultiError) AllErrors ¶
func (m HumanReadableEventMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HumanReadableEventMultiError) Error ¶
func (m HumanReadableEventMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HumanReadableEventValidationError ¶
type HumanReadableEventValidationError struct {
// contains filtered or unexported fields
}
HumanReadableEventValidationError is the validation error returned by HumanReadableEvent.Validate if the designated constraints aren't met.
func (HumanReadableEventValidationError) Cause ¶
func (e HumanReadableEventValidationError) Cause() error
Cause function returns cause value.
func (HumanReadableEventValidationError) Error ¶
func (e HumanReadableEventValidationError) Error() string
Error satisfies the builtin error interface
func (HumanReadableEventValidationError) ErrorName ¶
func (e HumanReadableEventValidationError) ErrorName() string
ErrorName returns error name.
func (HumanReadableEventValidationError) Field ¶
func (e HumanReadableEventValidationError) Field() string
Field function returns field value.
func (HumanReadableEventValidationError) Key ¶
func (e HumanReadableEventValidationError) Key() bool
Key function returns key value.
func (HumanReadableEventValidationError) Reason ¶
func (e HumanReadableEventValidationError) Reason() string
Reason function returns reason value.