Documentation ¶
Overview ¶
Code generated by Iacker. DO NOT EDIT IT.
Package v1 ¶
BlackList ¶
Guance Cloud supports filtering data that meets the conditions by setting a blacklist. After configuring the blacklist, the data that meets the conditions will no longer be reported to the Guance Cloud workspace, helping you save data storage costs.
Index ¶
- Constants
- Variables
- type BlackList
- func (*BlackList) Descriptor() ([]byte, []int)deprecated
- func (x *BlackList) GetFilterRules() []*Filter
- func (x *BlackList) GetSource() *Source
- func (*BlackList) ProtoMessage()
- func (x *BlackList) ProtoReflect() protoreflect.Message
- func (x *BlackList) Reset()
- func (x *BlackList) String() string
- func (m *BlackList) Validate() error
- func (m *BlackList) ValidateAll() error
- type BlackListMultiError
- type BlackListValidationError
- type Filter
- func (*Filter) Descriptor() ([]byte, []int)deprecated
- func (x *Filter) GetCondition() string
- func (x *Filter) GetName() string
- func (x *Filter) GetOperation() string
- func (x *Filter) GetValues() []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 Source
- func (*Source) Descriptor() ([]byte, []int)deprecated
- func (x *Source) GetName() string
- func (x *Source) GetType() string
- func (*Source) ProtoMessage()
- func (x *Source) ProtoReflect() protoreflect.Message
- func (x *Source) Reset()
- func (x *Source) String() string
- func (m *Source) Validate() error
- func (m *Source) ValidateAll() error
- type SourceMultiError
- type SourceValidationError
Constants ¶
const ( // FilterOperationIn is the value of Equal FilterOperationIn = "in" // FilterOperationNotIn is the value of Not equal FilterOperationNotIn = "not in" // FilterOperationMatch is the value of Match FilterOperationMatch = "match" // FilterOperationNotMatch is the value of Not match FilterOperationNotMatch = "not match" )
const ( // SourceTypeLogging is the value of logging SourceTypeLogging = "logging" // SourceTypeObject is the value of object SourceTypeObject = "object" // SourceTypeCustomObject is the value of custom_object SourceTypeCustomObject = "custom_object" // SourceTypeNetwork is the value of network SourceTypeNetwork = "network" // SourceTypeTracing is the value of tracing SourceTypeTracing = "tracing" // SourceTypeRum is the value of RUM SourceTypeRum = "rum" // SourceTypeSecurity is the value of security SourceTypeSecurity = "security" // SourceTypeKeyevent is the value of keyevent SourceTypeKeyevent = "keyevent" // SourceTypeMetric is the value of metric SourceTypeMetric = "metric" )
const ResourceType = "BlackList"
ResourceType is the unique type name of BlackList
Variables ¶
var File_pkg_resources_blacklist_v1_blacklist_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BlackList ¶
type BlackList struct { // Source Source *Source `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` // Filters FilterRules []*Filter `protobuf:"bytes,2,rep,name=filter_rules,json=filterRules,proto3" json:"filter_rules,omitempty"` // contains filtered or unexported fields }
func (*BlackList) Descriptor
deprecated
func (*BlackList) GetFilterRules ¶
func (*BlackList) ProtoMessage ¶
func (*BlackList) ProtoMessage()
func (*BlackList) ProtoReflect ¶
func (x *BlackList) ProtoReflect() protoreflect.Message
func (*BlackList) Validate ¶
Validate checks the field values on BlackList 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 (*BlackList) ValidateAll ¶
ValidateAll checks the field values on BlackList 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 BlackListMultiError, or nil if none found.
type BlackListMultiError ¶
type BlackListMultiError []error
BlackListMultiError is an error wrapping multiple validation errors returned by BlackList.ValidateAll() if the designated constraints aren't met.
func (BlackListMultiError) AllErrors ¶
func (m BlackListMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BlackListMultiError) Error ¶
func (m BlackListMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BlackListValidationError ¶
type BlackListValidationError struct {
// contains filtered or unexported fields
}
BlackListValidationError is the validation error returned by BlackList.Validate if the designated constraints aren't met.
func (BlackListValidationError) Cause ¶
func (e BlackListValidationError) Cause() error
Cause function returns cause value.
func (BlackListValidationError) Error ¶
func (e BlackListValidationError) Error() string
Error satisfies the builtin error interface
func (BlackListValidationError) ErrorName ¶
func (e BlackListValidationError) ErrorName() string
ErrorName returns error name.
func (BlackListValidationError) Field ¶
func (e BlackListValidationError) Field() string
Field function returns field value.
func (BlackListValidationError) Key ¶
func (e BlackListValidationError) Key() bool
Key function returns key value.
func (BlackListValidationError) Reason ¶
func (e BlackListValidationError) Reason() string
Reason function returns reason value.
type Filter ¶
type Filter struct { // Name Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Operation Operation string `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"` // Condition, represented by DQL Condition string `protobuf:"bytes,3,opt,name=condition,proto3" json:"condition,omitempty"` // Values Values []string `protobuf:"bytes,4,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
func (*Filter) Descriptor
deprecated
func (*Filter) GetCondition ¶
func (*Filter) GetOperation ¶
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 Source ¶
type Source struct { // Source Type Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Source Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Source) Descriptor
deprecated
func (*Source) ProtoMessage ¶
func (*Source) ProtoMessage()
func (*Source) ProtoReflect ¶
func (x *Source) ProtoReflect() protoreflect.Message
func (*Source) Validate ¶
Validate checks the field values on Source 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 (*Source) ValidateAll ¶
ValidateAll checks the field values on Source 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 SourceMultiError, or nil if none found.
type SourceMultiError ¶
type SourceMultiError []error
SourceMultiError is an error wrapping multiple validation errors returned by Source.ValidateAll() if the designated constraints aren't met.
func (SourceMultiError) AllErrors ¶
func (m SourceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SourceMultiError) Error ¶
func (m SourceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SourceValidationError ¶
type SourceValidationError struct {
// contains filtered or unexported fields
}
SourceValidationError is the validation error returned by Source.Validate if the designated constraints aren't met.
func (SourceValidationError) Cause ¶
func (e SourceValidationError) Cause() error
Cause function returns cause value.
func (SourceValidationError) Error ¶
func (e SourceValidationError) Error() string
Error satisfies the builtin error interface
func (SourceValidationError) ErrorName ¶
func (e SourceValidationError) ErrorName() string
ErrorName returns error name.
func (SourceValidationError) Field ¶
func (e SourceValidationError) Field() string
Field function returns field value.
func (SourceValidationError) Key ¶
func (e SourceValidationError) Key() bool
Key function returns key value.
func (SourceValidationError) Reason ¶
func (e SourceValidationError) Reason() string
Reason function returns reason value.