Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_github_com_google_cloudprober_validators_proto_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Validator

type Validator struct {
	Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	// Types that are assignable to Type:
	//	*Validator_HttpValidator
	//	*Validator_IntegrityValidator
	//	*Validator_Regex
	Type isValidator_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*Validator) Descriptor

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

    Deprecated: Use Validator.ProtoReflect.Descriptor instead.

    func (*Validator) GetHttpValidator

    func (x *Validator) GetHttpValidator() *proto1.Validator

    func (*Validator) GetIntegrityValidator

    func (x *Validator) GetIntegrityValidator() *proto2.Validator

    func (*Validator) GetName

    func (x *Validator) GetName() string

    func (*Validator) GetRegex

    func (x *Validator) GetRegex() string

    func (*Validator) GetType

    func (m *Validator) GetType() isValidator_Type

    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

    type Validator_HttpValidator

    type Validator_HttpValidator struct {
    	HttpValidator *proto1.Validator `protobuf:"bytes,2,opt,name=http_validator,json=httpValidator,oneof"`
    }

    type Validator_IntegrityValidator

    type Validator_IntegrityValidator struct {
    	// Data integrity validator
    	IntegrityValidator *proto2.Validator `protobuf:"bytes,3,opt,name=integrity_validator,json=integrityValidator,oneof"`
    }

    type Validator_Regex

    type Validator_Regex struct {
    	// Regex validator
    	Regex string `protobuf:"bytes,4,opt,name=regex,oneof"`
    }

    Source Files