Documentation
¶
Index ¶
- Variables
- type CheckerOpt
- func (*CheckerOpt) Descriptor() ([]byte, []int)deprecated
- func (x *CheckerOpt) GetInfoEvent() bool
- func (x *CheckerOpt) GetRules() []*Rule
- func (*CheckerOpt) ProtoMessage()
- func (x *CheckerOpt) ProtoReflect() protoreflect.Message
- func (x *CheckerOpt) Reset()
- func (x *CheckerOpt) String() string
- func (m *CheckerOpt) Validate() error
- func (m *CheckerOpt) ValidateAll() error
- type CheckerOptMultiError
- type CheckerOptValidationError
- type Children
- func (*Children) Descriptor() ([]byte, []int)deprecated
- func (x *Children) GetAlias() string
- func (x *Children) GetCode() string
- func (x *Children) GetDataSource() string
- func (x *Children) GetField() string
- func (x *Children) GetFieldFunc() string
- func (x *Children) GetFieldType() string
- func (x *Children) GetFilters() []*Filter
- func (x *Children) GetGroupBy() []string
- func (x *Children) GetGroupByTime() string
- func (x *Children) GetNamespace() string
- func (x *Children) GetQ() string
- func (x *Children) GetQueryFuncs() []*QueryFuncs
- func (x *Children) GetType() string
- func (*Children) ProtoMessage()
- func (x *Children) ProtoReflect() protoreflect.Message
- func (x *Children) Reset()
- func (x *Children) String() string
- func (m *Children) Validate() error
- func (m *Children) ValidateAll() error
- type ChildrenMultiError
- type ChildrenValidationError
- type Conditions
- func (*Conditions) Descriptor() ([]byte, []int)deprecated
- func (x *Conditions) GetAlias() string
- func (x *Conditions) GetOperands() []string
- func (x *Conditions) GetOperator() string
- func (*Conditions) ProtoMessage()
- func (x *Conditions) ProtoReflect() protoreflect.Message
- func (x *Conditions) Reset()
- func (x *Conditions) String() string
- func (m *Conditions) Validate() error
- func (m *Conditions) ValidateAll() error
- type ConditionsMultiError
- type ConditionsValidationError
- type Extend
- func (*Extend) Descriptor() ([]byte, []int)deprecated
- func (x *Extend) GetFuncName() string
- func (x *Extend) GetNoDataPeriodCount() int64
- func (x *Extend) GetQuerylist() []*QueryList
- func (x *Extend) GetRecoverNeedPeriodCount() int64
- func (x *Extend) GetRules() []*Rule
- func (*Extend) ProtoMessage()
- func (x *Extend) ProtoReflect() protoreflect.Message
- func (x *Extend) Reset()
- func (x *Extend) String() string
- func (m *Extend) Validate() error
- func (m *Extend) ValidateAll() error
- type ExtendMultiError
- type ExtendValidationError
- type Filter
- func (*Filter) Descriptor() ([]byte, []int)deprecated
- func (x *Filter) GetId() string
- func (x *Filter) GetLogic() string
- func (x *Filter) GetName() string
- func (x *Filter) GetOp() string
- func (x *Filter) GetType() string
- func (x *Filter) GetValue() string
- func (*Filter) ProtoMessage()
- func (x *Filter) ProtoReflect() protoreflect.Message
- func (x *Filter) Reset()
- func (x *Filter) String() string
- func (m *Filter) Validate() error
- func (m *Filter) ValidateAll() error
- type FilterMultiError
- type FilterValidationError
- type JsonScript
- func (*JsonScript) Descriptor() ([]byte, []int)deprecated
- func (x *JsonScript) GetAtAccounts() []*Unknown
- func (x *JsonScript) GetAtNoDataAccounts() []*Unknown
- func (x *JsonScript) GetChannels() []*Unknown
- func (x *JsonScript) GetCheckerOpt() *CheckerOpt
- func (x *JsonScript) GetEvery() string
- func (x *JsonScript) GetGroupBy() []string
- func (x *JsonScript) GetInterval() int64
- func (x *JsonScript) GetMessage() string
- func (x *JsonScript) GetNoDataMessage() string
- func (x *JsonScript) GetNoDataPeriodCount() int64
- func (x *JsonScript) GetNoDataTitle() string
- func (x *JsonScript) GetRecoverNeedPeriodCount() int64
- func (x *JsonScript) GetTargets() []*Target
- func (x *JsonScript) GetTitle() string
- func (x *JsonScript) GetType() string
- func (*JsonScript) ProtoMessage()
- func (x *JsonScript) ProtoReflect() protoreflect.Message
- func (x *JsonScript) Reset()
- func (x *JsonScript) String() string
- func (m *JsonScript) Validate() error
- func (m *JsonScript) ValidateAll() error
- type JsonScriptMultiError
- type JsonScriptValidationError
- type Monitor
- func (*Monitor) Descriptor() ([]byte, []int)deprecated
- func (x *Monitor) GetDashboardName() string
- func (x *Monitor) GetExtend() *Extend
- func (x *Monitor) GetIsDisable() bool
- func (x *Monitor) GetJsonScript() *JsonScript
- func (x *Monitor) GetMonitorName() string
- func (*Monitor) ProtoMessage()
- func (x *Monitor) ProtoReflect() protoreflect.Message
- func (x *Monitor) Reset()
- func (x *Monitor) String() string
- func (m *Monitor) Validate() error
- func (m *Monitor) ValidateAll() error
- type MonitorMultiError
- type MonitorValidationError
- type Query
- func (*Query) Descriptor() ([]byte, []int)deprecated
- func (x *Query) GetAlias() string
- func (x *Query) GetChildren() []*Children
- func (x *Query) GetCode() string
- func (x *Query) GetDataSource() string
- func (x *Query) GetExpression() string
- func (x *Query) GetField() string
- func (x *Query) GetFieldFunc() string
- func (x *Query) GetFieldType() string
- func (x *Query) GetFill() string
- func (x *Query) GetFilters() []*Filter
- func (x *Query) GetFuncList() []string
- func (x *Query) GetGroupBy() []string
- func (x *Query) GetGroupByTime() string
- func (x *Query) GetNamespace() string
- func (x *Query) GetQ() string
- func (x *Query) GetQueryFuncs() []*QueryFuncs
- func (x *Query) GetType() string
- func (*Query) ProtoMessage()
- func (x *Query) ProtoReflect() protoreflect.Message
- func (x *Query) Reset()
- func (x *Query) String() string
- func (m *Query) Validate() error
- func (m *Query) ValidateAll() error
- type QueryFuncs
- func (*QueryFuncs) Descriptor() ([]byte, []int)deprecated
- func (x *QueryFuncs) GetArgs() []string
- func (x *QueryFuncs) GetName() string
- func (*QueryFuncs) ProtoMessage()
- func (x *QueryFuncs) ProtoReflect() protoreflect.Message
- func (x *QueryFuncs) Reset()
- func (x *QueryFuncs) String() string
- func (m *QueryFuncs) Validate() error
- func (m *QueryFuncs) ValidateAll() error
- type QueryFuncsMultiError
- type QueryFuncsValidationError
- type QueryList
- func (*QueryList) Descriptor() ([]byte, []int)deprecated
- func (x *QueryList) GetDatasource() string
- func (x *QueryList) GetQtype() string
- func (x *QueryList) GetQuery() *Query
- func (x *QueryList) GetUuid() string
- func (*QueryList) ProtoMessage()
- func (x *QueryList) ProtoReflect() protoreflect.Message
- func (x *QueryList) Reset()
- func (x *QueryList) String() string
- func (m *QueryList) Validate() error
- func (m *QueryList) ValidateAll() error
- type QueryListMultiError
- type QueryListValidationError
- type QueryMultiError
- type QueryValidationError
- type Rule
- func (*Rule) Descriptor() ([]byte, []int)deprecated
- func (x *Rule) GetCheckCount() int64
- func (x *Rule) GetConditionLogic() string
- func (x *Rule) GetConditions() []*Conditions
- func (x *Rule) GetDirection() string
- func (x *Rule) GetPeriodNum() int64
- func (x *Rule) GetStatus() string
- func (x *Rule) GetStrength() int64
- func (*Rule) ProtoMessage()
- func (x *Rule) ProtoReflect() protoreflect.Message
- func (x *Rule) Reset()
- func (x *Rule) String() string
- func (m *Rule) Validate() error
- func (m *Rule) ValidateAll() error
- type RuleMultiError
- type RuleValidationError
- type Target
- func (*Target) Descriptor() ([]byte, []int)deprecated
- func (x *Target) GetAlias() string
- func (x *Target) GetDql() string
- func (*Target) ProtoMessage()
- func (x *Target) ProtoReflect() protoreflect.Message
- func (x *Target) Reset()
- func (x *Target) String() string
- func (m *Target) Validate() error
- func (m *Target) ValidateAll() error
- type TargetMultiError
- type TargetValidationError
- type Unknown
- type UnknownMultiError
- type UnknownValidationError
Constants ¶
This section is empty.
Variables ¶
var File_guance_io_json_monitor_v1alpha1_monitor_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CheckerOpt ¶
type CheckerOpt struct { Rules []*Rule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` InfoEvent *bool `protobuf:"varint,2,opt,name=info_event,json=infoEvent,proto3,oneof" json:"info_event,omitempty"` // contains filtered or unexported fields }
func (*CheckerOpt) Descriptor
deprecated
func (*CheckerOpt) Descriptor() ([]byte, []int)
Deprecated: Use CheckerOpt.ProtoReflect.Descriptor instead.
func (*CheckerOpt) GetInfoEvent ¶
func (x *CheckerOpt) GetInfoEvent() bool
func (*CheckerOpt) GetRules ¶
func (x *CheckerOpt) GetRules() []*Rule
func (*CheckerOpt) ProtoMessage ¶
func (*CheckerOpt) ProtoMessage()
func (*CheckerOpt) ProtoReflect ¶
func (x *CheckerOpt) ProtoReflect() protoreflect.Message
func (*CheckerOpt) Reset ¶
func (x *CheckerOpt) Reset()
func (*CheckerOpt) String ¶
func (x *CheckerOpt) String() string
func (*CheckerOpt) Validate ¶
func (m *CheckerOpt) Validate() error
Validate checks the field values on CheckerOpt 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 (*CheckerOpt) ValidateAll ¶
func (m *CheckerOpt) ValidateAll() error
ValidateAll checks the field values on CheckerOpt 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 CheckerOptMultiError, or nil if none found.
type CheckerOptMultiError ¶
type CheckerOptMultiError []error
CheckerOptMultiError is an error wrapping multiple validation errors returned by CheckerOpt.ValidateAll() if the designated constraints aren't met.
func (CheckerOptMultiError) AllErrors ¶
func (m CheckerOptMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CheckerOptMultiError) Error ¶
func (m CheckerOptMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CheckerOptValidationError ¶
type CheckerOptValidationError struct {
// contains filtered or unexported fields
}
CheckerOptValidationError is the validation error returned by CheckerOpt.Validate if the designated constraints aren't met.
func (CheckerOptValidationError) Cause ¶
func (e CheckerOptValidationError) Cause() error
Cause function returns cause value.
func (CheckerOptValidationError) Error ¶
func (e CheckerOptValidationError) Error() string
Error satisfies the builtin error interface
func (CheckerOptValidationError) ErrorName ¶
func (e CheckerOptValidationError) ErrorName() string
ErrorName returns error name.
func (CheckerOptValidationError) Field ¶
func (e CheckerOptValidationError) Field() string
Field function returns field value.
func (CheckerOptValidationError) Key ¶
func (e CheckerOptValidationError) Key() bool
Key function returns key value.
func (CheckerOptValidationError) Reason ¶
func (e CheckerOptValidationError) Reason() string
Reason function returns reason value.
type Children ¶
type Children struct { Alias string `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` DataSource string `protobuf:"bytes,3,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"` Field string `protobuf:"bytes,4,opt,name=field,proto3" json:"field,omitempty"` FieldFunc string `protobuf:"bytes,5,opt,name=field_func,json=fieldFunc,proto3" json:"field_func,omitempty"` FieldType string `protobuf:"bytes,6,opt,name=field_type,json=fieldType,proto3" json:"field_type,omitempty"` GroupBy []string `protobuf:"bytes,7,rep,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` GroupByTime string `protobuf:"bytes,8,opt,name=group_by_time,json=groupByTime,proto3" json:"group_by_time,omitempty"` Namespace string `protobuf:"bytes,9,opt,name=namespace,proto3" json:"namespace,omitempty"` Q string `protobuf:"bytes,10,opt,name=q,proto3" json:"q,omitempty"` Type string `protobuf:"bytes,11,opt,name=type,proto3" json:"type,omitempty"` Filters []*Filter `protobuf:"bytes,12,rep,name=filters,proto3" json:"filters,omitempty"` QueryFuncs []*QueryFuncs `protobuf:"bytes,13,rep,name=query_funcs,json=queryFuncs,proto3" json:"query_funcs,omitempty"` // contains filtered or unexported fields }
func (*Children) Descriptor
deprecated
func (*Children) GetDataSource ¶
func (*Children) GetFieldFunc ¶
func (*Children) GetFieldType ¶
func (*Children) GetFilters ¶
func (*Children) GetGroupBy ¶
func (*Children) GetGroupByTime ¶
func (*Children) GetNamespace ¶
func (*Children) GetQueryFuncs ¶
func (x *Children) GetQueryFuncs() []*QueryFuncs
func (*Children) ProtoMessage ¶
func (*Children) ProtoMessage()
func (*Children) ProtoReflect ¶
func (x *Children) ProtoReflect() protoreflect.Message
func (*Children) Validate ¶
Validate checks the field values on Children 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 (*Children) ValidateAll ¶
ValidateAll checks the field values on Children 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 ChildrenMultiError, or nil if none found.
type ChildrenMultiError ¶
type ChildrenMultiError []error
ChildrenMultiError is an error wrapping multiple validation errors returned by Children.ValidateAll() if the designated constraints aren't met.
func (ChildrenMultiError) AllErrors ¶
func (m ChildrenMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ChildrenMultiError) Error ¶
func (m ChildrenMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ChildrenValidationError ¶
type ChildrenValidationError struct {
// contains filtered or unexported fields
}
ChildrenValidationError is the validation error returned by Children.Validate if the designated constraints aren't met.
func (ChildrenValidationError) Cause ¶
func (e ChildrenValidationError) Cause() error
Cause function returns cause value.
func (ChildrenValidationError) Error ¶
func (e ChildrenValidationError) Error() string
Error satisfies the builtin error interface
func (ChildrenValidationError) ErrorName ¶
func (e ChildrenValidationError) ErrorName() string
ErrorName returns error name.
func (ChildrenValidationError) Field ¶
func (e ChildrenValidationError) Field() string
Field function returns field value.
func (ChildrenValidationError) Key ¶
func (e ChildrenValidationError) Key() bool
Key function returns key value.
func (ChildrenValidationError) Reason ¶
func (e ChildrenValidationError) Reason() string
Reason function returns reason value.
type Conditions ¶
type Conditions struct { Alias string `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` Operands []string `protobuf:"bytes,2,rep,name=operands,proto3" json:"operands,omitempty"` Operator string `protobuf:"bytes,3,opt,name=operator,proto3" json:"operator,omitempty"` // contains filtered or unexported fields }
func (*Conditions) Descriptor
deprecated
func (*Conditions) Descriptor() ([]byte, []int)
Deprecated: Use Conditions.ProtoReflect.Descriptor instead.
func (*Conditions) GetAlias ¶
func (x *Conditions) GetAlias() string
func (*Conditions) GetOperands ¶
func (x *Conditions) GetOperands() []string
func (*Conditions) GetOperator ¶
func (x *Conditions) GetOperator() string
func (*Conditions) ProtoMessage ¶
func (*Conditions) ProtoMessage()
func (*Conditions) ProtoReflect ¶
func (x *Conditions) ProtoReflect() protoreflect.Message
func (*Conditions) Reset ¶
func (x *Conditions) Reset()
func (*Conditions) String ¶
func (x *Conditions) String() string
func (*Conditions) Validate ¶
func (m *Conditions) Validate() error
Validate checks the field values on Conditions 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 (*Conditions) ValidateAll ¶
func (m *Conditions) ValidateAll() error
ValidateAll checks the field values on Conditions 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 ConditionsMultiError, or nil if none found.
type ConditionsMultiError ¶
type ConditionsMultiError []error
ConditionsMultiError is an error wrapping multiple validation errors returned by Conditions.ValidateAll() if the designated constraints aren't met.
func (ConditionsMultiError) AllErrors ¶
func (m ConditionsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ConditionsMultiError) Error ¶
func (m ConditionsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ConditionsValidationError ¶
type ConditionsValidationError struct {
// contains filtered or unexported fields
}
ConditionsValidationError is the validation error returned by Conditions.Validate if the designated constraints aren't met.
func (ConditionsValidationError) Cause ¶
func (e ConditionsValidationError) Cause() error
Cause function returns cause value.
func (ConditionsValidationError) Error ¶
func (e ConditionsValidationError) Error() string
Error satisfies the builtin error interface
func (ConditionsValidationError) ErrorName ¶
func (e ConditionsValidationError) ErrorName() string
ErrorName returns error name.
func (ConditionsValidationError) Field ¶
func (e ConditionsValidationError) Field() string
Field function returns field value.
func (ConditionsValidationError) Key ¶
func (e ConditionsValidationError) Key() bool
Key function returns key value.
func (ConditionsValidationError) Reason ¶
func (e ConditionsValidationError) Reason() string
Reason function returns reason value.
type Extend ¶
type Extend struct { FuncName string `protobuf:"bytes,1,opt,name=func_name,json=funcName,proto3" json:"func_name,omitempty"` Querylist []*QueryList `protobuf:"bytes,2,rep,name=querylist,proto3" json:"querylist,omitempty"` Rules []*Rule `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty"` NoDataPeriodCount int64 `protobuf:"varint,4,opt,name=no_data_period_count,json=noDataPeriodCount,proto3" json:"no_data_period_count,omitempty"` RecoverNeedPeriodCount int64 `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Extend) Descriptor
deprecated
func (*Extend) GetFuncName ¶
func (*Extend) GetNoDataPeriodCount ¶
func (*Extend) GetQuerylist ¶
func (*Extend) GetRecoverNeedPeriodCount ¶
func (*Extend) ProtoMessage ¶
func (*Extend) ProtoMessage()
func (*Extend) ProtoReflect ¶
func (x *Extend) ProtoReflect() protoreflect.Message
func (*Extend) Validate ¶
Validate checks the field values on Extend 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 (*Extend) ValidateAll ¶
ValidateAll checks the field values on Extend 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 ExtendMultiError, or nil if none found.
type ExtendMultiError ¶
type ExtendMultiError []error
ExtendMultiError is an error wrapping multiple validation errors returned by Extend.ValidateAll() if the designated constraints aren't met.
func (ExtendMultiError) AllErrors ¶
func (m ExtendMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ExtendMultiError) Error ¶
func (m ExtendMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ExtendValidationError ¶
type ExtendValidationError struct {
// contains filtered or unexported fields
}
ExtendValidationError is the validation error returned by Extend.Validate if the designated constraints aren't met.
func (ExtendValidationError) Cause ¶
func (e ExtendValidationError) Cause() error
Cause function returns cause value.
func (ExtendValidationError) Error ¶
func (e ExtendValidationError) Error() string
Error satisfies the builtin error interface
func (ExtendValidationError) ErrorName ¶
func (e ExtendValidationError) ErrorName() string
ErrorName returns error name.
func (ExtendValidationError) Field ¶
func (e ExtendValidationError) Field() string
Field function returns field value.
func (ExtendValidationError) Key ¶
func (e ExtendValidationError) Key() bool
Key function returns key value.
func (ExtendValidationError) Reason ¶
func (e ExtendValidationError) Reason() string
Reason function returns reason value.
type Filter ¶
type Filter struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Logic string `protobuf:"bytes,2,opt,name=logic,proto3" json:"logic,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Op string `protobuf:"bytes,4,opt,name=op,proto3" json:"op,omitempty"` Value string `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"` Type *string `protobuf:"bytes,6,opt,name=type,proto3,oneof" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Filter) Descriptor
deprecated
func (*Filter) ProtoMessage ¶
func (*Filter) ProtoMessage()
func (*Filter) ProtoReflect ¶
func (x *Filter) ProtoReflect() protoreflect.Message
func (*Filter) Validate ¶
Validate checks the field values on Filter 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 (*Filter) ValidateAll ¶
ValidateAll checks the field values on Filter 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 FilterMultiError, or nil if none found.
type FilterMultiError ¶
type FilterMultiError []error
FilterMultiError is an error wrapping multiple validation errors returned by Filter.ValidateAll() if the designated constraints aren't met.
func (FilterMultiError) AllErrors ¶
func (m FilterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FilterMultiError) Error ¶
func (m FilterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FilterValidationError ¶
type FilterValidationError struct {
// contains filtered or unexported fields
}
FilterValidationError is the validation error returned by Filter.Validate if the designated constraints aren't met.
func (FilterValidationError) Cause ¶
func (e FilterValidationError) Cause() error
Cause function returns cause value.
func (FilterValidationError) Error ¶
func (e FilterValidationError) Error() string
Error satisfies the builtin error interface
func (FilterValidationError) ErrorName ¶
func (e FilterValidationError) ErrorName() string
ErrorName returns error name.
func (FilterValidationError) Field ¶
func (e FilterValidationError) Field() string
Field function returns field value.
func (FilterValidationError) Key ¶
func (e FilterValidationError) Key() bool
Key function returns key value.
func (FilterValidationError) Reason ¶
func (e FilterValidationError) Reason() string
Reason function returns reason value.
type JsonScript ¶
type JsonScript struct { CheckerOpt *CheckerOpt `protobuf:"bytes,1,opt,name=checker_opt,json=checkerOpt,proto3" json:"checker_opt,omitempty"` Every string `protobuf:"bytes,2,opt,name=every,proto3" json:"every,omitempty"` GroupBy []string `protobuf:"bytes,3,rep,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` Interval int64 `protobuf:"varint,4,opt,name=interval,proto3" json:"interval,omitempty"` Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` Targets []*Target `protobuf:"bytes,6,rep,name=targets,proto3" json:"targets,omitempty"` Title string `protobuf:"bytes,7,opt,name=title,proto3" json:"title,omitempty"` Type string `protobuf:"bytes,8,opt,name=type,proto3" json:"type,omitempty"` NoDataPeriodCount int64 `protobuf:"varint,9,opt,name=no_data_period_count,json=noDataPeriodCount,proto3" json:"no_data_period_count,omitempty"` RecoverNeedPeriodCount int64 `` /* 133-byte string literal not displayed */ NoDataMessage *string `protobuf:"bytes,11,opt,name=no_data_message,json=noDataMessage,proto3,oneof" json:"no_data_message,omitempty"` NoDataTitle *string `protobuf:"bytes,12,opt,name=no_data_title,json=noDataTitle,proto3,oneof" json:"no_data_title,omitempty"` Channels []*Unknown `protobuf:"bytes,13,rep,name=channels,proto3" json:"channels,omitempty"` AtAccounts []*Unknown `protobuf:"bytes,14,rep,name=at_accounts,json=atAccounts,proto3" json:"at_accounts,omitempty"` AtNoDataAccounts []*Unknown `protobuf:"bytes,15,rep,name=at_no_data_accounts,json=atNoDataAccounts,proto3" json:"at_no_data_accounts,omitempty"` // contains filtered or unexported fields }
func (*JsonScript) Descriptor
deprecated
func (*JsonScript) Descriptor() ([]byte, []int)
Deprecated: Use JsonScript.ProtoReflect.Descriptor instead.
func (*JsonScript) GetAtAccounts ¶
func (x *JsonScript) GetAtAccounts() []*Unknown
func (*JsonScript) GetAtNoDataAccounts ¶
func (x *JsonScript) GetAtNoDataAccounts() []*Unknown
func (*JsonScript) GetChannels ¶
func (x *JsonScript) GetChannels() []*Unknown
func (*JsonScript) GetCheckerOpt ¶
func (x *JsonScript) GetCheckerOpt() *CheckerOpt
func (*JsonScript) GetEvery ¶
func (x *JsonScript) GetEvery() string
func (*JsonScript) GetGroupBy ¶
func (x *JsonScript) GetGroupBy() []string
func (*JsonScript) GetInterval ¶
func (x *JsonScript) GetInterval() int64
func (*JsonScript) GetMessage ¶
func (x *JsonScript) GetMessage() string
func (*JsonScript) GetNoDataMessage ¶
func (x *JsonScript) GetNoDataMessage() string
func (*JsonScript) GetNoDataPeriodCount ¶
func (x *JsonScript) GetNoDataPeriodCount() int64
func (*JsonScript) GetNoDataTitle ¶
func (x *JsonScript) GetNoDataTitle() string
func (*JsonScript) GetRecoverNeedPeriodCount ¶
func (x *JsonScript) GetRecoverNeedPeriodCount() int64
func (*JsonScript) GetTargets ¶
func (x *JsonScript) GetTargets() []*Target
func (*JsonScript) GetTitle ¶
func (x *JsonScript) GetTitle() string
func (*JsonScript) GetType ¶
func (x *JsonScript) GetType() string
func (*JsonScript) ProtoMessage ¶
func (*JsonScript) ProtoMessage()
func (*JsonScript) ProtoReflect ¶
func (x *JsonScript) ProtoReflect() protoreflect.Message
func (*JsonScript) Reset ¶
func (x *JsonScript) Reset()
func (*JsonScript) String ¶
func (x *JsonScript) String() string
func (*JsonScript) Validate ¶
func (m *JsonScript) Validate() error
Validate checks the field values on JsonScript 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 (*JsonScript) ValidateAll ¶
func (m *JsonScript) ValidateAll() error
ValidateAll checks the field values on JsonScript 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 JsonScriptMultiError, or nil if none found.
type JsonScriptMultiError ¶
type JsonScriptMultiError []error
JsonScriptMultiError is an error wrapping multiple validation errors returned by JsonScript.ValidateAll() if the designated constraints aren't met.
func (JsonScriptMultiError) AllErrors ¶
func (m JsonScriptMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (JsonScriptMultiError) Error ¶
func (m JsonScriptMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type JsonScriptValidationError ¶
type JsonScriptValidationError struct {
// contains filtered or unexported fields
}
JsonScriptValidationError is the validation error returned by JsonScript.Validate if the designated constraints aren't met.
func (JsonScriptValidationError) Cause ¶
func (e JsonScriptValidationError) Cause() error
Cause function returns cause value.
func (JsonScriptValidationError) Error ¶
func (e JsonScriptValidationError) Error() string
Error satisfies the builtin error interface
func (JsonScriptValidationError) ErrorName ¶
func (e JsonScriptValidationError) ErrorName() string
ErrorName returns error name.
func (JsonScriptValidationError) Field ¶
func (e JsonScriptValidationError) Field() string
Field function returns field value.
func (JsonScriptValidationError) Key ¶
func (e JsonScriptValidationError) Key() bool
Key function returns key value.
func (JsonScriptValidationError) Reason ¶
func (e JsonScriptValidationError) Reason() string
Reason function returns reason value.
type Monitor ¶
type Monitor struct { Extend *Extend `protobuf:"bytes,1,opt,name=extend,proto3" json:"extend,omitempty"` JsonScript *JsonScript `protobuf:"bytes,2,opt,name=json_script,json=jsonScript,proto3" json:"json_script,omitempty"` MonitorName string `protobuf:"bytes,3,opt,name=monitor_name,json=monitorName,proto3" json:"monitor_name,omitempty"` IsDisable bool `protobuf:"varint,4,opt,name=is_disable,json=isDisable,proto3" json:"is_disable,omitempty"` DashboardName *string `protobuf:"bytes,5,opt,name=dashboard_name,json=dashboardName,proto3,oneof" json:"dashboard_name,omitempty"` // contains filtered or unexported fields }
func (*Monitor) Descriptor
deprecated
func (*Monitor) GetDashboardName ¶
func (*Monitor) GetIsDisable ¶
func (*Monitor) GetJsonScript ¶
func (x *Monitor) GetJsonScript() *JsonScript
func (*Monitor) GetMonitorName ¶
func (*Monitor) ProtoMessage ¶
func (*Monitor) ProtoMessage()
func (*Monitor) ProtoReflect ¶
func (x *Monitor) ProtoReflect() protoreflect.Message
func (*Monitor) Validate ¶
Validate checks the field values on Monitor 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 (*Monitor) ValidateAll ¶
ValidateAll checks the field values on Monitor 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 MonitorMultiError, or nil if none found.
type MonitorMultiError ¶
type MonitorMultiError []error
MonitorMultiError is an error wrapping multiple validation errors returned by Monitor.ValidateAll() if the designated constraints aren't met.
func (MonitorMultiError) AllErrors ¶
func (m MonitorMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MonitorMultiError) Error ¶
func (m MonitorMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MonitorValidationError ¶
type MonitorValidationError struct {
// contains filtered or unexported fields
}
MonitorValidationError is the validation error returned by Monitor.Validate if the designated constraints aren't met.
func (MonitorValidationError) Cause ¶
func (e MonitorValidationError) Cause() error
Cause function returns cause value.
func (MonitorValidationError) Error ¶
func (e MonitorValidationError) Error() string
Error satisfies the builtin error interface
func (MonitorValidationError) ErrorName ¶
func (e MonitorValidationError) ErrorName() string
ErrorName returns error name.
func (MonitorValidationError) Field ¶
func (e MonitorValidationError) Field() string
Field function returns field value.
func (MonitorValidationError) Key ¶
func (e MonitorValidationError) Key() bool
Key function returns key value.
func (MonitorValidationError) Reason ¶
func (e MonitorValidationError) Reason() string
Reason function returns reason value.
type Query ¶
type Query struct { Children []*Children `protobuf:"bytes,1,rep,name=children,proto3" json:"children,omitempty"` Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` Expression string `protobuf:"bytes,3,opt,name=expression,proto3" json:"expression,omitempty"` FuncList []string `protobuf:"bytes,4,rep,name=func_list,json=funcList,proto3" json:"func_list,omitempty"` Q string `protobuf:"bytes,5,opt,name=q,proto3" json:"q,omitempty"` Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"` Alias string `protobuf:"bytes,7,opt,name=alias,proto3" json:"alias,omitempty"` DataSource string `protobuf:"bytes,8,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"` Field string `protobuf:"bytes,9,opt,name=field,proto3" json:"field,omitempty"` FieldFunc string `protobuf:"bytes,10,opt,name=field_func,json=fieldFunc,proto3" json:"field_func,omitempty"` FieldType string `protobuf:"bytes,11,opt,name=field_type,json=fieldType,proto3" json:"field_type,omitempty"` GroupBy []string `protobuf:"bytes,12,rep,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` GroupByTime string `protobuf:"bytes,13,opt,name=group_by_time,json=groupByTime,proto3" json:"group_by_time,omitempty"` Namespace string `protobuf:"bytes,14,opt,name=namespace,proto3" json:"namespace,omitempty"` Filters []*Filter `protobuf:"bytes,15,rep,name=filters,proto3" json:"filters,omitempty"` Fill *string `protobuf:"bytes,16,opt,name=fill,proto3,oneof" json:"fill,omitempty"` QueryFuncs []*QueryFuncs `protobuf:"bytes,17,rep,name=query_funcs,json=queryFuncs,proto3" json:"query_funcs,omitempty"` // contains filtered or unexported fields }
func (*Query) Descriptor
deprecated
func (*Query) GetChildren ¶
func (*Query) GetDataSource ¶
func (*Query) GetExpression ¶
func (*Query) GetFieldFunc ¶
func (*Query) GetFieldType ¶
func (*Query) GetFilters ¶
func (*Query) GetFuncList ¶
func (*Query) GetGroupBy ¶
func (*Query) GetGroupByTime ¶
func (*Query) GetNamespace ¶
func (*Query) GetQueryFuncs ¶
func (x *Query) GetQueryFuncs() []*QueryFuncs
func (*Query) ProtoMessage ¶
func (*Query) ProtoMessage()
func (*Query) ProtoReflect ¶
func (x *Query) ProtoReflect() protoreflect.Message
func (*Query) Validate ¶
Validate checks the field values on Query 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 (*Query) ValidateAll ¶
ValidateAll checks the field values on Query 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 QueryMultiError, or nil if none found.
type QueryFuncs ¶
type QueryFuncs struct { Args []string `protobuf:"bytes,1,rep,name=args,proto3" json:"args,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*QueryFuncs) Descriptor
deprecated
func (*QueryFuncs) Descriptor() ([]byte, []int)
Deprecated: Use QueryFuncs.ProtoReflect.Descriptor instead.
func (*QueryFuncs) GetArgs ¶
func (x *QueryFuncs) GetArgs() []string
func (*QueryFuncs) GetName ¶
func (x *QueryFuncs) GetName() string
func (*QueryFuncs) ProtoMessage ¶
func (*QueryFuncs) ProtoMessage()
func (*QueryFuncs) ProtoReflect ¶
func (x *QueryFuncs) ProtoReflect() protoreflect.Message
func (*QueryFuncs) Reset ¶
func (x *QueryFuncs) Reset()
func (*QueryFuncs) String ¶
func (x *QueryFuncs) String() string
func (*QueryFuncs) Validate ¶
func (m *QueryFuncs) Validate() error
Validate checks the field values on QueryFuncs 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 (*QueryFuncs) ValidateAll ¶
func (m *QueryFuncs) ValidateAll() error
ValidateAll checks the field values on QueryFuncs 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 QueryFuncsMultiError, or nil if none found.
type QueryFuncsMultiError ¶
type QueryFuncsMultiError []error
QueryFuncsMultiError is an error wrapping multiple validation errors returned by QueryFuncs.ValidateAll() if the designated constraints aren't met.
func (QueryFuncsMultiError) AllErrors ¶
func (m QueryFuncsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QueryFuncsMultiError) Error ¶
func (m QueryFuncsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QueryFuncsValidationError ¶
type QueryFuncsValidationError struct {
// contains filtered or unexported fields
}
QueryFuncsValidationError is the validation error returned by QueryFuncs.Validate if the designated constraints aren't met.
func (QueryFuncsValidationError) Cause ¶
func (e QueryFuncsValidationError) Cause() error
Cause function returns cause value.
func (QueryFuncsValidationError) Error ¶
func (e QueryFuncsValidationError) Error() string
Error satisfies the builtin error interface
func (QueryFuncsValidationError) ErrorName ¶
func (e QueryFuncsValidationError) ErrorName() string
ErrorName returns error name.
func (QueryFuncsValidationError) Field ¶
func (e QueryFuncsValidationError) Field() string
Field function returns field value.
func (QueryFuncsValidationError) Key ¶
func (e QueryFuncsValidationError) Key() bool
Key function returns key value.
func (QueryFuncsValidationError) Reason ¶
func (e QueryFuncsValidationError) Reason() string
Reason function returns reason value.
type QueryList ¶
type QueryList struct { Datasource string `protobuf:"bytes,1,opt,name=datasource,proto3" json:"datasource,omitempty"` Qtype string `protobuf:"bytes,2,opt,name=qtype,proto3" json:"qtype,omitempty"` Query *Query `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"` Uuid string `protobuf:"bytes,4,opt,name=uuid,proto3" json:"uuid,omitempty"` // contains filtered or unexported fields }
func (*QueryList) Descriptor
deprecated
func (*QueryList) GetDatasource ¶
func (*QueryList) ProtoMessage ¶
func (*QueryList) ProtoMessage()
func (*QueryList) ProtoReflect ¶
func (x *QueryList) ProtoReflect() protoreflect.Message
func (*QueryList) Validate ¶
Validate checks the field values on QueryList 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 (*QueryList) ValidateAll ¶
ValidateAll checks the field values on QueryList 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 QueryListMultiError, or nil if none found.
type QueryListMultiError ¶
type QueryListMultiError []error
QueryListMultiError is an error wrapping multiple validation errors returned by QueryList.ValidateAll() if the designated constraints aren't met.
func (QueryListMultiError) AllErrors ¶
func (m QueryListMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QueryListMultiError) Error ¶
func (m QueryListMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QueryListValidationError ¶
type QueryListValidationError struct {
// contains filtered or unexported fields
}
QueryListValidationError is the validation error returned by QueryList.Validate if the designated constraints aren't met.
func (QueryListValidationError) Cause ¶
func (e QueryListValidationError) Cause() error
Cause function returns cause value.
func (QueryListValidationError) Error ¶
func (e QueryListValidationError) Error() string
Error satisfies the builtin error interface
func (QueryListValidationError) ErrorName ¶
func (e QueryListValidationError) ErrorName() string
ErrorName returns error name.
func (QueryListValidationError) Field ¶
func (e QueryListValidationError) Field() string
Field function returns field value.
func (QueryListValidationError) Key ¶
func (e QueryListValidationError) Key() bool
Key function returns key value.
func (QueryListValidationError) Reason ¶
func (e QueryListValidationError) Reason() string
Reason function returns reason value.
type QueryMultiError ¶
type QueryMultiError []error
QueryMultiError is an error wrapping multiple validation errors returned by Query.ValidateAll() if the designated constraints aren't met.
func (QueryMultiError) AllErrors ¶
func (m QueryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QueryMultiError) Error ¶
func (m QueryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QueryValidationError ¶
type QueryValidationError struct {
// contains filtered or unexported fields
}
QueryValidationError is the validation error returned by Query.Validate if the designated constraints aren't met.
func (QueryValidationError) Cause ¶
func (e QueryValidationError) Cause() error
Cause function returns cause value.
func (QueryValidationError) Error ¶
func (e QueryValidationError) Error() string
Error satisfies the builtin error interface
func (QueryValidationError) ErrorName ¶
func (e QueryValidationError) ErrorName() string
ErrorName returns error name.
func (QueryValidationError) Field ¶
func (e QueryValidationError) Field() string
Field function returns field value.
func (QueryValidationError) Key ¶
func (e QueryValidationError) Key() bool
Key function returns key value.
func (QueryValidationError) Reason ¶
func (e QueryValidationError) Reason() string
Reason function returns reason value.
type Rule ¶
type Rule struct { ConditionLogic string `protobuf:"bytes,1,opt,name=condition_logic,json=conditionLogic,proto3" json:"condition_logic,omitempty"` PeriodNum int64 `protobuf:"varint,2,opt,name=period_num,json=periodNum,proto3" json:"period_num,omitempty"` Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` CheckCount *int64 `protobuf:"varint,4,opt,name=check_count,json=checkCount,proto3,oneof" json:"check_count,omitempty"` Strength *int64 `protobuf:"varint,5,opt,name=strength,proto3,oneof" json:"strength,omitempty"` Direction *string `protobuf:"bytes,6,opt,name=direction,proto3,oneof" json:"direction,omitempty"` Conditions []*Conditions `protobuf:"bytes,7,rep,name=conditions,proto3" json:"conditions,omitempty"` // contains filtered or unexported fields }
func (*Rule) Descriptor
deprecated
func (*Rule) GetCheckCount ¶
func (*Rule) GetConditionLogic ¶
func (*Rule) GetConditions ¶
func (x *Rule) GetConditions() []*Conditions
func (*Rule) GetDirection ¶
func (*Rule) GetPeriodNum ¶
func (*Rule) GetStrength ¶
func (*Rule) ProtoMessage ¶
func (*Rule) ProtoMessage()
func (*Rule) ProtoReflect ¶
func (x *Rule) ProtoReflect() protoreflect.Message
func (*Rule) Validate ¶
Validate checks the field values on Rule 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 (*Rule) ValidateAll ¶
ValidateAll checks the field values on Rule 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 RuleMultiError, or nil if none found.
type RuleMultiError ¶
type RuleMultiError []error
RuleMultiError is an error wrapping multiple validation errors returned by Rule.ValidateAll() if the designated constraints aren't met.
func (RuleMultiError) AllErrors ¶
func (m RuleMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RuleMultiError) Error ¶
func (m RuleMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RuleValidationError ¶
type RuleValidationError struct {
// contains filtered or unexported fields
}
RuleValidationError is the validation error returned by Rule.Validate if the designated constraints aren't met.
func (RuleValidationError) Cause ¶
func (e RuleValidationError) Cause() error
Cause function returns cause value.
func (RuleValidationError) Error ¶
func (e RuleValidationError) Error() string
Error satisfies the builtin error interface
func (RuleValidationError) ErrorName ¶
func (e RuleValidationError) ErrorName() string
ErrorName returns error name.
func (RuleValidationError) Field ¶
func (e RuleValidationError) Field() string
Field function returns field value.
func (RuleValidationError) Key ¶
func (e RuleValidationError) Key() bool
Key function returns key value.
func (RuleValidationError) Reason ¶
func (e RuleValidationError) Reason() string
Reason function returns reason value.
type Target ¶
type Target struct { Alias string `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` Dql string `protobuf:"bytes,2,opt,name=dql,proto3" json:"dql,omitempty"` // contains filtered or unexported fields }
func (*Target) Descriptor
deprecated
func (*Target) ProtoMessage ¶
func (*Target) ProtoMessage()
func (*Target) ProtoReflect ¶
func (x *Target) ProtoReflect() protoreflect.Message
func (*Target) Validate ¶
Validate checks the field values on Target 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 (*Target) ValidateAll ¶
ValidateAll checks the field values on Target 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 TargetMultiError, or nil if none found.
type TargetMultiError ¶
type TargetMultiError []error
TargetMultiError is an error wrapping multiple validation errors returned by Target.ValidateAll() if the designated constraints aren't met.
func (TargetMultiError) AllErrors ¶
func (m TargetMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TargetMultiError) Error ¶
func (m TargetMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TargetValidationError ¶
type TargetValidationError struct {
// contains filtered or unexported fields
}
TargetValidationError is the validation error returned by Target.Validate if the designated constraints aren't met.
func (TargetValidationError) Cause ¶
func (e TargetValidationError) Cause() error
Cause function returns cause value.
func (TargetValidationError) Error ¶
func (e TargetValidationError) Error() string
Error satisfies the builtin error interface
func (TargetValidationError) ErrorName ¶
func (e TargetValidationError) ErrorName() string
ErrorName returns error name.
func (TargetValidationError) Field ¶
func (e TargetValidationError) Field() string
Field function returns field value.
func (TargetValidationError) Key ¶
func (e TargetValidationError) Key() bool
Key function returns key value.
func (TargetValidationError) Reason ¶
func (e TargetValidationError) Reason() string
Reason function returns reason value.
type Unknown ¶
type Unknown struct {
// contains filtered or unexported fields
}
func (*Unknown) Descriptor
deprecated
func (*Unknown) ProtoMessage ¶
func (*Unknown) ProtoMessage()
func (*Unknown) ProtoReflect ¶
func (x *Unknown) ProtoReflect() protoreflect.Message
func (*Unknown) Validate ¶
Validate checks the field values on Unknown 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 (*Unknown) ValidateAll ¶
ValidateAll checks the field values on Unknown 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 UnknownMultiError, or nil if none found.
type UnknownMultiError ¶
type UnknownMultiError []error
UnknownMultiError is an error wrapping multiple validation errors returned by Unknown.ValidateAll() if the designated constraints aren't met.
func (UnknownMultiError) AllErrors ¶
func (m UnknownMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UnknownMultiError) Error ¶
func (m UnknownMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UnknownValidationError ¶
type UnknownValidationError struct {
// contains filtered or unexported fields
}
UnknownValidationError is the validation error returned by Unknown.Validate if the designated constraints aren't met.
func (UnknownValidationError) Cause ¶
func (e UnknownValidationError) Cause() error
Cause function returns cause value.
func (UnknownValidationError) Error ¶
func (e UnknownValidationError) Error() string
Error satisfies the builtin error interface
func (UnknownValidationError) ErrorName ¶
func (e UnknownValidationError) ErrorName() string
ErrorName returns error name.
func (UnknownValidationError) Field ¶
func (e UnknownValidationError) Field() string
Field function returns field value.
func (UnknownValidationError) Key ¶
func (e UnknownValidationError) Key() bool
Key function returns key value.
func (UnknownValidationError) Reason ¶
func (e UnknownValidationError) Reason() string
Reason function returns reason value.