proto

package
v0.12.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_github_com_cloudprober_cloudprober_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" json:"jq_filter,omitempty"`
	// contains filtered or unexported fields
}

JSON validator configuration.

func (*Validator) Descriptor deprecated

func (*Validator) Descriptor() ([]byte, []int)

Deprecated: Use Validator.ProtoReflect.Descriptor instead.

func (*Validator) GetJqFilter

func (x *Validator) GetJqFilter() string

func (*Validator) ProtoMessage

func (*Validator) ProtoMessage()

func (*Validator) ProtoReflect

func (x *Validator) ProtoReflect() protoreflect.Message

func (*Validator) Reset

func (x *Validator) Reset()

func (*Validator) String

func (x *Validator) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL