Documentation
¶
Index ¶
- Variables
- func Init()
- type MyTargetsConf
- func (*MyTargetsConf) Descriptor() ([]byte, []int)deprecated
- func (x *MyTargetsConf) GetHostname() string
- func (x *MyTargetsConf) GetPort() int32
- func (*MyTargetsConf) ProtoMessage()
- func (x *MyTargetsConf) ProtoReflect() protoreflect.Message
- func (x *MyTargetsConf) Reset()
- func (x *MyTargetsConf) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// optional myprober.MyTargetsConf mytargets = 200;
E_Mytargets = &file_github_com_cloudprober_cloudprober_examples_extensions_myprober_mytargets_mytargets_proto_extTypes[0]
)
Extension fields to proto.TargetsDef.
View Source
var File_github_com_cloudprober_cloudprober_examples_extensions_myprober_mytargets_mytargets_proto protoreflect.FileDescriptor
Functions ¶
Types ¶
type MyTargetsConf ¶
type MyTargetsConf struct {
Hostname *string `protobuf:"bytes,1,opt,name=hostname" json:"hostname,omitempty"`
Port *int32 `protobuf:"varint,2,opt,name=port" json:"port,omitempty"`
// contains filtered or unexported fields
}
func (*MyTargetsConf) Descriptor
deprecated
func (*MyTargetsConf) Descriptor() ([]byte, []int)
Deprecated: Use MyTargetsConf.ProtoReflect.Descriptor instead.
func (*MyTargetsConf) GetHostname ¶
func (x *MyTargetsConf) GetHostname() string
func (*MyTargetsConf) GetPort ¶
func (x *MyTargetsConf) GetPort() int32
func (*MyTargetsConf) ProtoMessage ¶
func (*MyTargetsConf) ProtoMessage()
func (*MyTargetsConf) ProtoReflect ¶
func (x *MyTargetsConf) ProtoReflect() protoreflect.Message
func (*MyTargetsConf) Reset ¶
func (x *MyTargetsConf) Reset()
func (*MyTargetsConf) String ¶
func (x *MyTargetsConf) String() string
Click to show internal directories.
Click to hide internal directories.