Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_github_com_cloudprober_cloudprober_internal_validators_json_proto_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Validator ¶
type Validator struct {
// If jq filter is specified, validator passes only if applying jq_filter to
// the probe output, e.g. HTTP API response, results in 'true' boolean.
// See the following test file for some examples:
// https://github.com/cloudprober/cloudprober/blob/master/validators/json/json_test.go
JqFilter string `protobuf:"bytes,1,opt,name=jq_filter,json=jqFilter,proto3" json:"jq_filter,omitempty"`
// contains filtered or unexported fields
}
JSON validator configuration.
func (*Validator) Descriptor
deprecated
func (*Validator) GetJqFilter ¶
func (*Validator) ProtoMessage ¶
func (*Validator) ProtoMessage()
func (*Validator) ProtoReflect ¶
func (x *Validator) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.