endpoints

package
v0.23.5 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_internal_endpoints_babysitter_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Babysitter

type Babysitter interface {
	GetLoad(context.Context, *GetLoadRequest) (*GetLoadReply, error)
	RunProfiling(context.Context, *protos.GetProfileRequest) (*protos.GetProfileReply, error)
}

Babysitter is an interface for a babysitter.

type Distributor

Distributor is an interface for a distributor.

type GetLoadReply added in v0.22.1

type GetLoadReply struct {
	Load         *protos.LoadReport `protobuf:"bytes,1,opt,name=load,proto3" json:"load,omitempty"`                                     // weavelet load information
	WeaveletAddr string             `protobuf:"bytes,2,opt,name=weavelet_addr,json=weaveletAddr,proto3" json:"weavelet_addr,omitempty"` // self-reported weavelet internal address
	// contains filtered or unexported fields
}

GetLoadReply is a reply to a GetLoadRequest.

func (*GetLoadReply) Descriptor deprecated added in v0.22.1

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

Deprecated: Use GetLoadReply.ProtoReflect.Descriptor instead.

func (*GetLoadReply) GetLoad added in v0.22.1

func (x *GetLoadReply) GetLoad() *protos.LoadReport

func (*GetLoadReply) GetWeaveletAddr added in v0.22.1

func (x *GetLoadReply) GetWeaveletAddr() string

func (*GetLoadReply) ProtoMessage added in v0.22.1

func (*GetLoadReply) ProtoMessage()

func (*GetLoadReply) ProtoReflect added in v0.22.1

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

func (*GetLoadReply) Reset added in v0.22.1

func (x *GetLoadReply) Reset()

func (*GetLoadReply) String added in v0.22.1

func (x *GetLoadReply) String() string

type GetLoadRequest added in v0.22.1

type GetLoadRequest struct {
	// contains filtered or unexported fields
}

GetLoadRequest is a request from a manager to the babysitter for a weavelet's load report.

func (*GetLoadRequest) Descriptor deprecated added in v0.22.1

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

Deprecated: Use GetLoadRequest.ProtoReflect.Descriptor instead.

func (*GetLoadRequest) ProtoMessage added in v0.22.1

func (*GetLoadRequest) ProtoMessage()

func (*GetLoadRequest) ProtoReflect added in v0.22.1

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

func (*GetLoadRequest) Reset added in v0.22.1

func (x *GetLoadRequest) Reset()

func (*GetLoadRequest) String added in v0.22.1

func (x *GetLoadRequest) String() string

Jump to

Keyboard shortcuts

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