Documentation
¶
Index ¶
- Variables
- type Validator
- func (*Validator) Descriptor() ([]byte, []int)deprecated
- func (x *Validator) GetHttpValidator() *proto.Validator
- func (x *Validator) GetIntegrityValidator() *proto1.Validator
- func (x *Validator) GetJsonValidator() *proto2.Validator
- func (x *Validator) GetName() string
- func (x *Validator) GetRegex() string
- func (m *Validator) GetType() isValidator_Type
- func (*Validator) ProtoMessage()
- func (x *Validator) ProtoReflect() protoreflect.Message
- func (x *Validator) Reset()
- func (x *Validator) String() string
- type Validator_HttpValidator
- type Validator_IntegrityValidator
- type Validator_JsonValidator
- type Validator_Regex
Constants ¶
This section is empty.
Variables ¶
View Source
var File_github_com_cloudprober_cloudprober_validators_proto_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Validator ¶
type Validator struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Types that are assignable to Type:
//
// *Validator_HttpValidator
// *Validator_IntegrityValidator
// *Validator_JsonValidator
// *Validator_Regex
Type isValidator_Type `protobuf_oneof:"type"`
// contains filtered or unexported fields
}
func (*Validator) Descriptor
deprecated
func (*Validator) GetHttpValidator ¶
func (*Validator) GetIntegrityValidator ¶
func (*Validator) GetJsonValidator ¶ added in v0.12.1
func (*Validator) ProtoMessage ¶
func (*Validator) ProtoMessage()
func (*Validator) ProtoReflect ¶ added in v0.11.4
func (x *Validator) ProtoReflect() protoreflect.Message
type Validator_HttpValidator ¶
type Validator_JsonValidator ¶ added in v0.12.1
type Validator_Regex ¶
type Validator_Regex struct {
// Regex validator
Regex string `protobuf:"bytes,4,opt,name=regex,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.