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
- type UserOverview
- func (*UserOverview) Descriptor() ([]byte, []int)deprecated
- func (x *UserOverview) GetClusters() string
- func (x *UserOverview) GetDetails() string
- func (x *UserOverview) GetEmail() string
- func (x *UserOverview) GetName() string
- func (x *UserOverview) GetRoles() string
- func (x *UserOverview) GetTenants() string
- func (*UserOverview) ProtoMessage()
- func (x *UserOverview) ProtoReflect() protoreflect.Message
- func (x *UserOverview) Reset()
- func (x *UserOverview) String() string
- func (m *UserOverview) Validate() error
- func (m *UserOverview) ValidateAll() error
- type UserOverviewMultiError
- type UserOverviewValidationError
- func (e UserOverviewValidationError) Cause() error
- func (e UserOverviewValidationError) Error() string
- func (e UserOverviewValidationError) ErrorName() string
- func (e UserOverviewValidationError) Field() string
- func (e UserOverviewValidationError) Key() bool
- func (e UserOverviewValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_api_domain_audit_event_proto protoreflect.FileDescriptor
var File_api_domain_audit_user_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.
type UserOverview ¶ added in v0.3.6
type UserOverview struct { // the name of the user Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // the email of the user Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` // roles of the user in general Roles string `protobuf:"bytes,3,opt,name=roles,proto3" json:"roles,omitempty"` // tenants the user has access to including his role Tenants string `protobuf:"bytes,4,opt,name=tenants,proto3" json:"tenants,omitempty"` // clusters the user has access to including his role Clusters string `protobuf:"bytes,5,opt,name=clusters,proto3" json:"clusters,omitempty"` // human readable description of the user life-cycle Details string `protobuf:"bytes,6,opt,name=details,proto3" json:"details,omitempty"` // contains filtered or unexported fields }
human readable representation of a user for auditing
func (*UserOverview) Descriptor
deprecated
added in
v0.3.6
func (*UserOverview) Descriptor() ([]byte, []int)
Deprecated: Use UserOverview.ProtoReflect.Descriptor instead.
func (*UserOverview) GetClusters ¶ added in v0.3.6
func (x *UserOverview) GetClusters() string
func (*UserOverview) GetDetails ¶ added in v0.3.6
func (x *UserOverview) GetDetails() string
func (*UserOverview) GetEmail ¶ added in v0.3.6
func (x *UserOverview) GetEmail() string
func (*UserOverview) GetName ¶ added in v0.3.6
func (x *UserOverview) GetName() string
func (*UserOverview) GetRoles ¶ added in v0.3.6
func (x *UserOverview) GetRoles() string
func (*UserOverview) GetTenants ¶ added in v0.3.6
func (x *UserOverview) GetTenants() string
func (*UserOverview) ProtoMessage ¶ added in v0.3.6
func (*UserOverview) ProtoMessage()
func (*UserOverview) ProtoReflect ¶ added in v0.3.6
func (x *UserOverview) ProtoReflect() protoreflect.Message
func (*UserOverview) Reset ¶ added in v0.3.6
func (x *UserOverview) Reset()
func (*UserOverview) String ¶ added in v0.3.6
func (x *UserOverview) String() string
func (*UserOverview) Validate ¶ added in v0.3.6
func (m *UserOverview) Validate() error
Validate checks the field values on UserOverview 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 (*UserOverview) ValidateAll ¶ added in v0.3.6
func (m *UserOverview) ValidateAll() error
ValidateAll checks the field values on UserOverview 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 UserOverviewMultiError, or nil if none found.
type UserOverviewMultiError ¶ added in v0.3.6
type UserOverviewMultiError []error
UserOverviewMultiError is an error wrapping multiple validation errors returned by UserOverview.ValidateAll() if the designated constraints aren't met.
func (UserOverviewMultiError) AllErrors ¶ added in v0.3.6
func (m UserOverviewMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserOverviewMultiError) Error ¶ added in v0.3.6
func (m UserOverviewMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserOverviewValidationError ¶ added in v0.3.6
type UserOverviewValidationError struct {
// contains filtered or unexported fields
}
UserOverviewValidationError is the validation error returned by UserOverview.Validate if the designated constraints aren't met.
func (UserOverviewValidationError) Cause ¶ added in v0.3.6
func (e UserOverviewValidationError) Cause() error
Cause function returns cause value.
func (UserOverviewValidationError) Error ¶ added in v0.3.6
func (e UserOverviewValidationError) Error() string
Error satisfies the builtin error interface
func (UserOverviewValidationError) ErrorName ¶ added in v0.3.6
func (e UserOverviewValidationError) ErrorName() string
ErrorName returns error name.
func (UserOverviewValidationError) Field ¶ added in v0.3.6
func (e UserOverviewValidationError) Field() string
Field function returns field value.
func (UserOverviewValidationError) Key ¶ added in v0.3.6
func (e UserOverviewValidationError) Key() bool
Key function returns key value.
func (UserOverviewValidationError) Reason ¶ added in v0.3.6
func (e UserOverviewValidationError) Reason() string
Reason function returns reason value.