Documentation
¶
Index ¶
- Constants
- Variables
- type AppConfig
- func (x *AppConfig) Default()
- func (*AppConfig) Descriptor() ([]byte, []int)deprecated
- func (x *AppConfig) GetAuth() *Auth
- func (x *AppConfig) GetDiscord() *Discord
- func (x *AppConfig) GetJobInfo() *JobInfo
- func (x *AppConfig) GetPerms() *Perms
- func (x *AppConfig) GetUserTracker() *UserTracker
- func (x *AppConfig) GetWebsite() *Website
- func (*AppConfig) ProtoMessage()
- func (x *AppConfig) ProtoReflect() protoreflect.Message
- func (x *AppConfig) Reset()
- func (x *AppConfig) Scan(value any) error
- func (x *AppConfig) String() string
- func (m *AppConfig) Validate() error
- func (m *AppConfig) ValidateAll() error
- func (x *AppConfig) Value() (driver.Value, error)
- type AppConfigMultiError
- type AppConfigValidationError
- type AuditEntry
- func (*AuditEntry) Descriptor() ([]byte, []int)deprecated
- func (x *AuditEntry) GetCreatedAt() *timestamp.Timestamp
- func (x *AuditEntry) GetData() string
- func (x *AuditEntry) GetId() uint64
- func (x *AuditEntry) GetMethod() string
- func (x *AuditEntry) GetService() string
- func (x *AuditEntry) GetState() EventType
- func (x *AuditEntry) GetTargetUser() *users.UserShort
- func (x *AuditEntry) GetTargetUserId() int32
- func (x *AuditEntry) GetTargetUserJob() string
- func (x *AuditEntry) GetUser() *users.UserShort
- func (x *AuditEntry) GetUserId() uint64
- func (x *AuditEntry) GetUserJob() string
- func (*AuditEntry) ProtoMessage()
- func (x *AuditEntry) ProtoReflect() protoreflect.Message
- func (x *AuditEntry) Reset()
- func (x *AuditEntry) String() string
- func (m *AuditEntry) Validate() error
- func (m *AuditEntry) ValidateAll() error
- type AuditEntryMultiError
- type AuditEntryValidationError
- type Auth
- type AuthMultiError
- type AuthValidationError
- type Discord
- func (*Discord) Descriptor() ([]byte, []int)deprecated
- func (x *Discord) GetEnabled() bool
- func (x *Discord) GetInviteUrl() string
- func (x *Discord) GetSyncInterval() *durationpb.Duration
- func (*Discord) ProtoMessage()
- func (x *Discord) ProtoReflect() protoreflect.Message
- func (x *Discord) Reset()
- func (x *Discord) String() string
- func (m *Discord) Validate() error
- func (m *Discord) ValidateAll() error
- type DiscordMultiError
- type DiscordValidationError
- type EventType
- type JobInfo
- func (*JobInfo) Descriptor() ([]byte, []int)deprecated
- func (x *JobInfo) GetHiddenJobs() []string
- func (x *JobInfo) GetPublicJobs() []string
- func (x *JobInfo) GetUnemployedJob() *UnemployedJob
- func (*JobInfo) ProtoMessage()
- func (x *JobInfo) ProtoReflect() protoreflect.Message
- func (x *JobInfo) Reset()
- func (x *JobInfo) String() string
- func (m *JobInfo) Validate() error
- func (m *JobInfo) ValidateAll() error
- type JobInfoMultiError
- type JobInfoValidationError
- type Links
- func (*Links) Descriptor() ([]byte, []int)deprecated
- func (x *Links) GetImprint() string
- func (x *Links) GetPrivacyPolicy() string
- func (*Links) ProtoMessage()
- func (x *Links) ProtoReflect() protoreflect.Message
- func (x *Links) Reset()
- func (x *Links) String() string
- func (m *Links) Validate() error
- func (m *Links) ValidateAll() error
- type LinksMultiError
- type LinksValidationError
- type Perm
- func (*Perm) Descriptor() ([]byte, []int)deprecated
- func (x *Perm) GetCategory() string
- func (x *Perm) GetName() string
- func (*Perm) ProtoMessage()
- func (x *Perm) ProtoReflect() protoreflect.Message
- func (x *Perm) Reset()
- func (x *Perm) String() string
- func (m *Perm) Validate() error
- func (m *Perm) ValidateAll() error
- type PermMultiError
- type PermValidationError
- type Perms
- type PermsMultiError
- type PermsValidationError
- type UnemployedJob
- func (*UnemployedJob) Descriptor() ([]byte, []int)deprecated
- func (x *UnemployedJob) GetGrade() int32
- func (x *UnemployedJob) GetName() string
- func (*UnemployedJob) ProtoMessage()
- func (x *UnemployedJob) ProtoReflect() protoreflect.Message
- func (x *UnemployedJob) Reset()
- func (x *UnemployedJob) String() string
- func (m *UnemployedJob) Validate() error
- func (m *UnemployedJob) ValidateAll() error
- type UnemployedJobMultiError
- type UnemployedJobValidationError
- func (e UnemployedJobValidationError) Cause() error
- func (e UnemployedJobValidationError) Error() string
- func (e UnemployedJobValidationError) ErrorName() string
- func (e UnemployedJobValidationError) Field() string
- func (e UnemployedJobValidationError) Key() bool
- func (e UnemployedJobValidationError) Reason() string
- type UserTracker
- func (*UserTracker) Descriptor() ([]byte, []int)deprecated
- func (x *UserTracker) GetDbRefreshTime() *durationpb.Duration
- func (x *UserTracker) GetLivemapJobs() []string
- func (x *UserTracker) GetRefreshTime() *durationpb.Duration
- func (*UserTracker) ProtoMessage()
- func (x *UserTracker) ProtoReflect() protoreflect.Message
- func (x *UserTracker) Reset()
- func (x *UserTracker) String() string
- func (m *UserTracker) Validate() error
- func (m *UserTracker) ValidateAll() error
- type UserTrackerMultiError
- type UserTrackerValidationError
- func (e UserTrackerValidationError) Cause() error
- func (e UserTrackerValidationError) Error() string
- func (e UserTrackerValidationError) ErrorName() string
- func (e UserTrackerValidationError) Field() string
- func (e UserTrackerValidationError) Key() bool
- func (e UserTrackerValidationError) Reason() string
- type Website
- func (*Website) Descriptor() ([]byte, []int)deprecated
- func (x *Website) GetLinks() *Links
- func (*Website) ProtoMessage()
- func (x *Website) ProtoReflect() protoreflect.Message
- func (x *Website) Reset()
- func (x *Website) String() string
- func (m *Website) Validate() error
- func (m *Website) ValidateAll() error
- type WebsiteMultiError
- type WebsiteValidationError
Constants ¶
const ( DefaultUserTrackerRefreshTime = 3*time.Second + 250*time.Millisecond DefaultUserTrackerDbRefreshTime = 1 * time.Second DefaultDiscordSyncInterval = 15 * time.Minute )
Variables ¶
var ( EventType_name = map[int32]string{ 0: "EVENT_TYPE_UNSPECIFIED", 1: "EVENT_TYPE_ERRORED", 2: "EVENT_TYPE_VIEWED", 3: "EVENT_TYPE_CREATED", 4: "EVENT_TYPE_UPDATED", 5: "EVENT_TYPE_DELETED", } EventType_value = map[string]int32{ "EVENT_TYPE_UNSPECIFIED": 0, "EVENT_TYPE_ERRORED": 1, "EVENT_TYPE_VIEWED": 2, "EVENT_TYPE_CREATED": 3, "EVENT_TYPE_UPDATED": 4, "EVENT_TYPE_DELETED": 5, } )
Enum value maps for EventType.
var File_resources_rector_audit_proto protoreflect.FileDescriptor
var File_resources_rector_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶ added in v0.8.21
type AppConfig struct { Auth *Auth `protobuf:"bytes,1,opt,name=auth,proto3" json:"auth,omitempty"` Perms *Perms `protobuf:"bytes,2,opt,name=perms,proto3" json:"perms,omitempty"` Website *Website `protobuf:"bytes,3,opt,name=website,proto3" json:"website,omitempty"` JobInfo *JobInfo `protobuf:"bytes,4,opt,name=job_info,json=jobInfo,proto3" json:"job_info,omitempty"` UserTracker *UserTracker `protobuf:"bytes,5,opt,name=user_tracker,json=userTracker,proto3" json:"user_tracker,omitempty"` Discord *Discord `protobuf:"bytes,6,opt,name=discord,proto3" json:"discord,omitempty"` // contains filtered or unexported fields }
func (*AppConfig) Descriptor
deprecated
added in
v0.8.21
func (*AppConfig) GetDiscord ¶ added in v0.8.21
func (*AppConfig) GetJobInfo ¶ added in v0.8.21
func (*AppConfig) GetUserTracker ¶ added in v0.8.21
func (x *AppConfig) GetUserTracker() *UserTracker
func (*AppConfig) GetWebsite ¶ added in v0.8.21
func (*AppConfig) ProtoMessage ¶ added in v0.8.21
func (*AppConfig) ProtoMessage()
func (*AppConfig) ProtoReflect ¶ added in v0.8.21
func (x *AppConfig) ProtoReflect() protoreflect.Message
func (*AppConfig) Validate ¶ added in v0.8.21
Validate checks the field values on AppConfig 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 (*AppConfig) ValidateAll ¶ added in v0.8.21
ValidateAll checks the field values on AppConfig 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 AppConfigMultiError, or nil if none found.
type AppConfigMultiError ¶ added in v0.8.21
type AppConfigMultiError []error
AppConfigMultiError is an error wrapping multiple validation errors returned by AppConfig.ValidateAll() if the designated constraints aren't met.
func (AppConfigMultiError) AllErrors ¶ added in v0.8.21
func (m AppConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AppConfigMultiError) Error ¶ added in v0.8.21
func (m AppConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AppConfigValidationError ¶ added in v0.8.21
type AppConfigValidationError struct {
// contains filtered or unexported fields
}
AppConfigValidationError is the validation error returned by AppConfig.Validate if the designated constraints aren't met.
func (AppConfigValidationError) Cause ¶ added in v0.8.21
func (e AppConfigValidationError) Cause() error
Cause function returns cause value.
func (AppConfigValidationError) Error ¶ added in v0.8.21
func (e AppConfigValidationError) Error() string
Error satisfies the builtin error interface
func (AppConfigValidationError) ErrorName ¶ added in v0.8.21
func (e AppConfigValidationError) ErrorName() string
ErrorName returns error name.
func (AppConfigValidationError) Field ¶ added in v0.8.21
func (e AppConfigValidationError) Field() string
Field function returns field value.
func (AppConfigValidationError) Key ¶ added in v0.8.21
func (e AppConfigValidationError) Key() bool
Key function returns key value.
func (AppConfigValidationError) Reason ¶ added in v0.8.21
func (e AppConfigValidationError) Reason() string
Reason function returns reason value.
type AuditEntry ¶
type AuditEntry struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" alias:"id"` // @gotags: alias:"id" CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UserId uint64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty" alias:"user_id"` // @gotags: alias:"user_id" User *users.UserShort `protobuf:"bytes,4,opt,name=user,proto3,oneof" json:"user,omitempty"` UserJob string `protobuf:"bytes,5,opt,name=user_job,json=userJob,proto3" json:"user_job,omitempty" alias:"user_job"` // @gotags: alias:"user_job" TargetUserId *int32 `` // @gotags: alias:"target_user_id" /* 129-byte string literal not displayed */ TargetUser *users.UserShort `protobuf:"bytes,7,opt,name=target_user,json=targetUser,proto3,oneof" json:"target_user,omitempty"` TargetUserJob string `` // @gotags: alias:"target_user_job" /* 126-byte string literal not displayed */ Service string `protobuf:"bytes,9,opt,name=service,proto3" json:"service,omitempty" alias:"service"` // @gotags: alias:"service" Method string `protobuf:"bytes,10,opt,name=method,proto3" json:"method,omitempty" alias:"method"` // @gotags: alias:"method" State EventType `protobuf:"varint,11,opt,name=state,proto3,enum=resources.rector.EventType" json:"state,omitempty" alias:"state"` // @gotags: alias:"state" Data *string `protobuf:"bytes,12,opt,name=data,proto3,oneof" json:"data,omitempty" alias:"data"` // @gotags: alias:"data" // contains filtered or unexported fields }
func (*AuditEntry) Descriptor
deprecated
func (*AuditEntry) Descriptor() ([]byte, []int)
Deprecated: Use AuditEntry.ProtoReflect.Descriptor instead.
func (*AuditEntry) GetCreatedAt ¶
func (x *AuditEntry) GetCreatedAt() *timestamp.Timestamp
func (*AuditEntry) GetData ¶
func (x *AuditEntry) GetData() string
func (*AuditEntry) GetId ¶
func (x *AuditEntry) GetId() uint64
func (*AuditEntry) GetMethod ¶
func (x *AuditEntry) GetMethod() string
func (*AuditEntry) GetService ¶
func (x *AuditEntry) GetService() string
func (*AuditEntry) GetState ¶
func (x *AuditEntry) GetState() EventType
func (*AuditEntry) GetTargetUser ¶
func (x *AuditEntry) GetTargetUser() *users.UserShort
func (*AuditEntry) GetTargetUserId ¶
func (x *AuditEntry) GetTargetUserId() int32
func (*AuditEntry) GetTargetUserJob ¶ added in v0.8.14
func (x *AuditEntry) GetTargetUserJob() string
func (*AuditEntry) GetUser ¶
func (x *AuditEntry) GetUser() *users.UserShort
func (*AuditEntry) GetUserId ¶
func (x *AuditEntry) GetUserId() uint64
func (*AuditEntry) GetUserJob ¶
func (x *AuditEntry) GetUserJob() string
func (*AuditEntry) ProtoMessage ¶
func (*AuditEntry) ProtoMessage()
func (*AuditEntry) ProtoReflect ¶
func (x *AuditEntry) ProtoReflect() protoreflect.Message
func (*AuditEntry) Reset ¶
func (x *AuditEntry) Reset()
func (*AuditEntry) String ¶
func (x *AuditEntry) String() string
func (*AuditEntry) Validate ¶
func (m *AuditEntry) Validate() error
Validate checks the field values on AuditEntry 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 (*AuditEntry) ValidateAll ¶
func (m *AuditEntry) ValidateAll() error
ValidateAll checks the field values on AuditEntry 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 AuditEntryMultiError, or nil if none found.
type AuditEntryMultiError ¶
type AuditEntryMultiError []error
AuditEntryMultiError is an error wrapping multiple validation errors returned by AuditEntry.ValidateAll() if the designated constraints aren't met.
func (AuditEntryMultiError) AllErrors ¶
func (m AuditEntryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuditEntryMultiError) Error ¶
func (m AuditEntryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuditEntryValidationError ¶
type AuditEntryValidationError struct {
// contains filtered or unexported fields
}
AuditEntryValidationError is the validation error returned by AuditEntry.Validate if the designated constraints aren't met.
func (AuditEntryValidationError) Cause ¶
func (e AuditEntryValidationError) Cause() error
Cause function returns cause value.
func (AuditEntryValidationError) Error ¶
func (e AuditEntryValidationError) Error() string
Error satisfies the builtin error interface
func (AuditEntryValidationError) ErrorName ¶
func (e AuditEntryValidationError) ErrorName() string
ErrorName returns error name.
func (AuditEntryValidationError) Field ¶
func (e AuditEntryValidationError) Field() string
Field function returns field value.
func (AuditEntryValidationError) Key ¶
func (e AuditEntryValidationError) Key() bool
Key function returns key value.
func (AuditEntryValidationError) Reason ¶
func (e AuditEntryValidationError) Reason() string
Reason function returns reason value.
type Auth ¶ added in v0.8.21
type Auth struct { SignupEnabled bool `protobuf:"varint,1,opt,name=signup_enabled,json=signupEnabled,proto3" json:"signup_enabled,omitempty"` // contains filtered or unexported fields }
func (*Auth) Descriptor
deprecated
added in
v0.8.21
func (*Auth) GetSignupEnabled ¶ added in v0.8.21
func (*Auth) ProtoMessage ¶ added in v0.8.21
func (*Auth) ProtoMessage()
func (*Auth) ProtoReflect ¶ added in v0.8.21
func (x *Auth) ProtoReflect() protoreflect.Message
func (*Auth) Validate ¶ added in v0.8.21
Validate checks the field values on Auth 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 (*Auth) ValidateAll ¶ added in v0.8.21
ValidateAll checks the field values on Auth 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 AuthMultiError, or nil if none found.
type AuthMultiError ¶ added in v0.8.21
type AuthMultiError []error
AuthMultiError is an error wrapping multiple validation errors returned by Auth.ValidateAll() if the designated constraints aren't met.
func (AuthMultiError) AllErrors ¶ added in v0.8.21
func (m AuthMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthMultiError) Error ¶ added in v0.8.21
func (m AuthMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthValidationError ¶ added in v0.8.21
type AuthValidationError struct {
// contains filtered or unexported fields
}
AuthValidationError is the validation error returned by Auth.Validate if the designated constraints aren't met.
func (AuthValidationError) Cause ¶ added in v0.8.21
func (e AuthValidationError) Cause() error
Cause function returns cause value.
func (AuthValidationError) Error ¶ added in v0.8.21
func (e AuthValidationError) Error() string
Error satisfies the builtin error interface
func (AuthValidationError) ErrorName ¶ added in v0.8.21
func (e AuthValidationError) ErrorName() string
ErrorName returns error name.
func (AuthValidationError) Field ¶ added in v0.8.21
func (e AuthValidationError) Field() string
Field function returns field value.
func (AuthValidationError) Key ¶ added in v0.8.21
func (e AuthValidationError) Key() bool
Key function returns key value.
func (AuthValidationError) Reason ¶ added in v0.8.21
func (e AuthValidationError) Reason() string
Reason function returns reason value.
type Discord ¶ added in v0.8.21
type Discord struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` SyncInterval *durationpb.Duration `protobuf:"bytes,2,opt,name=sync_interval,json=syncInterval,proto3" json:"sync_interval,omitempty"` InviteUrl *string `protobuf:"bytes,3,opt,name=invite_url,json=inviteUrl,proto3,oneof" json:"invite_url,omitempty"` // contains filtered or unexported fields }
func (*Discord) Descriptor
deprecated
added in
v0.8.21
func (*Discord) GetEnabled ¶ added in v0.8.21
func (*Discord) GetInviteUrl ¶ added in v0.8.21
func (*Discord) GetSyncInterval ¶ added in v0.8.21
func (x *Discord) GetSyncInterval() *durationpb.Duration
func (*Discord) ProtoMessage ¶ added in v0.8.21
func (*Discord) ProtoMessage()
func (*Discord) ProtoReflect ¶ added in v0.8.21
func (x *Discord) ProtoReflect() protoreflect.Message
func (*Discord) Validate ¶ added in v0.8.21
Validate checks the field values on Discord 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 (*Discord) ValidateAll ¶ added in v0.8.21
ValidateAll checks the field values on Discord 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 DiscordMultiError, or nil if none found.
type DiscordMultiError ¶ added in v0.8.21
type DiscordMultiError []error
DiscordMultiError is an error wrapping multiple validation errors returned by Discord.ValidateAll() if the designated constraints aren't met.
func (DiscordMultiError) AllErrors ¶ added in v0.8.21
func (m DiscordMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DiscordMultiError) Error ¶ added in v0.8.21
func (m DiscordMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DiscordValidationError ¶ added in v0.8.21
type DiscordValidationError struct {
// contains filtered or unexported fields
}
DiscordValidationError is the validation error returned by Discord.Validate if the designated constraints aren't met.
func (DiscordValidationError) Cause ¶ added in v0.8.21
func (e DiscordValidationError) Cause() error
Cause function returns cause value.
func (DiscordValidationError) Error ¶ added in v0.8.21
func (e DiscordValidationError) Error() string
Error satisfies the builtin error interface
func (DiscordValidationError) ErrorName ¶ added in v0.8.21
func (e DiscordValidationError) ErrorName() string
ErrorName returns error name.
func (DiscordValidationError) Field ¶ added in v0.8.21
func (e DiscordValidationError) Field() string
Field function returns field value.
func (DiscordValidationError) Key ¶ added in v0.8.21
func (e DiscordValidationError) Key() bool
Key function returns key value.
func (DiscordValidationError) Reason ¶ added in v0.8.21
func (e DiscordValidationError) Reason() string
Reason function returns reason value.
type EventType ¶ added in v0.8.3
type EventType int32
func (EventType) Descriptor ¶ added in v0.8.3
func (EventType) Descriptor() protoreflect.EnumDescriptor
func (EventType) EnumDescriptor
deprecated
added in
v0.8.3
func (EventType) Number ¶ added in v0.8.3
func (x EventType) Number() protoreflect.EnumNumber
func (EventType) Type ¶ added in v0.8.3
func (EventType) Type() protoreflect.EnumType
type JobInfo ¶ added in v0.8.21
type JobInfo struct { UnemployedJob *UnemployedJob `protobuf:"bytes,1,opt,name=unemployed_job,json=unemployedJob,proto3" json:"unemployed_job,omitempty"` PublicJobs []string `protobuf:"bytes,2,rep,name=public_jobs,json=publicJobs,proto3" json:"public_jobs,omitempty"` HiddenJobs []string `protobuf:"bytes,3,rep,name=hidden_jobs,json=hiddenJobs,proto3" json:"hidden_jobs,omitempty"` // contains filtered or unexported fields }
func (*JobInfo) Descriptor
deprecated
added in
v0.8.21
func (*JobInfo) GetHiddenJobs ¶ added in v0.8.21
func (*JobInfo) GetPublicJobs ¶ added in v0.8.21
func (*JobInfo) GetUnemployedJob ¶ added in v0.8.21
func (x *JobInfo) GetUnemployedJob() *UnemployedJob
func (*JobInfo) ProtoMessage ¶ added in v0.8.21
func (*JobInfo) ProtoMessage()
func (*JobInfo) ProtoReflect ¶ added in v0.8.21
func (x *JobInfo) ProtoReflect() protoreflect.Message
func (*JobInfo) Validate ¶ added in v0.8.21
Validate checks the field values on JobInfo 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 (*JobInfo) ValidateAll ¶ added in v0.8.21
ValidateAll checks the field values on JobInfo 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 JobInfoMultiError, or nil if none found.
type JobInfoMultiError ¶ added in v0.8.21
type JobInfoMultiError []error
JobInfoMultiError is an error wrapping multiple validation errors returned by JobInfo.ValidateAll() if the designated constraints aren't met.
func (JobInfoMultiError) AllErrors ¶ added in v0.8.21
func (m JobInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (JobInfoMultiError) Error ¶ added in v0.8.21
func (m JobInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type JobInfoValidationError ¶ added in v0.8.21
type JobInfoValidationError struct {
// contains filtered or unexported fields
}
JobInfoValidationError is the validation error returned by JobInfo.Validate if the designated constraints aren't met.
func (JobInfoValidationError) Cause ¶ added in v0.8.21
func (e JobInfoValidationError) Cause() error
Cause function returns cause value.
func (JobInfoValidationError) Error ¶ added in v0.8.21
func (e JobInfoValidationError) Error() string
Error satisfies the builtin error interface
func (JobInfoValidationError) ErrorName ¶ added in v0.8.21
func (e JobInfoValidationError) ErrorName() string
ErrorName returns error name.
func (JobInfoValidationError) Field ¶ added in v0.8.21
func (e JobInfoValidationError) Field() string
Field function returns field value.
func (JobInfoValidationError) Key ¶ added in v0.8.21
func (e JobInfoValidationError) Key() bool
Key function returns key value.
func (JobInfoValidationError) Reason ¶ added in v0.8.21
func (e JobInfoValidationError) Reason() string
Reason function returns reason value.
type Links ¶ added in v0.8.21
type Links struct { PrivacyPolicy *string `protobuf:"bytes,1,opt,name=privacy_policy,json=privacyPolicy,proto3,oneof" json:"privacy_policy,omitempty"` Imprint *string `protobuf:"bytes,2,opt,name=imprint,proto3,oneof" json:"imprint,omitempty"` // contains filtered or unexported fields }
func (*Links) Descriptor
deprecated
added in
v0.8.21
func (*Links) GetImprint ¶ added in v0.8.21
func (*Links) GetPrivacyPolicy ¶ added in v0.8.21
func (*Links) ProtoMessage ¶ added in v0.8.21
func (*Links) ProtoMessage()
func (*Links) ProtoReflect ¶ added in v0.8.21
func (x *Links) ProtoReflect() protoreflect.Message
func (*Links) Validate ¶ added in v0.8.21
Validate checks the field values on Links 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 (*Links) ValidateAll ¶ added in v0.8.21
ValidateAll checks the field values on Links 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 LinksMultiError, or nil if none found.
type LinksMultiError ¶ added in v0.8.21
type LinksMultiError []error
LinksMultiError is an error wrapping multiple validation errors returned by Links.ValidateAll() if the designated constraints aren't met.
func (LinksMultiError) AllErrors ¶ added in v0.8.21
func (m LinksMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LinksMultiError) Error ¶ added in v0.8.21
func (m LinksMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LinksValidationError ¶ added in v0.8.21
type LinksValidationError struct {
// contains filtered or unexported fields
}
LinksValidationError is the validation error returned by Links.Validate if the designated constraints aren't met.
func (LinksValidationError) Cause ¶ added in v0.8.21
func (e LinksValidationError) Cause() error
Cause function returns cause value.
func (LinksValidationError) Error ¶ added in v0.8.21
func (e LinksValidationError) Error() string
Error satisfies the builtin error interface
func (LinksValidationError) ErrorName ¶ added in v0.8.21
func (e LinksValidationError) ErrorName() string
ErrorName returns error name.
func (LinksValidationError) Field ¶ added in v0.8.21
func (e LinksValidationError) Field() string
Field function returns field value.
func (LinksValidationError) Key ¶ added in v0.8.21
func (e LinksValidationError) Key() bool
Key function returns key value.
func (LinksValidationError) Reason ¶ added in v0.8.21
func (e LinksValidationError) Reason() string
Reason function returns reason value.
type Perm ¶ added in v0.8.21
type Perm struct { Category string `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Perm) Descriptor
deprecated
added in
v0.8.21
func (*Perm) GetCategory ¶ added in v0.8.21
func (*Perm) ProtoMessage ¶ added in v0.8.21
func (*Perm) ProtoMessage()
func (*Perm) ProtoReflect ¶ added in v0.8.21
func (x *Perm) ProtoReflect() protoreflect.Message
func (*Perm) Validate ¶ added in v0.8.21
Validate checks the field values on Perm 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 (*Perm) ValidateAll ¶ added in v0.8.21
ValidateAll checks the field values on Perm 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 PermMultiError, or nil if none found.
type PermMultiError ¶ added in v0.8.21
type PermMultiError []error
PermMultiError is an error wrapping multiple validation errors returned by Perm.ValidateAll() if the designated constraints aren't met.
func (PermMultiError) AllErrors ¶ added in v0.8.21
func (m PermMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PermMultiError) Error ¶ added in v0.8.21
func (m PermMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PermValidationError ¶ added in v0.8.21
type PermValidationError struct {
// contains filtered or unexported fields
}
PermValidationError is the validation error returned by Perm.Validate if the designated constraints aren't met.
func (PermValidationError) Cause ¶ added in v0.8.21
func (e PermValidationError) Cause() error
Cause function returns cause value.
func (PermValidationError) Error ¶ added in v0.8.21
func (e PermValidationError) Error() string
Error satisfies the builtin error interface
func (PermValidationError) ErrorName ¶ added in v0.8.21
func (e PermValidationError) ErrorName() string
ErrorName returns error name.
func (PermValidationError) Field ¶ added in v0.8.21
func (e PermValidationError) Field() string
Field function returns field value.
func (PermValidationError) Key ¶ added in v0.8.21
func (e PermValidationError) Key() bool
Key function returns key value.
func (PermValidationError) Reason ¶ added in v0.8.21
func (e PermValidationError) Reason() string
Reason function returns reason value.
type Perms ¶ added in v0.8.21
type Perms struct { Default []*Perm `protobuf:"bytes,1,rep,name=default,proto3" json:"default,omitempty"` // contains filtered or unexported fields }
func (*Perms) Descriptor
deprecated
added in
v0.8.21
func (*Perms) GetDefault ¶ added in v0.8.21
func (*Perms) ProtoMessage ¶ added in v0.8.21
func (*Perms) ProtoMessage()
func (*Perms) ProtoReflect ¶ added in v0.8.21
func (x *Perms) ProtoReflect() protoreflect.Message
func (*Perms) Validate ¶ added in v0.8.21
Validate checks the field values on Perms 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 (*Perms) ValidateAll ¶ added in v0.8.21
ValidateAll checks the field values on Perms 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 PermsMultiError, or nil if none found.
type PermsMultiError ¶ added in v0.8.21
type PermsMultiError []error
PermsMultiError is an error wrapping multiple validation errors returned by Perms.ValidateAll() if the designated constraints aren't met.
func (PermsMultiError) AllErrors ¶ added in v0.8.21
func (m PermsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PermsMultiError) Error ¶ added in v0.8.21
func (m PermsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PermsValidationError ¶ added in v0.8.21
type PermsValidationError struct {
// contains filtered or unexported fields
}
PermsValidationError is the validation error returned by Perms.Validate if the designated constraints aren't met.
func (PermsValidationError) Cause ¶ added in v0.8.21
func (e PermsValidationError) Cause() error
Cause function returns cause value.
func (PermsValidationError) Error ¶ added in v0.8.21
func (e PermsValidationError) Error() string
Error satisfies the builtin error interface
func (PermsValidationError) ErrorName ¶ added in v0.8.21
func (e PermsValidationError) ErrorName() string
ErrorName returns error name.
func (PermsValidationError) Field ¶ added in v0.8.21
func (e PermsValidationError) Field() string
Field function returns field value.
func (PermsValidationError) Key ¶ added in v0.8.21
func (e PermsValidationError) Key() bool
Key function returns key value.
func (PermsValidationError) Reason ¶ added in v0.8.21
func (e PermsValidationError) Reason() string
Reason function returns reason value.
type UnemployedJob ¶ added in v0.8.21
type UnemployedJob struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Grade int32 `protobuf:"varint,2,opt,name=grade,proto3" json:"grade,omitempty"` // contains filtered or unexported fields }
func (*UnemployedJob) Descriptor
deprecated
added in
v0.8.21
func (*UnemployedJob) Descriptor() ([]byte, []int)
Deprecated: Use UnemployedJob.ProtoReflect.Descriptor instead.
func (*UnemployedJob) GetGrade ¶ added in v0.8.21
func (x *UnemployedJob) GetGrade() int32
func (*UnemployedJob) GetName ¶ added in v0.8.21
func (x *UnemployedJob) GetName() string
func (*UnemployedJob) ProtoMessage ¶ added in v0.8.21
func (*UnemployedJob) ProtoMessage()
func (*UnemployedJob) ProtoReflect ¶ added in v0.8.21
func (x *UnemployedJob) ProtoReflect() protoreflect.Message
func (*UnemployedJob) Reset ¶ added in v0.8.21
func (x *UnemployedJob) Reset()
func (*UnemployedJob) String ¶ added in v0.8.21
func (x *UnemployedJob) String() string
func (*UnemployedJob) Validate ¶ added in v0.8.21
func (m *UnemployedJob) Validate() error
Validate checks the field values on UnemployedJob 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 (*UnemployedJob) ValidateAll ¶ added in v0.8.21
func (m *UnemployedJob) ValidateAll() error
ValidateAll checks the field values on UnemployedJob 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 UnemployedJobMultiError, or nil if none found.
type UnemployedJobMultiError ¶ added in v0.8.21
type UnemployedJobMultiError []error
UnemployedJobMultiError is an error wrapping multiple validation errors returned by UnemployedJob.ValidateAll() if the designated constraints aren't met.
func (UnemployedJobMultiError) AllErrors ¶ added in v0.8.21
func (m UnemployedJobMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UnemployedJobMultiError) Error ¶ added in v0.8.21
func (m UnemployedJobMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UnemployedJobValidationError ¶ added in v0.8.21
type UnemployedJobValidationError struct {
// contains filtered or unexported fields
}
UnemployedJobValidationError is the validation error returned by UnemployedJob.Validate if the designated constraints aren't met.
func (UnemployedJobValidationError) Cause ¶ added in v0.8.21
func (e UnemployedJobValidationError) Cause() error
Cause function returns cause value.
func (UnemployedJobValidationError) Error ¶ added in v0.8.21
func (e UnemployedJobValidationError) Error() string
Error satisfies the builtin error interface
func (UnemployedJobValidationError) ErrorName ¶ added in v0.8.21
func (e UnemployedJobValidationError) ErrorName() string
ErrorName returns error name.
func (UnemployedJobValidationError) Field ¶ added in v0.8.21
func (e UnemployedJobValidationError) Field() string
Field function returns field value.
func (UnemployedJobValidationError) Key ¶ added in v0.8.21
func (e UnemployedJobValidationError) Key() bool
Key function returns key value.
func (UnemployedJobValidationError) Reason ¶ added in v0.8.21
func (e UnemployedJobValidationError) Reason() string
Reason function returns reason value.
type UserTracker ¶ added in v0.8.21
type UserTracker struct { RefreshTime *durationpb.Duration `protobuf:"bytes,1,opt,name=refresh_time,json=refreshTime,proto3" json:"refresh_time,omitempty"` DbRefreshTime *durationpb.Duration `protobuf:"bytes,2,opt,name=db_refresh_time,json=dbRefreshTime,proto3" json:"db_refresh_time,omitempty"` LivemapJobs []string `protobuf:"bytes,3,rep,name=livemap_jobs,json=livemapJobs,proto3" json:"livemap_jobs,omitempty"` // contains filtered or unexported fields }
func (*UserTracker) Descriptor
deprecated
added in
v0.8.21
func (*UserTracker) Descriptor() ([]byte, []int)
Deprecated: Use UserTracker.ProtoReflect.Descriptor instead.
func (*UserTracker) GetDbRefreshTime ¶ added in v0.8.21
func (x *UserTracker) GetDbRefreshTime() *durationpb.Duration
func (*UserTracker) GetLivemapJobs ¶ added in v0.8.21
func (x *UserTracker) GetLivemapJobs() []string
func (*UserTracker) GetRefreshTime ¶ added in v0.8.21
func (x *UserTracker) GetRefreshTime() *durationpb.Duration
func (*UserTracker) ProtoMessage ¶ added in v0.8.21
func (*UserTracker) ProtoMessage()
func (*UserTracker) ProtoReflect ¶ added in v0.8.21
func (x *UserTracker) ProtoReflect() protoreflect.Message
func (*UserTracker) Reset ¶ added in v0.8.21
func (x *UserTracker) Reset()
func (*UserTracker) String ¶ added in v0.8.21
func (x *UserTracker) String() string
func (*UserTracker) Validate ¶ added in v0.8.21
func (m *UserTracker) Validate() error
Validate checks the field values on UserTracker 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 (*UserTracker) ValidateAll ¶ added in v0.8.21
func (m *UserTracker) ValidateAll() error
ValidateAll checks the field values on UserTracker 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 UserTrackerMultiError, or nil if none found.
type UserTrackerMultiError ¶ added in v0.8.21
type UserTrackerMultiError []error
UserTrackerMultiError is an error wrapping multiple validation errors returned by UserTracker.ValidateAll() if the designated constraints aren't met.
func (UserTrackerMultiError) AllErrors ¶ added in v0.8.21
func (m UserTrackerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserTrackerMultiError) Error ¶ added in v0.8.21
func (m UserTrackerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserTrackerValidationError ¶ added in v0.8.21
type UserTrackerValidationError struct {
// contains filtered or unexported fields
}
UserTrackerValidationError is the validation error returned by UserTracker.Validate if the designated constraints aren't met.
func (UserTrackerValidationError) Cause ¶ added in v0.8.21
func (e UserTrackerValidationError) Cause() error
Cause function returns cause value.
func (UserTrackerValidationError) Error ¶ added in v0.8.21
func (e UserTrackerValidationError) Error() string
Error satisfies the builtin error interface
func (UserTrackerValidationError) ErrorName ¶ added in v0.8.21
func (e UserTrackerValidationError) ErrorName() string
ErrorName returns error name.
func (UserTrackerValidationError) Field ¶ added in v0.8.21
func (e UserTrackerValidationError) Field() string
Field function returns field value.
func (UserTrackerValidationError) Key ¶ added in v0.8.21
func (e UserTrackerValidationError) Key() bool
Key function returns key value.
func (UserTrackerValidationError) Reason ¶ added in v0.8.21
func (e UserTrackerValidationError) Reason() string
Reason function returns reason value.
type Website ¶ added in v0.8.21
type Website struct { Links *Links `protobuf:"bytes,1,opt,name=links,proto3" json:"links,omitempty"` // contains filtered or unexported fields }
func (*Website) Descriptor
deprecated
added in
v0.8.21
func (*Website) ProtoMessage ¶ added in v0.8.21
func (*Website) ProtoMessage()
func (*Website) ProtoReflect ¶ added in v0.8.21
func (x *Website) ProtoReflect() protoreflect.Message
func (*Website) Validate ¶ added in v0.8.21
Validate checks the field values on Website 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 (*Website) ValidateAll ¶ added in v0.8.21
ValidateAll checks the field values on Website 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 WebsiteMultiError, or nil if none found.
type WebsiteMultiError ¶ added in v0.8.21
type WebsiteMultiError []error
WebsiteMultiError is an error wrapping multiple validation errors returned by Website.ValidateAll() if the designated constraints aren't met.
func (WebsiteMultiError) AllErrors ¶ added in v0.8.21
func (m WebsiteMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WebsiteMultiError) Error ¶ added in v0.8.21
func (m WebsiteMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WebsiteValidationError ¶ added in v0.8.21
type WebsiteValidationError struct {
// contains filtered or unexported fields
}
WebsiteValidationError is the validation error returned by Website.Validate if the designated constraints aren't met.
func (WebsiteValidationError) Cause ¶ added in v0.8.21
func (e WebsiteValidationError) Cause() error
Cause function returns cause value.
func (WebsiteValidationError) Error ¶ added in v0.8.21
func (e WebsiteValidationError) Error() string
Error satisfies the builtin error interface
func (WebsiteValidationError) ErrorName ¶ added in v0.8.21
func (e WebsiteValidationError) ErrorName() string
ErrorName returns error name.
func (WebsiteValidationError) Field ¶ added in v0.8.21
func (e WebsiteValidationError) Field() string
Field function returns field value.
func (WebsiteValidationError) Key ¶ added in v0.8.21
func (e WebsiteValidationError) Key() bool
Key function returns key value.
func (WebsiteValidationError) Reason ¶ added in v0.8.21
func (e WebsiteValidationError) Reason() string
Reason function returns reason value.