mytargets

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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

func Init

func Init()

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

Jump to

Keyboard shortcuts

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