Documentation ¶
Index ¶
- Variables
- type Probe
- type ProbeConf
- func (*ProbeConf) Descriptor() ([]byte, []int)deprecated
- func (x *ProbeConf) GetKey() string
- func (x *ProbeConf) GetOp() ProbeConf_Op
- func (x *ProbeConf) GetValue() string
- func (*ProbeConf) ProtoMessage()
- func (x *ProbeConf) ProtoReflect() protoreflect.Message
- func (x *ProbeConf) Reset()
- func (x *ProbeConf) String() string
- type ProbeConf_Op
- func (ProbeConf_Op) Descriptor() protoreflect.EnumDescriptor
- func (x ProbeConf_Op) Enum() *ProbeConf_Op
- func (ProbeConf_Op) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProbeConf_Op) Number() protoreflect.EnumNumber
- func (x ProbeConf_Op) String() string
- func (ProbeConf_Op) Type() protoreflect.EnumType
- func (x *ProbeConf_Op) UnmarshalJSON(b []byte) errordeprecated
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ProbeConf_Op_name = map[int32]string{ 0: "GET", 1: "SET", 2: "DELETE", } ProbeConf_Op_value = map[string]int32{ "GET": 0, "SET": 1, "DELETE": 2, } )
Enum value maps for ProbeConf_Op.
View Source
var (
// optional myprober.ProbeConf redis_probe = 200;
E_RedisProbe = &file_github_com_google_cloudprober_examples_extensions_myprober_myprobe_myprobe_proto_extTypes[0]
)
Extension fields to proto.ProbeDef.
View Source
var File_github_com_google_cloudprober_examples_extensions_myprober_myprobe_myprobe_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Probe ¶
type Probe struct {
// contains filtered or unexported fields
}
Probe holds aggregate information about all probe runs, per-target.
type ProbeConf ¶
type ProbeConf struct { Op *ProbeConf_Op `protobuf:"varint,1,req,name=op,enum=myprober.ProbeConf_Op" json:"op,omitempty"` // Key and value for the redis operation Key *string `protobuf:"bytes,2,req,name=key" json:"key,omitempty"` Value *string `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"` // contains filtered or unexported fields }
func (*ProbeConf) Descriptor
deprecated
func (*ProbeConf) GetOp ¶
func (x *ProbeConf) GetOp() ProbeConf_Op
func (*ProbeConf) ProtoMessage ¶
func (*ProbeConf) ProtoMessage()
func (*ProbeConf) ProtoReflect ¶ added in v0.10.8
func (x *ProbeConf) ProtoReflect() protoreflect.Message
type ProbeConf_Op ¶
type ProbeConf_Op int32
Redis operation
const ( ProbeConf_GET ProbeConf_Op = 0 ProbeConf_SET ProbeConf_Op = 1 ProbeConf_DELETE ProbeConf_Op = 2 )
func (ProbeConf_Op) Descriptor ¶ added in v0.10.8
func (ProbeConf_Op) Descriptor() protoreflect.EnumDescriptor
func (ProbeConf_Op) Enum ¶
func (x ProbeConf_Op) Enum() *ProbeConf_Op
func (ProbeConf_Op) EnumDescriptor
deprecated
func (ProbeConf_Op) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProbeConf_Op.Descriptor instead.
func (ProbeConf_Op) Number ¶ added in v0.10.8
func (x ProbeConf_Op) Number() protoreflect.EnumNumber
func (ProbeConf_Op) String ¶
func (x ProbeConf_Op) String() string
func (ProbeConf_Op) Type ¶ added in v0.10.8
func (ProbeConf_Op) Type() protoreflect.EnumType
func (*ProbeConf_Op) UnmarshalJSON
deprecated
func (x *ProbeConf_Op) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
Click to show internal directories.
Click to hide internal directories.