Documentation ¶
Overview ¶
Package v1
Mute Rule ¶
Mute rule is a feature that allows you to temporarily stop receiving notifications for a specific alert. You can use mute rules to temporarily silence alerts that are not relevant to you, or to silence alerts that you are already aware of.
Guance Cloud supports the management of all mute rules in the current workspace. It supports muting different monitors, smart inspections, self-built inspections, SLOs, and alert policies, so that the muted objects do not send any alert notifications to any alert notification objects during the mute time.
Relationships:
```mermaid graph LR
A[Mute Rule] --> B[Alert Policy]
```
Code generated by Iacker. DO NOT EDIT IT.
Index ¶
- Constants
- Variables
- type Mute
- func (*Mute) Descriptor() ([]byte, []int)deprecated
- func (x *Mute) GetMuteRanges() []*MuteRange
- func (x *Mute) GetMuteTags() []*Tag
- func (x *Mute) GetNotify() *NotifyOptions
- func (x *Mute) GetNotifyTargets() []*NotifyTarget
- func (x *Mute) GetOnetime() *OnetimeOptions
- func (x *Mute) GetRepeat() *RepeatOptions
- func (*Mute) ProtoMessage()
- func (x *Mute) ProtoReflect() protoreflect.Message
- func (x *Mute) Reset()
- func (x *Mute) String() string
- func (m *Mute) Validate() error
- func (m *Mute) ValidateAll() error
- type MuteMultiError
- type MuteRange
- func (*MuteRange) Descriptor() ([]byte, []int)deprecated
- func (x *MuteRange) GetAlertPolicy() *MuteRangeAlertPolicy
- func (x *MuteRange) GetMonitor() *MuteRangeMonitor
- func (x *MuteRange) GetType() string
- func (*MuteRange) ProtoMessage()
- func (x *MuteRange) ProtoReflect() protoreflect.Message
- func (x *MuteRange) Reset()
- func (x *MuteRange) String() string
- func (m *MuteRange) Validate() error
- func (m *MuteRange) ValidateAll() error
- type MuteRangeAlertPolicy
- func (*MuteRangeAlertPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *MuteRangeAlertPolicy) GetId() string
- func (*MuteRangeAlertPolicy) ProtoMessage()
- func (x *MuteRangeAlertPolicy) ProtoReflect() protoreflect.Message
- func (x *MuteRangeAlertPolicy) Reset()
- func (x *MuteRangeAlertPolicy) String() string
- func (m *MuteRangeAlertPolicy) Validate() error
- func (m *MuteRangeAlertPolicy) ValidateAll() error
- type MuteRangeAlertPolicyMultiError
- type MuteRangeAlertPolicyValidationError
- func (e MuteRangeAlertPolicyValidationError) Cause() error
- func (e MuteRangeAlertPolicyValidationError) Error() string
- func (e MuteRangeAlertPolicyValidationError) ErrorName() string
- func (e MuteRangeAlertPolicyValidationError) Field() string
- func (e MuteRangeAlertPolicyValidationError) Key() bool
- func (e MuteRangeAlertPolicyValidationError) Reason() string
- type MuteRangeMonitor
- func (*MuteRangeMonitor) Descriptor() ([]byte, []int)deprecated
- func (x *MuteRangeMonitor) GetId() string
- func (*MuteRangeMonitor) ProtoMessage()
- func (x *MuteRangeMonitor) ProtoReflect() protoreflect.Message
- func (x *MuteRangeMonitor) Reset()
- func (x *MuteRangeMonitor) String() string
- func (m *MuteRangeMonitor) Validate() error
- func (m *MuteRangeMonitor) ValidateAll() error
- type MuteRangeMonitorMultiError
- type MuteRangeMonitorValidationError
- func (e MuteRangeMonitorValidationError) Cause() error
- func (e MuteRangeMonitorValidationError) Error() string
- func (e MuteRangeMonitorValidationError) ErrorName() string
- func (e MuteRangeMonitorValidationError) Field() string
- func (e MuteRangeMonitorValidationError) Key() bool
- func (e MuteRangeMonitorValidationError) Reason() string
- type MuteRangeMultiError
- type MuteRangeValidationError
- type MuteValidationError
- type NotifyOptions
- func (*NotifyOptions) Descriptor() ([]byte, []int)deprecated
- func (x *NotifyOptions) GetBeforeTime() string
- func (x *NotifyOptions) GetMessage() string
- func (*NotifyOptions) ProtoMessage()
- func (x *NotifyOptions) ProtoReflect() protoreflect.Message
- func (x *NotifyOptions) Reset()
- func (x *NotifyOptions) String() string
- func (m *NotifyOptions) Validate() error
- func (m *NotifyOptions) ValidateAll() error
- type NotifyOptionsMultiError
- type NotifyOptionsValidationError
- func (e NotifyOptionsValidationError) Cause() error
- func (e NotifyOptionsValidationError) Error() string
- func (e NotifyOptionsValidationError) ErrorName() string
- func (e NotifyOptionsValidationError) Field() string
- func (e NotifyOptionsValidationError) Key() bool
- func (e NotifyOptionsValidationError) Reason() string
- type NotifyTarget
- func (*NotifyTarget) Descriptor() ([]byte, []int)deprecated
- func (x *NotifyTarget) GetMemberGroup() *NotifyTargetMemberGroup
- func (x *NotifyTarget) GetNotification() *NotifyTargetNotification
- func (x *NotifyTarget) GetType() string
- func (*NotifyTarget) ProtoMessage()
- func (x *NotifyTarget) ProtoReflect() protoreflect.Message
- func (x *NotifyTarget) Reset()
- func (x *NotifyTarget) String() string
- func (m *NotifyTarget) Validate() error
- func (m *NotifyTarget) ValidateAll() error
- type NotifyTargetMemberGroup
- func (*NotifyTargetMemberGroup) Descriptor() ([]byte, []int)deprecated
- func (x *NotifyTargetMemberGroup) GetId() string
- func (*NotifyTargetMemberGroup) ProtoMessage()
- func (x *NotifyTargetMemberGroup) ProtoReflect() protoreflect.Message
- func (x *NotifyTargetMemberGroup) Reset()
- func (x *NotifyTargetMemberGroup) String() string
- func (m *NotifyTargetMemberGroup) Validate() error
- func (m *NotifyTargetMemberGroup) ValidateAll() error
- type NotifyTargetMemberGroupMultiError
- type NotifyTargetMemberGroupValidationError
- func (e NotifyTargetMemberGroupValidationError) Cause() error
- func (e NotifyTargetMemberGroupValidationError) Error() string
- func (e NotifyTargetMemberGroupValidationError) ErrorName() string
- func (e NotifyTargetMemberGroupValidationError) Field() string
- func (e NotifyTargetMemberGroupValidationError) Key() bool
- func (e NotifyTargetMemberGroupValidationError) Reason() string
- type NotifyTargetMultiError
- type NotifyTargetNotification
- func (*NotifyTargetNotification) Descriptor() ([]byte, []int)deprecated
- func (x *NotifyTargetNotification) GetId() string
- func (*NotifyTargetNotification) ProtoMessage()
- func (x *NotifyTargetNotification) ProtoReflect() protoreflect.Message
- func (x *NotifyTargetNotification) Reset()
- func (x *NotifyTargetNotification) String() string
- func (m *NotifyTargetNotification) Validate() error
- func (m *NotifyTargetNotification) ValidateAll() error
- type NotifyTargetNotificationMultiError
- type NotifyTargetNotificationValidationError
- func (e NotifyTargetNotificationValidationError) Cause() error
- func (e NotifyTargetNotificationValidationError) Error() string
- func (e NotifyTargetNotificationValidationError) ErrorName() string
- func (e NotifyTargetNotificationValidationError) Field() string
- func (e NotifyTargetNotificationValidationError) Key() bool
- func (e NotifyTargetNotificationValidationError) Reason() string
- type NotifyTargetValidationError
- func (e NotifyTargetValidationError) Cause() error
- func (e NotifyTargetValidationError) Error() string
- func (e NotifyTargetValidationError) ErrorName() string
- func (e NotifyTargetValidationError) Field() string
- func (e NotifyTargetValidationError) Key() bool
- func (e NotifyTargetValidationError) Reason() string
- type OnetimeOptions
- func (*OnetimeOptions) Descriptor() ([]byte, []int)deprecated
- func (x *OnetimeOptions) GetEnd() string
- func (x *OnetimeOptions) GetStart() string
- func (*OnetimeOptions) ProtoMessage()
- func (x *OnetimeOptions) ProtoReflect() protoreflect.Message
- func (x *OnetimeOptions) Reset()
- func (x *OnetimeOptions) String() string
- func (m *OnetimeOptions) Validate() error
- func (m *OnetimeOptions) ValidateAll() error
- type OnetimeOptionsMultiError
- type OnetimeOptionsValidationError
- func (e OnetimeOptionsValidationError) Cause() error
- func (e OnetimeOptionsValidationError) Error() string
- func (e OnetimeOptionsValidationError) ErrorName() string
- func (e OnetimeOptionsValidationError) Field() string
- func (e OnetimeOptionsValidationError) Key() bool
- func (e OnetimeOptionsValidationError) Reason() string
- type RepeatCrontabSet
- func (*RepeatCrontabSet) Descriptor() ([]byte, []int)deprecated
- func (x *RepeatCrontabSet) GetDay() string
- func (x *RepeatCrontabSet) GetHour() string
- func (x *RepeatCrontabSet) GetMin() string
- func (x *RepeatCrontabSet) GetMonth() string
- func (x *RepeatCrontabSet) GetWeek() string
- func (*RepeatCrontabSet) ProtoMessage()
- func (x *RepeatCrontabSet) ProtoReflect() protoreflect.Message
- func (x *RepeatCrontabSet) Reset()
- func (x *RepeatCrontabSet) String() string
- func (m *RepeatCrontabSet) Validate() error
- func (m *RepeatCrontabSet) ValidateAll() error
- type RepeatCrontabSetMultiError
- type RepeatCrontabSetValidationError
- func (e RepeatCrontabSetValidationError) Cause() error
- func (e RepeatCrontabSetValidationError) Error() string
- func (e RepeatCrontabSetValidationError) ErrorName() string
- func (e RepeatCrontabSetValidationError) Field() string
- func (e RepeatCrontabSetValidationError) Key() bool
- func (e RepeatCrontabSetValidationError) Reason() string
- type RepeatOptions
- func (*RepeatOptions) Descriptor() ([]byte, []int)deprecated
- func (x *RepeatOptions) GetCrontab() *RepeatCrontabSet
- func (x *RepeatOptions) GetCrontabDuration() string
- func (x *RepeatOptions) GetEnd() string
- func (x *RepeatOptions) GetExpire() string
- func (x *RepeatOptions) GetStart() string
- func (*RepeatOptions) ProtoMessage()
- func (x *RepeatOptions) ProtoReflect() protoreflect.Message
- func (x *RepeatOptions) Reset()
- func (x *RepeatOptions) String() string
- func (m *RepeatOptions) Validate() error
- func (m *RepeatOptions) ValidateAll() error
- type RepeatOptionsMultiError
- type RepeatOptionsValidationError
- func (e RepeatOptionsValidationError) Cause() error
- func (e RepeatOptionsValidationError) Error() string
- func (e RepeatOptionsValidationError) ErrorName() string
- func (e RepeatOptionsValidationError) Field() string
- func (e RepeatOptionsValidationError) Key() bool
- func (e RepeatOptionsValidationError) Reason() string
- type Tag
- func (*Tag) Descriptor() ([]byte, []int)deprecated
- func (x *Tag) GetKey() string
- func (x *Tag) GetValue() string
- func (*Tag) ProtoMessage()
- func (x *Tag) ProtoReflect() protoreflect.Message
- func (x *Tag) Reset()
- func (x *Tag) String() string
- func (m *Tag) Validate() error
- func (m *Tag) ValidateAll() error
- type TagMultiError
- type TagValidationError
Constants ¶
const ( // MuteRangeTypeMonitor is the value of Monitor MuteRangeTypeMonitor = "monitor" // MuteRangeTypeAlertPolicy is the value of Alert Policy MuteRangeTypeAlertPolicy = "alert_policy" )
const ( // NotifyTargetTypeMemberGroup is the value of MemberGroup NotifyTargetTypeMemberGroup = "member_group" // NotifyTargetTypeNotification is the value of Notification NotifyTargetTypeNotification = "notification" )
const ResourceType = "Mute"
ResourceType is the unique type name of Mute
Variables ¶
var File_pkg_resources_mute_v1_mute_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Mute ¶
type Mute struct { // Mute Ranges MuteRanges []*MuteRange `protobuf:"bytes,1,rep,name=mute_ranges,json=muteRanges,proto3" json:"mute_ranges,omitempty"` // Notify Options Notify *NotifyOptions `protobuf:"bytes,2,opt,name=notify,proto3" json:"notify,omitempty"` // Notify targets NotifyTargets []*NotifyTarget `protobuf:"bytes,3,rep,name=notify_targets,json=notifyTargets,proto3" json:"notify_targets,omitempty"` // Onetime Onetime *OnetimeOptions `protobuf:"bytes,4,opt,name=onetime,proto3" json:"onetime,omitempty"` // Repeat Repeat *RepeatOptions `protobuf:"bytes,5,opt,name=repeat,proto3" json:"repeat,omitempty"` // Tags MuteTags []*Tag `protobuf:"bytes,6,rep,name=mute_tags,json=muteTags,proto3" json:"mute_tags,omitempty"` // contains filtered or unexported fields }
func (*Mute) Descriptor
deprecated
func (*Mute) GetMuteRanges ¶
func (*Mute) GetMuteTags ¶
func (*Mute) GetNotify ¶
func (x *Mute) GetNotify() *NotifyOptions
func (*Mute) GetNotifyTargets ¶
func (x *Mute) GetNotifyTargets() []*NotifyTarget
func (*Mute) GetOnetime ¶
func (x *Mute) GetOnetime() *OnetimeOptions
func (*Mute) GetRepeat ¶
func (x *Mute) GetRepeat() *RepeatOptions
func (*Mute) ProtoMessage ¶
func (*Mute) ProtoMessage()
func (*Mute) ProtoReflect ¶
func (x *Mute) ProtoReflect() protoreflect.Message
func (*Mute) Validate ¶
Validate checks the field values on Mute 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 (*Mute) ValidateAll ¶
ValidateAll checks the field values on Mute 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 MuteMultiError, or nil if none found.
type MuteMultiError ¶
type MuteMultiError []error
MuteMultiError is an error wrapping multiple validation errors returned by Mute.ValidateAll() if the designated constraints aren't met.
func (MuteMultiError) AllErrors ¶
func (m MuteMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MuteMultiError) Error ¶
func (m MuteMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MuteRange ¶
type MuteRange struct { // Mute Range Type Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Monitor configuration Monitor *MuteRangeMonitor `protobuf:"bytes,2,opt,name=monitor,proto3" json:"monitor,omitempty"` // Alert Policy configuration AlertPolicy *MuteRangeAlertPolicy `protobuf:"bytes,3,opt,name=alert_policy,json=alertPolicy,proto3" json:"alert_policy,omitempty"` // contains filtered or unexported fields }
func (*MuteRange) Descriptor
deprecated
func (*MuteRange) GetAlertPolicy ¶
func (x *MuteRange) GetAlertPolicy() *MuteRangeAlertPolicy
func (*MuteRange) GetMonitor ¶
func (x *MuteRange) GetMonitor() *MuteRangeMonitor
func (*MuteRange) ProtoMessage ¶
func (*MuteRange) ProtoMessage()
func (*MuteRange) ProtoReflect ¶
func (x *MuteRange) ProtoReflect() protoreflect.Message
func (*MuteRange) Validate ¶
Validate checks the field values on MuteRange 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 (*MuteRange) ValidateAll ¶
ValidateAll checks the field values on MuteRange 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 MuteRangeMultiError, or nil if none found.
type MuteRangeAlertPolicy ¶
type MuteRangeAlertPolicy struct { // Alert Policy ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*MuteRangeAlertPolicy) Descriptor
deprecated
func (*MuteRangeAlertPolicy) Descriptor() ([]byte, []int)
Deprecated: Use MuteRangeAlertPolicy.ProtoReflect.Descriptor instead.
func (*MuteRangeAlertPolicy) GetId ¶
func (x *MuteRangeAlertPolicy) GetId() string
func (*MuteRangeAlertPolicy) ProtoMessage ¶
func (*MuteRangeAlertPolicy) ProtoMessage()
func (*MuteRangeAlertPolicy) ProtoReflect ¶
func (x *MuteRangeAlertPolicy) ProtoReflect() protoreflect.Message
func (*MuteRangeAlertPolicy) Reset ¶
func (x *MuteRangeAlertPolicy) Reset()
func (*MuteRangeAlertPolicy) String ¶
func (x *MuteRangeAlertPolicy) String() string
func (*MuteRangeAlertPolicy) Validate ¶
func (m *MuteRangeAlertPolicy) Validate() error
Validate checks the field values on MuteRangeAlertPolicy 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 (*MuteRangeAlertPolicy) ValidateAll ¶
func (m *MuteRangeAlertPolicy) ValidateAll() error
ValidateAll checks the field values on MuteRangeAlertPolicy 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 MuteRangeAlertPolicyMultiError, or nil if none found.
type MuteRangeAlertPolicyMultiError ¶
type MuteRangeAlertPolicyMultiError []error
MuteRangeAlertPolicyMultiError is an error wrapping multiple validation errors returned by MuteRangeAlertPolicy.ValidateAll() if the designated constraints aren't met.
func (MuteRangeAlertPolicyMultiError) AllErrors ¶
func (m MuteRangeAlertPolicyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MuteRangeAlertPolicyMultiError) Error ¶
func (m MuteRangeAlertPolicyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MuteRangeAlertPolicyValidationError ¶
type MuteRangeAlertPolicyValidationError struct {
// contains filtered or unexported fields
}
MuteRangeAlertPolicyValidationError is the validation error returned by MuteRangeAlertPolicy.Validate if the designated constraints aren't met.
func (MuteRangeAlertPolicyValidationError) Cause ¶
func (e MuteRangeAlertPolicyValidationError) Cause() error
Cause function returns cause value.
func (MuteRangeAlertPolicyValidationError) Error ¶
func (e MuteRangeAlertPolicyValidationError) Error() string
Error satisfies the builtin error interface
func (MuteRangeAlertPolicyValidationError) ErrorName ¶
func (e MuteRangeAlertPolicyValidationError) ErrorName() string
ErrorName returns error name.
func (MuteRangeAlertPolicyValidationError) Field ¶
func (e MuteRangeAlertPolicyValidationError) Field() string
Field function returns field value.
func (MuteRangeAlertPolicyValidationError) Key ¶
func (e MuteRangeAlertPolicyValidationError) Key() bool
Key function returns key value.
func (MuteRangeAlertPolicyValidationError) Reason ¶
func (e MuteRangeAlertPolicyValidationError) Reason() string
Reason function returns reason value.
type MuteRangeMonitor ¶
type MuteRangeMonitor struct { // Monitor ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*MuteRangeMonitor) Descriptor
deprecated
func (*MuteRangeMonitor) Descriptor() ([]byte, []int)
Deprecated: Use MuteRangeMonitor.ProtoReflect.Descriptor instead.
func (*MuteRangeMonitor) GetId ¶
func (x *MuteRangeMonitor) GetId() string
func (*MuteRangeMonitor) ProtoMessage ¶
func (*MuteRangeMonitor) ProtoMessage()
func (*MuteRangeMonitor) ProtoReflect ¶
func (x *MuteRangeMonitor) ProtoReflect() protoreflect.Message
func (*MuteRangeMonitor) Reset ¶
func (x *MuteRangeMonitor) Reset()
func (*MuteRangeMonitor) String ¶
func (x *MuteRangeMonitor) String() string
func (*MuteRangeMonitor) Validate ¶
func (m *MuteRangeMonitor) Validate() error
Validate checks the field values on MuteRangeMonitor 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 (*MuteRangeMonitor) ValidateAll ¶
func (m *MuteRangeMonitor) ValidateAll() error
ValidateAll checks the field values on MuteRangeMonitor 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 MuteRangeMonitorMultiError, or nil if none found.
type MuteRangeMonitorMultiError ¶
type MuteRangeMonitorMultiError []error
MuteRangeMonitorMultiError is an error wrapping multiple validation errors returned by MuteRangeMonitor.ValidateAll() if the designated constraints aren't met.
func (MuteRangeMonitorMultiError) AllErrors ¶
func (m MuteRangeMonitorMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MuteRangeMonitorMultiError) Error ¶
func (m MuteRangeMonitorMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MuteRangeMonitorValidationError ¶
type MuteRangeMonitorValidationError struct {
// contains filtered or unexported fields
}
MuteRangeMonitorValidationError is the validation error returned by MuteRangeMonitor.Validate if the designated constraints aren't met.
func (MuteRangeMonitorValidationError) Cause ¶
func (e MuteRangeMonitorValidationError) Cause() error
Cause function returns cause value.
func (MuteRangeMonitorValidationError) Error ¶
func (e MuteRangeMonitorValidationError) Error() string
Error satisfies the builtin error interface
func (MuteRangeMonitorValidationError) ErrorName ¶
func (e MuteRangeMonitorValidationError) ErrorName() string
ErrorName returns error name.
func (MuteRangeMonitorValidationError) Field ¶
func (e MuteRangeMonitorValidationError) Field() string
Field function returns field value.
func (MuteRangeMonitorValidationError) Key ¶
func (e MuteRangeMonitorValidationError) Key() bool
Key function returns key value.
func (MuteRangeMonitorValidationError) Reason ¶
func (e MuteRangeMonitorValidationError) Reason() string
Reason function returns reason value.
type MuteRangeMultiError ¶
type MuteRangeMultiError []error
MuteRangeMultiError is an error wrapping multiple validation errors returned by MuteRange.ValidateAll() if the designated constraints aren't met.
func (MuteRangeMultiError) AllErrors ¶
func (m MuteRangeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MuteRangeMultiError) Error ¶
func (m MuteRangeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MuteRangeValidationError ¶
type MuteRangeValidationError struct {
// contains filtered or unexported fields
}
MuteRangeValidationError is the validation error returned by MuteRange.Validate if the designated constraints aren't met.
func (MuteRangeValidationError) Cause ¶
func (e MuteRangeValidationError) Cause() error
Cause function returns cause value.
func (MuteRangeValidationError) Error ¶
func (e MuteRangeValidationError) Error() string
Error satisfies the builtin error interface
func (MuteRangeValidationError) ErrorName ¶
func (e MuteRangeValidationError) ErrorName() string
ErrorName returns error name.
func (MuteRangeValidationError) Field ¶
func (e MuteRangeValidationError) Field() string
Field function returns field value.
func (MuteRangeValidationError) Key ¶
func (e MuteRangeValidationError) Key() bool
Key function returns key value.
func (MuteRangeValidationError) Reason ¶
func (e MuteRangeValidationError) Reason() string
Reason function returns reason value.
type MuteValidationError ¶
type MuteValidationError struct {
// contains filtered or unexported fields
}
MuteValidationError is the validation error returned by Mute.Validate if the designated constraints aren't met.
func (MuteValidationError) Cause ¶
func (e MuteValidationError) Cause() error
Cause function returns cause value.
func (MuteValidationError) Error ¶
func (e MuteValidationError) Error() string
Error satisfies the builtin error interface
func (MuteValidationError) ErrorName ¶
func (e MuteValidationError) ErrorName() string
ErrorName returns error name.
func (MuteValidationError) Field ¶
func (e MuteValidationError) Field() string
Field function returns field value.
func (MuteValidationError) Key ¶
func (e MuteValidationError) Key() bool
Key function returns key value.
func (MuteValidationError) Reason ¶
func (e MuteValidationError) Reason() string
Reason function returns reason value.
type NotifyOptions ¶
type NotifyOptions struct { // Notify Message Message *string `protobuf:"bytes,1,opt,name=message,proto3,oneof" json:"message,omitempty"` // Notify Time BeforeTime *string `protobuf:"bytes,2,opt,name=before_time,json=beforeTime,proto3,oneof" json:"before_time,omitempty"` // contains filtered or unexported fields }
func (*NotifyOptions) Descriptor
deprecated
func (*NotifyOptions) Descriptor() ([]byte, []int)
Deprecated: Use NotifyOptions.ProtoReflect.Descriptor instead.
func (*NotifyOptions) GetBeforeTime ¶
func (x *NotifyOptions) GetBeforeTime() string
func (*NotifyOptions) GetMessage ¶
func (x *NotifyOptions) GetMessage() string
func (*NotifyOptions) ProtoMessage ¶
func (*NotifyOptions) ProtoMessage()
func (*NotifyOptions) ProtoReflect ¶
func (x *NotifyOptions) ProtoReflect() protoreflect.Message
func (*NotifyOptions) Reset ¶
func (x *NotifyOptions) Reset()
func (*NotifyOptions) String ¶
func (x *NotifyOptions) String() string
func (*NotifyOptions) Validate ¶
func (m *NotifyOptions) Validate() error
Validate checks the field values on NotifyOptions 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 (*NotifyOptions) ValidateAll ¶
func (m *NotifyOptions) ValidateAll() error
ValidateAll checks the field values on NotifyOptions 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 NotifyOptionsMultiError, or nil if none found.
type NotifyOptionsMultiError ¶
type NotifyOptionsMultiError []error
NotifyOptionsMultiError is an error wrapping multiple validation errors returned by NotifyOptions.ValidateAll() if the designated constraints aren't met.
func (NotifyOptionsMultiError) AllErrors ¶
func (m NotifyOptionsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NotifyOptionsMultiError) Error ¶
func (m NotifyOptionsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NotifyOptionsValidationError ¶
type NotifyOptionsValidationError struct {
// contains filtered or unexported fields
}
NotifyOptionsValidationError is the validation error returned by NotifyOptions.Validate if the designated constraints aren't met.
func (NotifyOptionsValidationError) Cause ¶
func (e NotifyOptionsValidationError) Cause() error
Cause function returns cause value.
func (NotifyOptionsValidationError) Error ¶
func (e NotifyOptionsValidationError) Error() string
Error satisfies the builtin error interface
func (NotifyOptionsValidationError) ErrorName ¶
func (e NotifyOptionsValidationError) ErrorName() string
ErrorName returns error name.
func (NotifyOptionsValidationError) Field ¶
func (e NotifyOptionsValidationError) Field() string
Field function returns field value.
func (NotifyOptionsValidationError) Key ¶
func (e NotifyOptionsValidationError) Key() bool
Key function returns key value.
func (NotifyOptionsValidationError) Reason ¶
func (e NotifyOptionsValidationError) Reason() string
Reason function returns reason value.
type NotifyTarget ¶
type NotifyTarget struct { // Notify Type Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // MemberGroup MemberGroup *NotifyTargetMemberGroup `protobuf:"bytes,2,opt,name=member_group,json=memberGroup,proto3" json:"member_group,omitempty"` // Notification Notification *NotifyTargetNotification `protobuf:"bytes,3,opt,name=notification,proto3" json:"notification,omitempty"` // contains filtered or unexported fields }
func (*NotifyTarget) Descriptor
deprecated
func (*NotifyTarget) Descriptor() ([]byte, []int)
Deprecated: Use NotifyTarget.ProtoReflect.Descriptor instead.
func (*NotifyTarget) GetMemberGroup ¶
func (x *NotifyTarget) GetMemberGroup() *NotifyTargetMemberGroup
func (*NotifyTarget) GetNotification ¶
func (x *NotifyTarget) GetNotification() *NotifyTargetNotification
func (*NotifyTarget) GetType ¶
func (x *NotifyTarget) GetType() string
func (*NotifyTarget) ProtoMessage ¶
func (*NotifyTarget) ProtoMessage()
func (*NotifyTarget) ProtoReflect ¶
func (x *NotifyTarget) ProtoReflect() protoreflect.Message
func (*NotifyTarget) Reset ¶
func (x *NotifyTarget) Reset()
func (*NotifyTarget) String ¶
func (x *NotifyTarget) String() string
func (*NotifyTarget) Validate ¶
func (m *NotifyTarget) Validate() error
Validate checks the field values on NotifyTarget 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 (*NotifyTarget) ValidateAll ¶
func (m *NotifyTarget) ValidateAll() error
ValidateAll checks the field values on NotifyTarget 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 NotifyTargetMultiError, or nil if none found.
type NotifyTargetMemberGroup ¶
type NotifyTargetMemberGroup struct { // MemberGroup ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*NotifyTargetMemberGroup) Descriptor
deprecated
func (*NotifyTargetMemberGroup) Descriptor() ([]byte, []int)
Deprecated: Use NotifyTargetMemberGroup.ProtoReflect.Descriptor instead.
func (*NotifyTargetMemberGroup) GetId ¶
func (x *NotifyTargetMemberGroup) GetId() string
func (*NotifyTargetMemberGroup) ProtoMessage ¶
func (*NotifyTargetMemberGroup) ProtoMessage()
func (*NotifyTargetMemberGroup) ProtoReflect ¶
func (x *NotifyTargetMemberGroup) ProtoReflect() protoreflect.Message
func (*NotifyTargetMemberGroup) Reset ¶
func (x *NotifyTargetMemberGroup) Reset()
func (*NotifyTargetMemberGroup) String ¶
func (x *NotifyTargetMemberGroup) String() string
func (*NotifyTargetMemberGroup) Validate ¶
func (m *NotifyTargetMemberGroup) Validate() error
Validate checks the field values on NotifyTargetMemberGroup 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 (*NotifyTargetMemberGroup) ValidateAll ¶
func (m *NotifyTargetMemberGroup) ValidateAll() error
ValidateAll checks the field values on NotifyTargetMemberGroup 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 NotifyTargetMemberGroupMultiError, or nil if none found.
type NotifyTargetMemberGroupMultiError ¶
type NotifyTargetMemberGroupMultiError []error
NotifyTargetMemberGroupMultiError is an error wrapping multiple validation errors returned by NotifyTargetMemberGroup.ValidateAll() if the designated constraints aren't met.
func (NotifyTargetMemberGroupMultiError) AllErrors ¶
func (m NotifyTargetMemberGroupMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NotifyTargetMemberGroupMultiError) Error ¶
func (m NotifyTargetMemberGroupMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NotifyTargetMemberGroupValidationError ¶
type NotifyTargetMemberGroupValidationError struct {
// contains filtered or unexported fields
}
NotifyTargetMemberGroupValidationError is the validation error returned by NotifyTargetMemberGroup.Validate if the designated constraints aren't met.
func (NotifyTargetMemberGroupValidationError) Cause ¶
func (e NotifyTargetMemberGroupValidationError) Cause() error
Cause function returns cause value.
func (NotifyTargetMemberGroupValidationError) Error ¶
func (e NotifyTargetMemberGroupValidationError) Error() string
Error satisfies the builtin error interface
func (NotifyTargetMemberGroupValidationError) ErrorName ¶
func (e NotifyTargetMemberGroupValidationError) ErrorName() string
ErrorName returns error name.
func (NotifyTargetMemberGroupValidationError) Field ¶
func (e NotifyTargetMemberGroupValidationError) Field() string
Field function returns field value.
func (NotifyTargetMemberGroupValidationError) Key ¶
func (e NotifyTargetMemberGroupValidationError) Key() bool
Key function returns key value.
func (NotifyTargetMemberGroupValidationError) Reason ¶
func (e NotifyTargetMemberGroupValidationError) Reason() string
Reason function returns reason value.
type NotifyTargetMultiError ¶
type NotifyTargetMultiError []error
NotifyTargetMultiError is an error wrapping multiple validation errors returned by NotifyTarget.ValidateAll() if the designated constraints aren't met.
func (NotifyTargetMultiError) AllErrors ¶
func (m NotifyTargetMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NotifyTargetMultiError) Error ¶
func (m NotifyTargetMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NotifyTargetNotification ¶
type NotifyTargetNotification struct { // Notification ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*NotifyTargetNotification) Descriptor
deprecated
func (*NotifyTargetNotification) Descriptor() ([]byte, []int)
Deprecated: Use NotifyTargetNotification.ProtoReflect.Descriptor instead.
func (*NotifyTargetNotification) GetId ¶
func (x *NotifyTargetNotification) GetId() string
func (*NotifyTargetNotification) ProtoMessage ¶
func (*NotifyTargetNotification) ProtoMessage()
func (*NotifyTargetNotification) ProtoReflect ¶
func (x *NotifyTargetNotification) ProtoReflect() protoreflect.Message
func (*NotifyTargetNotification) Reset ¶
func (x *NotifyTargetNotification) Reset()
func (*NotifyTargetNotification) String ¶
func (x *NotifyTargetNotification) String() string
func (*NotifyTargetNotification) Validate ¶
func (m *NotifyTargetNotification) Validate() error
Validate checks the field values on NotifyTargetNotification 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 (*NotifyTargetNotification) ValidateAll ¶
func (m *NotifyTargetNotification) ValidateAll() error
ValidateAll checks the field values on NotifyTargetNotification 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 NotifyTargetNotificationMultiError, or nil if none found.
type NotifyTargetNotificationMultiError ¶
type NotifyTargetNotificationMultiError []error
NotifyTargetNotificationMultiError is an error wrapping multiple validation errors returned by NotifyTargetNotification.ValidateAll() if the designated constraints aren't met.
func (NotifyTargetNotificationMultiError) AllErrors ¶
func (m NotifyTargetNotificationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NotifyTargetNotificationMultiError) Error ¶
func (m NotifyTargetNotificationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NotifyTargetNotificationValidationError ¶
type NotifyTargetNotificationValidationError struct {
// contains filtered or unexported fields
}
NotifyTargetNotificationValidationError is the validation error returned by NotifyTargetNotification.Validate if the designated constraints aren't met.
func (NotifyTargetNotificationValidationError) Cause ¶
func (e NotifyTargetNotificationValidationError) Cause() error
Cause function returns cause value.
func (NotifyTargetNotificationValidationError) Error ¶
func (e NotifyTargetNotificationValidationError) Error() string
Error satisfies the builtin error interface
func (NotifyTargetNotificationValidationError) ErrorName ¶
func (e NotifyTargetNotificationValidationError) ErrorName() string
ErrorName returns error name.
func (NotifyTargetNotificationValidationError) Field ¶
func (e NotifyTargetNotificationValidationError) Field() string
Field function returns field value.
func (NotifyTargetNotificationValidationError) Key ¶
func (e NotifyTargetNotificationValidationError) Key() bool
Key function returns key value.
func (NotifyTargetNotificationValidationError) Reason ¶
func (e NotifyTargetNotificationValidationError) Reason() string
Reason function returns reason value.
type NotifyTargetValidationError ¶
type NotifyTargetValidationError struct {
// contains filtered or unexported fields
}
NotifyTargetValidationError is the validation error returned by NotifyTarget.Validate if the designated constraints aren't met.
func (NotifyTargetValidationError) Cause ¶
func (e NotifyTargetValidationError) Cause() error
Cause function returns cause value.
func (NotifyTargetValidationError) Error ¶
func (e NotifyTargetValidationError) Error() string
Error satisfies the builtin error interface
func (NotifyTargetValidationError) ErrorName ¶
func (e NotifyTargetValidationError) ErrorName() string
ErrorName returns error name.
func (NotifyTargetValidationError) Field ¶
func (e NotifyTargetValidationError) Field() string
Field function returns field value.
func (NotifyTargetValidationError) Key ¶
func (e NotifyTargetValidationError) Key() bool
Key function returns key value.
func (NotifyTargetValidationError) Reason ¶
func (e NotifyTargetValidationError) Reason() string
Reason function returns reason value.
type OnetimeOptions ¶
type OnetimeOptions struct { // Start Start *string `protobuf:"bytes,1,opt,name=start,proto3,oneof" json:"start,omitempty"` // End End *string `protobuf:"bytes,2,opt,name=end,proto3,oneof" json:"end,omitempty"` // contains filtered or unexported fields }
func (*OnetimeOptions) Descriptor
deprecated
func (*OnetimeOptions) Descriptor() ([]byte, []int)
Deprecated: Use OnetimeOptions.ProtoReflect.Descriptor instead.
func (*OnetimeOptions) GetEnd ¶
func (x *OnetimeOptions) GetEnd() string
func (*OnetimeOptions) GetStart ¶
func (x *OnetimeOptions) GetStart() string
func (*OnetimeOptions) ProtoMessage ¶
func (*OnetimeOptions) ProtoMessage()
func (*OnetimeOptions) ProtoReflect ¶
func (x *OnetimeOptions) ProtoReflect() protoreflect.Message
func (*OnetimeOptions) Reset ¶
func (x *OnetimeOptions) Reset()
func (*OnetimeOptions) String ¶
func (x *OnetimeOptions) String() string
func (*OnetimeOptions) Validate ¶
func (m *OnetimeOptions) Validate() error
Validate checks the field values on OnetimeOptions 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 (*OnetimeOptions) ValidateAll ¶
func (m *OnetimeOptions) ValidateAll() error
ValidateAll checks the field values on OnetimeOptions 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 OnetimeOptionsMultiError, or nil if none found.
type OnetimeOptionsMultiError ¶
type OnetimeOptionsMultiError []error
OnetimeOptionsMultiError is an error wrapping multiple validation errors returned by OnetimeOptions.ValidateAll() if the designated constraints aren't met.
func (OnetimeOptionsMultiError) AllErrors ¶
func (m OnetimeOptionsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (OnetimeOptionsMultiError) Error ¶
func (m OnetimeOptionsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type OnetimeOptionsValidationError ¶
type OnetimeOptionsValidationError struct {
// contains filtered or unexported fields
}
OnetimeOptionsValidationError is the validation error returned by OnetimeOptions.Validate if the designated constraints aren't met.
func (OnetimeOptionsValidationError) Cause ¶
func (e OnetimeOptionsValidationError) Cause() error
Cause function returns cause value.
func (OnetimeOptionsValidationError) Error ¶
func (e OnetimeOptionsValidationError) Error() string
Error satisfies the builtin error interface
func (OnetimeOptionsValidationError) ErrorName ¶
func (e OnetimeOptionsValidationError) ErrorName() string
ErrorName returns error name.
func (OnetimeOptionsValidationError) Field ¶
func (e OnetimeOptionsValidationError) Field() string
Field function returns field value.
func (OnetimeOptionsValidationError) Key ¶
func (e OnetimeOptionsValidationError) Key() bool
Key function returns key value.
func (OnetimeOptionsValidationError) Reason ¶
func (e OnetimeOptionsValidationError) Reason() string
Reason function returns reason value.
type RepeatCrontabSet ¶
type RepeatCrontabSet struct { // Min Min *string `protobuf:"bytes,1,opt,name=min,proto3,oneof" json:"min,omitempty"` // Hour Hour *string `protobuf:"bytes,2,opt,name=hour,proto3,oneof" json:"hour,omitempty"` // Day Day *string `protobuf:"bytes,3,opt,name=day,proto3,oneof" json:"day,omitempty"` // Month Month *string `protobuf:"bytes,4,opt,name=month,proto3,oneof" json:"month,omitempty"` // Week Week *string `protobuf:"bytes,5,opt,name=week,proto3,oneof" json:"week,omitempty"` // contains filtered or unexported fields }
func (*RepeatCrontabSet) Descriptor
deprecated
func (*RepeatCrontabSet) Descriptor() ([]byte, []int)
Deprecated: Use RepeatCrontabSet.ProtoReflect.Descriptor instead.
func (*RepeatCrontabSet) GetDay ¶
func (x *RepeatCrontabSet) GetDay() string
func (*RepeatCrontabSet) GetHour ¶
func (x *RepeatCrontabSet) GetHour() string
func (*RepeatCrontabSet) GetMin ¶
func (x *RepeatCrontabSet) GetMin() string
func (*RepeatCrontabSet) GetMonth ¶
func (x *RepeatCrontabSet) GetMonth() string
func (*RepeatCrontabSet) GetWeek ¶
func (x *RepeatCrontabSet) GetWeek() string
func (*RepeatCrontabSet) ProtoMessage ¶
func (*RepeatCrontabSet) ProtoMessage()
func (*RepeatCrontabSet) ProtoReflect ¶
func (x *RepeatCrontabSet) ProtoReflect() protoreflect.Message
func (*RepeatCrontabSet) Reset ¶
func (x *RepeatCrontabSet) Reset()
func (*RepeatCrontabSet) String ¶
func (x *RepeatCrontabSet) String() string
func (*RepeatCrontabSet) Validate ¶
func (m *RepeatCrontabSet) Validate() error
Validate checks the field values on RepeatCrontabSet 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 (*RepeatCrontabSet) ValidateAll ¶
func (m *RepeatCrontabSet) ValidateAll() error
ValidateAll checks the field values on RepeatCrontabSet 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 RepeatCrontabSetMultiError, or nil if none found.
type RepeatCrontabSetMultiError ¶
type RepeatCrontabSetMultiError []error
RepeatCrontabSetMultiError is an error wrapping multiple validation errors returned by RepeatCrontabSet.ValidateAll() if the designated constraints aren't met.
func (RepeatCrontabSetMultiError) AllErrors ¶
func (m RepeatCrontabSetMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RepeatCrontabSetMultiError) Error ¶
func (m RepeatCrontabSetMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RepeatCrontabSetValidationError ¶
type RepeatCrontabSetValidationError struct {
// contains filtered or unexported fields
}
RepeatCrontabSetValidationError is the validation error returned by RepeatCrontabSet.Validate if the designated constraints aren't met.
func (RepeatCrontabSetValidationError) Cause ¶
func (e RepeatCrontabSetValidationError) Cause() error
Cause function returns cause value.
func (RepeatCrontabSetValidationError) Error ¶
func (e RepeatCrontabSetValidationError) Error() string
Error satisfies the builtin error interface
func (RepeatCrontabSetValidationError) ErrorName ¶
func (e RepeatCrontabSetValidationError) ErrorName() string
ErrorName returns error name.
func (RepeatCrontabSetValidationError) Field ¶
func (e RepeatCrontabSetValidationError) Field() string
Field function returns field value.
func (RepeatCrontabSetValidationError) Key ¶
func (e RepeatCrontabSetValidationError) Key() bool
Key function returns key value.
func (RepeatCrontabSetValidationError) Reason ¶
func (e RepeatCrontabSetValidationError) Reason() string
Reason function returns reason value.
type RepeatOptions ¶
type RepeatOptions struct { // Start Start *string `protobuf:"bytes,1,opt,name=start,proto3,oneof" json:"start,omitempty"` // End End *string `protobuf:"bytes,2,opt,name=end,proto3,oneof" json:"end,omitempty"` // Crontab Duration CrontabDuration *string `protobuf:"bytes,3,opt,name=crontab_duration,json=crontabDuration,proto3,oneof" json:"crontab_duration,omitempty"` // Repeat Expire Expire *string `protobuf:"bytes,4,opt,name=expire,proto3,oneof" json:"expire,omitempty"` // Crontab configuration Crontab *RepeatCrontabSet `protobuf:"bytes,5,opt,name=crontab,proto3" json:"crontab,omitempty"` // contains filtered or unexported fields }
func (*RepeatOptions) Descriptor
deprecated
func (*RepeatOptions) Descriptor() ([]byte, []int)
Deprecated: Use RepeatOptions.ProtoReflect.Descriptor instead.
func (*RepeatOptions) GetCrontab ¶
func (x *RepeatOptions) GetCrontab() *RepeatCrontabSet
func (*RepeatOptions) GetCrontabDuration ¶
func (x *RepeatOptions) GetCrontabDuration() string
func (*RepeatOptions) GetEnd ¶
func (x *RepeatOptions) GetEnd() string
func (*RepeatOptions) GetExpire ¶
func (x *RepeatOptions) GetExpire() string
func (*RepeatOptions) GetStart ¶
func (x *RepeatOptions) GetStart() string
func (*RepeatOptions) ProtoMessage ¶
func (*RepeatOptions) ProtoMessage()
func (*RepeatOptions) ProtoReflect ¶
func (x *RepeatOptions) ProtoReflect() protoreflect.Message
func (*RepeatOptions) Reset ¶
func (x *RepeatOptions) Reset()
func (*RepeatOptions) String ¶
func (x *RepeatOptions) String() string
func (*RepeatOptions) Validate ¶
func (m *RepeatOptions) Validate() error
Validate checks the field values on RepeatOptions 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 (*RepeatOptions) ValidateAll ¶
func (m *RepeatOptions) ValidateAll() error
ValidateAll checks the field values on RepeatOptions 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 RepeatOptionsMultiError, or nil if none found.
type RepeatOptionsMultiError ¶
type RepeatOptionsMultiError []error
RepeatOptionsMultiError is an error wrapping multiple validation errors returned by RepeatOptions.ValidateAll() if the designated constraints aren't met.
func (RepeatOptionsMultiError) AllErrors ¶
func (m RepeatOptionsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RepeatOptionsMultiError) Error ¶
func (m RepeatOptionsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RepeatOptionsValidationError ¶
type RepeatOptionsValidationError struct {
// contains filtered or unexported fields
}
RepeatOptionsValidationError is the validation error returned by RepeatOptions.Validate if the designated constraints aren't met.
func (RepeatOptionsValidationError) Cause ¶
func (e RepeatOptionsValidationError) Cause() error
Cause function returns cause value.
func (RepeatOptionsValidationError) Error ¶
func (e RepeatOptionsValidationError) Error() string
Error satisfies the builtin error interface
func (RepeatOptionsValidationError) ErrorName ¶
func (e RepeatOptionsValidationError) ErrorName() string
ErrorName returns error name.
func (RepeatOptionsValidationError) Field ¶
func (e RepeatOptionsValidationError) Field() string
Field function returns field value.
func (RepeatOptionsValidationError) Key ¶
func (e RepeatOptionsValidationError) Key() bool
Key function returns key value.
func (RepeatOptionsValidationError) Reason ¶
func (e RepeatOptionsValidationError) Reason() string
Reason function returns reason value.
type Tag ¶
type Tag struct { // Tag Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Tag Value Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Tag) Descriptor
deprecated
func (*Tag) ProtoMessage ¶
func (*Tag) ProtoMessage()
func (*Tag) ProtoReflect ¶
func (x *Tag) ProtoReflect() protoreflect.Message
func (*Tag) Validate ¶
Validate checks the field values on Tag 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 (*Tag) ValidateAll ¶
ValidateAll checks the field values on Tag 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 TagMultiError, or nil if none found.
type TagMultiError ¶
type TagMultiError []error
TagMultiError is an error wrapping multiple validation errors returned by Tag.ValidateAll() if the designated constraints aren't met.
func (TagMultiError) AllErrors ¶
func (m TagMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TagMultiError) Error ¶
func (m TagMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TagValidationError ¶
type TagValidationError struct {
// contains filtered or unexported fields
}
TagValidationError is the validation error returned by Tag.Validate if the designated constraints aren't met.
func (TagValidationError) Cause ¶
func (e TagValidationError) Cause() error
Cause function returns cause value.
func (TagValidationError) Error ¶
func (e TagValidationError) Error() string
Error satisfies the builtin error interface
func (TagValidationError) ErrorName ¶
func (e TagValidationError) ErrorName() string
ErrorName returns error name.
func (TagValidationError) Field ¶
func (e TagValidationError) Field() string
Field function returns field value.
func (TagValidationError) Key ¶
func (e TagValidationError) Key() bool
Key function returns key value.
func (TagValidationError) Reason ¶
func (e TagValidationError) Reason() string
Reason function returns reason value.