Documentation
¶
Index ¶
- Constants
- func NewSRPCTraceServiceHandler(impl SRPCTraceServiceServer, serviceID string) srpc.Handler
- func SRPCRegisterTraceService(mux srpc.Mux, impl SRPCTraceServiceServer) error
- type CaptureCPUProfileRequest
- func (m *CaptureCPUProfileRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *CaptureCPUProfileRequest) CloneVT() *CaptureCPUProfileRequest
- func (this *CaptureCPUProfileRequest) EqualMessageVT(thatMsg any) bool
- func (this *CaptureCPUProfileRequest) EqualVT(that *CaptureCPUProfileRequest) bool
- func (x *CaptureCPUProfileRequest) GetDurationMillis() uint32
- func (x *CaptureCPUProfileRequest) GetLabel() string
- func (x *CaptureCPUProfileRequest) MarshalJSON() ([]byte, error)
- func (x *CaptureCPUProfileRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *CaptureCPUProfileRequest) MarshalProtoText() string
- func (m *CaptureCPUProfileRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CaptureCPUProfileRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *CaptureCPUProfileRequest) MarshalVT() (dAtA []byte, err error)
- func (*CaptureCPUProfileRequest) ProtoMessage()
- func (x *CaptureCPUProfileRequest) Reset()
- func (m *CaptureCPUProfileRequest) SizeVT() (n int)
- func (x *CaptureCPUProfileRequest) String() string
- func (x *CaptureCPUProfileRequest) UnmarshalJSON(b []byte) error
- func (x *CaptureCPUProfileRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *CaptureCPUProfileRequest) UnmarshalVT(dAtA []byte) error
- type CaptureCPUProfileResponse
- func (m *CaptureCPUProfileResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *CaptureCPUProfileResponse) CloneVT() *CaptureCPUProfileResponse
- func (this *CaptureCPUProfileResponse) EqualMessageVT(thatMsg any) bool
- func (this *CaptureCPUProfileResponse) EqualVT(that *CaptureCPUProfileResponse) bool
- func (x *CaptureCPUProfileResponse) GetData() []byte
- func (x *CaptureCPUProfileResponse) MarshalJSON() ([]byte, error)
- func (x *CaptureCPUProfileResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *CaptureCPUProfileResponse) MarshalProtoText() string
- func (m *CaptureCPUProfileResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CaptureCPUProfileResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *CaptureCPUProfileResponse) MarshalVT() (dAtA []byte, err error)
- func (*CaptureCPUProfileResponse) ProtoMessage()
- func (x *CaptureCPUProfileResponse) Reset()
- func (m *CaptureCPUProfileResponse) SizeVT() (n int)
- func (x *CaptureCPUProfileResponse) String() string
- func (x *CaptureCPUProfileResponse) UnmarshalJSON(b []byte) error
- func (x *CaptureCPUProfileResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *CaptureCPUProfileResponse) UnmarshalVT(dAtA []byte) error
- type CaptureMemoryProfileRequest
- func (m *CaptureMemoryProfileRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *CaptureMemoryProfileRequest) CloneVT() *CaptureMemoryProfileRequest
- func (this *CaptureMemoryProfileRequest) EqualMessageVT(thatMsg any) bool
- func (this *CaptureMemoryProfileRequest) EqualVT(that *CaptureMemoryProfileRequest) bool
- func (x *CaptureMemoryProfileRequest) GetDebug() int32
- func (x *CaptureMemoryProfileRequest) GetGc() bool
- func (x *CaptureMemoryProfileRequest) GetProfile() string
- func (x *CaptureMemoryProfileRequest) MarshalJSON() ([]byte, error)
- func (x *CaptureMemoryProfileRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *CaptureMemoryProfileRequest) MarshalProtoText() string
- func (m *CaptureMemoryProfileRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CaptureMemoryProfileRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *CaptureMemoryProfileRequest) MarshalVT() (dAtA []byte, err error)
- func (*CaptureMemoryProfileRequest) ProtoMessage()
- func (x *CaptureMemoryProfileRequest) Reset()
- func (m *CaptureMemoryProfileRequest) SizeVT() (n int)
- func (x *CaptureMemoryProfileRequest) String() string
- func (x *CaptureMemoryProfileRequest) UnmarshalJSON(b []byte) error
- func (x *CaptureMemoryProfileRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *CaptureMemoryProfileRequest) UnmarshalVT(dAtA []byte) error
- type CaptureMemoryProfileResponse
- func (m *CaptureMemoryProfileResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *CaptureMemoryProfileResponse) CloneVT() *CaptureMemoryProfileResponse
- func (this *CaptureMemoryProfileResponse) EqualMessageVT(thatMsg any) bool
- func (this *CaptureMemoryProfileResponse) EqualVT(that *CaptureMemoryProfileResponse) bool
- func (x *CaptureMemoryProfileResponse) GetData() []byte
- func (x *CaptureMemoryProfileResponse) MarshalJSON() ([]byte, error)
- func (x *CaptureMemoryProfileResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *CaptureMemoryProfileResponse) MarshalProtoText() string
- func (m *CaptureMemoryProfileResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CaptureMemoryProfileResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *CaptureMemoryProfileResponse) MarshalVT() (dAtA []byte, err error)
- func (*CaptureMemoryProfileResponse) ProtoMessage()
- func (x *CaptureMemoryProfileResponse) Reset()
- func (m *CaptureMemoryProfileResponse) SizeVT() (n int)
- func (x *CaptureMemoryProfileResponse) String() string
- func (x *CaptureMemoryProfileResponse) UnmarshalJSON(b []byte) error
- func (x *CaptureMemoryProfileResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *CaptureMemoryProfileResponse) UnmarshalVT(dAtA []byte) error
- type SRPCTraceServiceClient
- type SRPCTraceServiceHandler
- func (SRPCTraceServiceHandler) GetMethodIDs() []string
- func (d *SRPCTraceServiceHandler) GetServiceID() string
- func (d *SRPCTraceServiceHandler) InvokeMethod(serviceID, methodID string, strm srpc.Stream) (bool, error)
- func (SRPCTraceServiceHandler) InvokeMethod_CaptureCPUProfile(impl SRPCTraceServiceServer, strm srpc.Stream) error
- func (SRPCTraceServiceHandler) InvokeMethod_CaptureMemoryProfile(impl SRPCTraceServiceServer, strm srpc.Stream) error
- func (SRPCTraceServiceHandler) InvokeMethod_StartTrace(impl SRPCTraceServiceServer, strm srpc.Stream) error
- func (SRPCTraceServiceHandler) InvokeMethod_StopTrace(impl SRPCTraceServiceServer, strm srpc.Stream) error
- type SRPCTraceServiceServer
- type SRPCTraceService_CaptureCPUProfileClient
- type SRPCTraceService_CaptureCPUProfileStream
- type SRPCTraceService_CaptureMemoryProfileClient
- type SRPCTraceService_CaptureMemoryProfileStream
- type SRPCTraceService_StartTraceStream
- type SRPCTraceService_StopTraceClient
- type SRPCTraceService_StopTraceStream
- type StartTraceRequest
- func (m *StartTraceRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *StartTraceRequest) CloneVT() *StartTraceRequest
- func (this *StartTraceRequest) EqualMessageVT(thatMsg any) bool
- func (this *StartTraceRequest) EqualVT(that *StartTraceRequest) bool
- func (x *StartTraceRequest) GetLabel() string
- func (x *StartTraceRequest) MarshalJSON() ([]byte, error)
- func (x *StartTraceRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *StartTraceRequest) MarshalProtoText() string
- func (m *StartTraceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StartTraceRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *StartTraceRequest) MarshalVT() (dAtA []byte, err error)
- func (*StartTraceRequest) ProtoMessage()
- func (x *StartTraceRequest) Reset()
- func (m *StartTraceRequest) SizeVT() (n int)
- func (x *StartTraceRequest) String() string
- func (x *StartTraceRequest) UnmarshalJSON(b []byte) error
- func (x *StartTraceRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *StartTraceRequest) UnmarshalVT(dAtA []byte) error
- type StartTraceResponse
- func (m *StartTraceResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *StartTraceResponse) CloneVT() *StartTraceResponse
- func (this *StartTraceResponse) EqualMessageVT(thatMsg any) bool
- func (this *StartTraceResponse) EqualVT(that *StartTraceResponse) bool
- func (x *StartTraceResponse) MarshalJSON() ([]byte, error)
- func (x *StartTraceResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *StartTraceResponse) MarshalProtoText() string
- func (m *StartTraceResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StartTraceResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *StartTraceResponse) MarshalVT() (dAtA []byte, err error)
- func (*StartTraceResponse) ProtoMessage()
- func (x *StartTraceResponse) Reset()
- func (m *StartTraceResponse) SizeVT() (n int)
- func (x *StartTraceResponse) String() string
- func (x *StartTraceResponse) UnmarshalJSON(b []byte) error
- func (x *StartTraceResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *StartTraceResponse) UnmarshalVT(dAtA []byte) error
- type StopTraceRequest
- func (m *StopTraceRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *StopTraceRequest) CloneVT() *StopTraceRequest
- func (this *StopTraceRequest) EqualMessageVT(thatMsg any) bool
- func (this *StopTraceRequest) EqualVT(that *StopTraceRequest) bool
- func (x *StopTraceRequest) MarshalJSON() ([]byte, error)
- func (x *StopTraceRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *StopTraceRequest) MarshalProtoText() string
- func (m *StopTraceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StopTraceRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *StopTraceRequest) MarshalVT() (dAtA []byte, err error)
- func (*StopTraceRequest) ProtoMessage()
- func (x *StopTraceRequest) Reset()
- func (m *StopTraceRequest) SizeVT() (n int)
- func (x *StopTraceRequest) String() string
- func (x *StopTraceRequest) UnmarshalJSON(b []byte) error
- func (x *StopTraceRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *StopTraceRequest) UnmarshalVT(dAtA []byte) error
- type StopTraceResponse
- func (m *StopTraceResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *StopTraceResponse) CloneVT() *StopTraceResponse
- func (this *StopTraceResponse) EqualMessageVT(thatMsg any) bool
- func (this *StopTraceResponse) EqualVT(that *StopTraceResponse) bool
- func (x *StopTraceResponse) GetData() []byte
- func (x *StopTraceResponse) MarshalJSON() ([]byte, error)
- func (x *StopTraceResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *StopTraceResponse) MarshalProtoText() string
- func (m *StopTraceResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StopTraceResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *StopTraceResponse) MarshalVT() (dAtA []byte, err error)
- func (*StopTraceResponse) ProtoMessage()
- func (x *StopTraceResponse) Reset()
- func (m *StopTraceResponse) SizeVT() (n int)
- func (x *StopTraceResponse) String() string
- func (x *StopTraceResponse) UnmarshalJSON(b []byte) error
- func (x *StopTraceResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *StopTraceResponse) UnmarshalVT(dAtA []byte) error
Constants ¶
const SRPCTraceServiceServiceID = "s4wave.trace.TraceService"
Variables ¶
This section is empty.
Functions ¶
func NewSRPCTraceServiceHandler ¶
func NewSRPCTraceServiceHandler(impl SRPCTraceServiceServer, serviceID string) srpc.Handler
NewSRPCTraceServiceHandler constructs a new RPC handler. serviceID: if empty, uses default: s4wave.trace.TraceService
func SRPCRegisterTraceService ¶
func SRPCRegisterTraceService(mux srpc.Mux, impl SRPCTraceServiceServer) error
SRPCRegisterTraceService registers the implementation with the mux. Uses the default serviceID: s4wave.trace.TraceService
Types ¶
type CaptureCPUProfileRequest ¶ added in v0.51.7
type CaptureCPUProfileRequest struct {
// DurationMillis is the CPU profile capture duration in milliseconds.
DurationMillis uint32 `protobuf:"varint,1,opt,name=duration_millis,json=durationMillis,proto3" json:"durationMillis,omitempty"`
// Label is an optional human-readable label for the capture.
Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
// contains filtered or unexported fields
}
CaptureCPUProfileRequest is the request for CaptureCPUProfile.
func (*CaptureCPUProfileRequest) CloneMessageVT ¶ added in v0.51.7
func (m *CaptureCPUProfileRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*CaptureCPUProfileRequest) CloneVT ¶ added in v0.51.7
func (m *CaptureCPUProfileRequest) CloneVT() *CaptureCPUProfileRequest
func (*CaptureCPUProfileRequest) EqualMessageVT ¶ added in v0.51.7
func (this *CaptureCPUProfileRequest) EqualMessageVT(thatMsg any) bool
func (*CaptureCPUProfileRequest) EqualVT ¶ added in v0.51.7
func (this *CaptureCPUProfileRequest) EqualVT(that *CaptureCPUProfileRequest) bool
func (*CaptureCPUProfileRequest) GetDurationMillis ¶ added in v0.51.7
func (x *CaptureCPUProfileRequest) GetDurationMillis() uint32
func (*CaptureCPUProfileRequest) GetLabel ¶ added in v0.51.7
func (x *CaptureCPUProfileRequest) GetLabel() string
func (*CaptureCPUProfileRequest) MarshalJSON ¶ added in v0.51.7
func (x *CaptureCPUProfileRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the CaptureCPUProfileRequest to JSON.
func (*CaptureCPUProfileRequest) MarshalProtoJSON ¶ added in v0.51.7
func (x *CaptureCPUProfileRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the CaptureCPUProfileRequest message to JSON.
func (*CaptureCPUProfileRequest) MarshalProtoText ¶ added in v0.51.7
func (x *CaptureCPUProfileRequest) MarshalProtoText() string
func (*CaptureCPUProfileRequest) MarshalToSizedBufferVT ¶ added in v0.51.7
func (m *CaptureCPUProfileRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CaptureCPUProfileRequest) MarshalToVT ¶ added in v0.51.7
func (m *CaptureCPUProfileRequest) MarshalToVT(dAtA []byte) (int, error)
func (*CaptureCPUProfileRequest) MarshalVT ¶ added in v0.51.7
func (m *CaptureCPUProfileRequest) MarshalVT() (dAtA []byte, err error)
func (*CaptureCPUProfileRequest) ProtoMessage ¶ added in v0.51.7
func (*CaptureCPUProfileRequest) ProtoMessage()
func (*CaptureCPUProfileRequest) Reset ¶ added in v0.51.7
func (x *CaptureCPUProfileRequest) Reset()
func (*CaptureCPUProfileRequest) SizeVT ¶ added in v0.51.7
func (m *CaptureCPUProfileRequest) SizeVT() (n int)
func (*CaptureCPUProfileRequest) String ¶ added in v0.51.7
func (x *CaptureCPUProfileRequest) String() string
func (*CaptureCPUProfileRequest) UnmarshalJSON ¶ added in v0.51.7
func (x *CaptureCPUProfileRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the CaptureCPUProfileRequest from JSON.
func (*CaptureCPUProfileRequest) UnmarshalProtoJSON ¶ added in v0.51.7
func (x *CaptureCPUProfileRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the CaptureCPUProfileRequest message from JSON.
func (*CaptureCPUProfileRequest) UnmarshalVT ¶ added in v0.51.7
func (m *CaptureCPUProfileRequest) UnmarshalVT(dAtA []byte) error
type CaptureCPUProfileResponse ¶ added in v0.51.7
type CaptureCPUProfileResponse struct {
// Data is a chunk of the raw pprof CPU profile bytes.
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
CaptureCPUProfileResponse is a streamed response chunk for CaptureCPUProfile.
func (*CaptureCPUProfileResponse) CloneMessageVT ¶ added in v0.51.7
func (m *CaptureCPUProfileResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*CaptureCPUProfileResponse) CloneVT ¶ added in v0.51.7
func (m *CaptureCPUProfileResponse) CloneVT() *CaptureCPUProfileResponse
func (*CaptureCPUProfileResponse) EqualMessageVT ¶ added in v0.51.7
func (this *CaptureCPUProfileResponse) EqualMessageVT(thatMsg any) bool
func (*CaptureCPUProfileResponse) EqualVT ¶ added in v0.51.7
func (this *CaptureCPUProfileResponse) EqualVT(that *CaptureCPUProfileResponse) bool
func (*CaptureCPUProfileResponse) GetData ¶ added in v0.51.7
func (x *CaptureCPUProfileResponse) GetData() []byte
func (*CaptureCPUProfileResponse) MarshalJSON ¶ added in v0.51.7
func (x *CaptureCPUProfileResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the CaptureCPUProfileResponse to JSON.
func (*CaptureCPUProfileResponse) MarshalProtoJSON ¶ added in v0.51.7
func (x *CaptureCPUProfileResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the CaptureCPUProfileResponse message to JSON.
func (*CaptureCPUProfileResponse) MarshalProtoText ¶ added in v0.51.7
func (x *CaptureCPUProfileResponse) MarshalProtoText() string
func (*CaptureCPUProfileResponse) MarshalToSizedBufferVT ¶ added in v0.51.7
func (m *CaptureCPUProfileResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CaptureCPUProfileResponse) MarshalToVT ¶ added in v0.51.7
func (m *CaptureCPUProfileResponse) MarshalToVT(dAtA []byte) (int, error)
func (*CaptureCPUProfileResponse) MarshalVT ¶ added in v0.51.7
func (m *CaptureCPUProfileResponse) MarshalVT() (dAtA []byte, err error)
func (*CaptureCPUProfileResponse) ProtoMessage ¶ added in v0.51.7
func (*CaptureCPUProfileResponse) ProtoMessage()
func (*CaptureCPUProfileResponse) Reset ¶ added in v0.51.7
func (x *CaptureCPUProfileResponse) Reset()
func (*CaptureCPUProfileResponse) SizeVT ¶ added in v0.51.7
func (m *CaptureCPUProfileResponse) SizeVT() (n int)
func (*CaptureCPUProfileResponse) String ¶ added in v0.51.7
func (x *CaptureCPUProfileResponse) String() string
func (*CaptureCPUProfileResponse) UnmarshalJSON ¶ added in v0.51.7
func (x *CaptureCPUProfileResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the CaptureCPUProfileResponse from JSON.
func (*CaptureCPUProfileResponse) UnmarshalProtoJSON ¶ added in v0.51.7
func (x *CaptureCPUProfileResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the CaptureCPUProfileResponse message from JSON.
func (*CaptureCPUProfileResponse) UnmarshalVT ¶ added in v0.51.7
func (m *CaptureCPUProfileResponse) UnmarshalVT(dAtA []byte) error
type CaptureMemoryProfileRequest ¶ added in v0.51.7
type CaptureMemoryProfileRequest struct {
// Profile is the runtime/pprof memory profile name: "heap" or "allocs".
Profile string `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"`
// Gc forces a garbage collection before capturing the profile.
Gc bool `protobuf:"varint,2,opt,name=gc,proto3" json:"gc,omitempty"`
// Debug is the pprof output debug level.
Debug int32 `protobuf:"varint,3,opt,name=debug,proto3" json:"debug,omitempty"`
// contains filtered or unexported fields
}
CaptureMemoryProfileRequest is the request for CaptureMemoryProfile.
func (*CaptureMemoryProfileRequest) CloneMessageVT ¶ added in v0.51.7
func (m *CaptureMemoryProfileRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*CaptureMemoryProfileRequest) CloneVT ¶ added in v0.51.7
func (m *CaptureMemoryProfileRequest) CloneVT() *CaptureMemoryProfileRequest
func (*CaptureMemoryProfileRequest) EqualMessageVT ¶ added in v0.51.7
func (this *CaptureMemoryProfileRequest) EqualMessageVT(thatMsg any) bool
func (*CaptureMemoryProfileRequest) EqualVT ¶ added in v0.51.7
func (this *CaptureMemoryProfileRequest) EqualVT(that *CaptureMemoryProfileRequest) bool
func (*CaptureMemoryProfileRequest) GetDebug ¶ added in v0.51.7
func (x *CaptureMemoryProfileRequest) GetDebug() int32
func (*CaptureMemoryProfileRequest) GetGc ¶ added in v0.51.7
func (x *CaptureMemoryProfileRequest) GetGc() bool
func (*CaptureMemoryProfileRequest) GetProfile ¶ added in v0.51.7
func (x *CaptureMemoryProfileRequest) GetProfile() string
func (*CaptureMemoryProfileRequest) MarshalJSON ¶ added in v0.51.7
func (x *CaptureMemoryProfileRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the CaptureMemoryProfileRequest to JSON.
func (*CaptureMemoryProfileRequest) MarshalProtoJSON ¶ added in v0.51.7
func (x *CaptureMemoryProfileRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the CaptureMemoryProfileRequest message to JSON.
func (*CaptureMemoryProfileRequest) MarshalProtoText ¶ added in v0.51.7
func (x *CaptureMemoryProfileRequest) MarshalProtoText() string
func (*CaptureMemoryProfileRequest) MarshalToSizedBufferVT ¶ added in v0.51.7
func (m *CaptureMemoryProfileRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CaptureMemoryProfileRequest) MarshalToVT ¶ added in v0.51.7
func (m *CaptureMemoryProfileRequest) MarshalToVT(dAtA []byte) (int, error)
func (*CaptureMemoryProfileRequest) MarshalVT ¶ added in v0.51.7
func (m *CaptureMemoryProfileRequest) MarshalVT() (dAtA []byte, err error)
func (*CaptureMemoryProfileRequest) ProtoMessage ¶ added in v0.51.7
func (*CaptureMemoryProfileRequest) ProtoMessage()
func (*CaptureMemoryProfileRequest) Reset ¶ added in v0.51.7
func (x *CaptureMemoryProfileRequest) Reset()
func (*CaptureMemoryProfileRequest) SizeVT ¶ added in v0.51.7
func (m *CaptureMemoryProfileRequest) SizeVT() (n int)
func (*CaptureMemoryProfileRequest) String ¶ added in v0.51.7
func (x *CaptureMemoryProfileRequest) String() string
func (*CaptureMemoryProfileRequest) UnmarshalJSON ¶ added in v0.51.7
func (x *CaptureMemoryProfileRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the CaptureMemoryProfileRequest from JSON.
func (*CaptureMemoryProfileRequest) UnmarshalProtoJSON ¶ added in v0.51.7
func (x *CaptureMemoryProfileRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the CaptureMemoryProfileRequest message from JSON.
func (*CaptureMemoryProfileRequest) UnmarshalVT ¶ added in v0.51.7
func (m *CaptureMemoryProfileRequest) UnmarshalVT(dAtA []byte) error
type CaptureMemoryProfileResponse ¶ added in v0.51.7
type CaptureMemoryProfileResponse struct {
// Data is a chunk of the raw pprof memory profile bytes.
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
CaptureMemoryProfileResponse is a streamed response chunk for CaptureMemoryProfile.
func (*CaptureMemoryProfileResponse) CloneMessageVT ¶ added in v0.51.7
func (m *CaptureMemoryProfileResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*CaptureMemoryProfileResponse) CloneVT ¶ added in v0.51.7
func (m *CaptureMemoryProfileResponse) CloneVT() *CaptureMemoryProfileResponse
func (*CaptureMemoryProfileResponse) EqualMessageVT ¶ added in v0.51.7
func (this *CaptureMemoryProfileResponse) EqualMessageVT(thatMsg any) bool
func (*CaptureMemoryProfileResponse) EqualVT ¶ added in v0.51.7
func (this *CaptureMemoryProfileResponse) EqualVT(that *CaptureMemoryProfileResponse) bool
func (*CaptureMemoryProfileResponse) GetData ¶ added in v0.51.7
func (x *CaptureMemoryProfileResponse) GetData() []byte
func (*CaptureMemoryProfileResponse) MarshalJSON ¶ added in v0.51.7
func (x *CaptureMemoryProfileResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the CaptureMemoryProfileResponse to JSON.
func (*CaptureMemoryProfileResponse) MarshalProtoJSON ¶ added in v0.51.7
func (x *CaptureMemoryProfileResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the CaptureMemoryProfileResponse message to JSON.
func (*CaptureMemoryProfileResponse) MarshalProtoText ¶ added in v0.51.7
func (x *CaptureMemoryProfileResponse) MarshalProtoText() string
func (*CaptureMemoryProfileResponse) MarshalToSizedBufferVT ¶ added in v0.51.7
func (m *CaptureMemoryProfileResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CaptureMemoryProfileResponse) MarshalToVT ¶ added in v0.51.7
func (m *CaptureMemoryProfileResponse) MarshalToVT(dAtA []byte) (int, error)
func (*CaptureMemoryProfileResponse) MarshalVT ¶ added in v0.51.7
func (m *CaptureMemoryProfileResponse) MarshalVT() (dAtA []byte, err error)
func (*CaptureMemoryProfileResponse) ProtoMessage ¶ added in v0.51.7
func (*CaptureMemoryProfileResponse) ProtoMessage()
func (*CaptureMemoryProfileResponse) Reset ¶ added in v0.51.7
func (x *CaptureMemoryProfileResponse) Reset()
func (*CaptureMemoryProfileResponse) SizeVT ¶ added in v0.51.7
func (m *CaptureMemoryProfileResponse) SizeVT() (n int)
func (*CaptureMemoryProfileResponse) String ¶ added in v0.51.7
func (x *CaptureMemoryProfileResponse) String() string
func (*CaptureMemoryProfileResponse) UnmarshalJSON ¶ added in v0.51.7
func (x *CaptureMemoryProfileResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the CaptureMemoryProfileResponse from JSON.
func (*CaptureMemoryProfileResponse) UnmarshalProtoJSON ¶ added in v0.51.7
func (x *CaptureMemoryProfileResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the CaptureMemoryProfileResponse message from JSON.
func (*CaptureMemoryProfileResponse) UnmarshalVT ¶ added in v0.51.7
func (m *CaptureMemoryProfileResponse) UnmarshalVT(dAtA []byte) error
type SRPCTraceServiceClient ¶
type SRPCTraceServiceClient interface {
// SRPCClient returns the underlying SRPC client.
SRPCClient() srpc.Client
StartTrace(ctx context.Context, in *StartTraceRequest) (*StartTraceResponse, error)
StopTrace(ctx context.Context, in *StopTraceRequest) (SRPCTraceService_StopTraceClient, error)
CaptureCPUProfile(ctx context.Context, in *CaptureCPUProfileRequest) (SRPCTraceService_CaptureCPUProfileClient, error)
CaptureMemoryProfile(ctx context.Context, in *CaptureMemoryProfileRequest) (SRPCTraceService_CaptureMemoryProfileClient, error)
}
func NewSRPCTraceServiceClient ¶
func NewSRPCTraceServiceClient(cc srpc.Client) SRPCTraceServiceClient
func NewSRPCTraceServiceClientWithServiceID ¶
func NewSRPCTraceServiceClientWithServiceID(cc srpc.Client, serviceID string) SRPCTraceServiceClient
type SRPCTraceServiceHandler ¶
type SRPCTraceServiceHandler struct {
// contains filtered or unexported fields
}
func (SRPCTraceServiceHandler) GetMethodIDs ¶
func (SRPCTraceServiceHandler) GetMethodIDs() []string
func (*SRPCTraceServiceHandler) GetServiceID ¶
func (d *SRPCTraceServiceHandler) GetServiceID() string
func (*SRPCTraceServiceHandler) InvokeMethod ¶
func (SRPCTraceServiceHandler) InvokeMethod_CaptureCPUProfile ¶ added in v0.51.7
func (SRPCTraceServiceHandler) InvokeMethod_CaptureCPUProfile(impl SRPCTraceServiceServer, strm srpc.Stream) error
func (SRPCTraceServiceHandler) InvokeMethod_CaptureMemoryProfile ¶ added in v0.51.7
func (SRPCTraceServiceHandler) InvokeMethod_CaptureMemoryProfile(impl SRPCTraceServiceServer, strm srpc.Stream) error
func (SRPCTraceServiceHandler) InvokeMethod_StartTrace ¶
func (SRPCTraceServiceHandler) InvokeMethod_StartTrace(impl SRPCTraceServiceServer, strm srpc.Stream) error
func (SRPCTraceServiceHandler) InvokeMethod_StopTrace ¶
func (SRPCTraceServiceHandler) InvokeMethod_StopTrace(impl SRPCTraceServiceServer, strm srpc.Stream) error
type SRPCTraceServiceServer ¶
type SRPCTraceServiceServer interface {
StartTrace(context.Context, *StartTraceRequest) (*StartTraceResponse, error)
StopTrace(*StopTraceRequest, SRPCTraceService_StopTraceStream) error
CaptureCPUProfile(*CaptureCPUProfileRequest, SRPCTraceService_CaptureCPUProfileStream) error
CaptureMemoryProfile(*CaptureMemoryProfileRequest, SRPCTraceService_CaptureMemoryProfileStream) error
}
type SRPCTraceService_CaptureCPUProfileClient ¶ added in v0.51.7
type SRPCTraceService_CaptureCPUProfileClient interface {
srpc.Stream
Recv() (*CaptureCPUProfileResponse, error)
RecvTo(*CaptureCPUProfileResponse) error
}
type SRPCTraceService_CaptureCPUProfileStream ¶ added in v0.51.7
type SRPCTraceService_CaptureCPUProfileStream interface {
srpc.Stream
Send(*CaptureCPUProfileResponse) error
SendAndClose(*CaptureCPUProfileResponse) error
}
type SRPCTraceService_CaptureMemoryProfileClient ¶ added in v0.51.7
type SRPCTraceService_CaptureMemoryProfileClient interface {
srpc.Stream
Recv() (*CaptureMemoryProfileResponse, error)
RecvTo(*CaptureMemoryProfileResponse) error
}
type SRPCTraceService_CaptureMemoryProfileStream ¶ added in v0.51.7
type SRPCTraceService_CaptureMemoryProfileStream interface {
srpc.Stream
Send(*CaptureMemoryProfileResponse) error
SendAndClose(*CaptureMemoryProfileResponse) error
}
type SRPCTraceService_StopTraceClient ¶
type SRPCTraceService_StopTraceClient interface {
srpc.Stream
Recv() (*StopTraceResponse, error)
RecvTo(*StopTraceResponse) error
}
type SRPCTraceService_StopTraceStream ¶
type SRPCTraceService_StopTraceStream interface {
srpc.Stream
Send(*StopTraceResponse) error
SendAndClose(*StopTraceResponse) error
}
type StartTraceRequest ¶
type StartTraceRequest struct {
// Label is an optional human-readable label for the capture.
Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
// contains filtered or unexported fields
}
StartTraceRequest is the request for StartTrace.
func (*StartTraceRequest) CloneMessageVT ¶
func (m *StartTraceRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*StartTraceRequest) CloneVT ¶
func (m *StartTraceRequest) CloneVT() *StartTraceRequest
func (*StartTraceRequest) EqualMessageVT ¶
func (this *StartTraceRequest) EqualMessageVT(thatMsg any) bool
func (*StartTraceRequest) EqualVT ¶
func (this *StartTraceRequest) EqualVT(that *StartTraceRequest) bool
func (*StartTraceRequest) GetLabel ¶
func (x *StartTraceRequest) GetLabel() string
func (*StartTraceRequest) MarshalJSON ¶
func (x *StartTraceRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the StartTraceRequest to JSON.
func (*StartTraceRequest) MarshalProtoJSON ¶
func (x *StartTraceRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the StartTraceRequest message to JSON.
func (*StartTraceRequest) MarshalProtoText ¶
func (x *StartTraceRequest) MarshalProtoText() string
func (*StartTraceRequest) MarshalToSizedBufferVT ¶
func (m *StartTraceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StartTraceRequest) MarshalToVT ¶
func (m *StartTraceRequest) MarshalToVT(dAtA []byte) (int, error)
func (*StartTraceRequest) MarshalVT ¶
func (m *StartTraceRequest) MarshalVT() (dAtA []byte, err error)
func (*StartTraceRequest) ProtoMessage ¶
func (*StartTraceRequest) ProtoMessage()
func (*StartTraceRequest) Reset ¶
func (x *StartTraceRequest) Reset()
func (*StartTraceRequest) SizeVT ¶
func (m *StartTraceRequest) SizeVT() (n int)
func (*StartTraceRequest) String ¶
func (x *StartTraceRequest) String() string
func (*StartTraceRequest) UnmarshalJSON ¶
func (x *StartTraceRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the StartTraceRequest from JSON.
func (*StartTraceRequest) UnmarshalProtoJSON ¶
func (x *StartTraceRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the StartTraceRequest message from JSON.
func (*StartTraceRequest) UnmarshalVT ¶
func (m *StartTraceRequest) UnmarshalVT(dAtA []byte) error
type StartTraceResponse ¶
type StartTraceResponse struct {
// contains filtered or unexported fields
}
StartTraceResponse is the response for StartTrace.
func (*StartTraceResponse) CloneMessageVT ¶
func (m *StartTraceResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*StartTraceResponse) CloneVT ¶
func (m *StartTraceResponse) CloneVT() *StartTraceResponse
func (*StartTraceResponse) EqualMessageVT ¶
func (this *StartTraceResponse) EqualMessageVT(thatMsg any) bool
func (*StartTraceResponse) EqualVT ¶
func (this *StartTraceResponse) EqualVT(that *StartTraceResponse) bool
func (*StartTraceResponse) MarshalJSON ¶
func (x *StartTraceResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the StartTraceResponse to JSON.
func (*StartTraceResponse) MarshalProtoJSON ¶
func (x *StartTraceResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the StartTraceResponse message to JSON.
func (*StartTraceResponse) MarshalProtoText ¶
func (x *StartTraceResponse) MarshalProtoText() string
func (*StartTraceResponse) MarshalToSizedBufferVT ¶
func (m *StartTraceResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StartTraceResponse) MarshalToVT ¶
func (m *StartTraceResponse) MarshalToVT(dAtA []byte) (int, error)
func (*StartTraceResponse) MarshalVT ¶
func (m *StartTraceResponse) MarshalVT() (dAtA []byte, err error)
func (*StartTraceResponse) ProtoMessage ¶
func (*StartTraceResponse) ProtoMessage()
func (*StartTraceResponse) Reset ¶
func (x *StartTraceResponse) Reset()
func (*StartTraceResponse) SizeVT ¶
func (m *StartTraceResponse) SizeVT() (n int)
func (*StartTraceResponse) String ¶
func (x *StartTraceResponse) String() string
func (*StartTraceResponse) UnmarshalJSON ¶
func (x *StartTraceResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the StartTraceResponse from JSON.
func (*StartTraceResponse) UnmarshalProtoJSON ¶
func (x *StartTraceResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the StartTraceResponse message from JSON.
func (*StartTraceResponse) UnmarshalVT ¶
func (m *StartTraceResponse) UnmarshalVT(dAtA []byte) error
type StopTraceRequest ¶
type StopTraceRequest struct {
// contains filtered or unexported fields
}
StopTraceRequest is the request for StopTrace.
func (*StopTraceRequest) CloneMessageVT ¶
func (m *StopTraceRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*StopTraceRequest) CloneVT ¶
func (m *StopTraceRequest) CloneVT() *StopTraceRequest
func (*StopTraceRequest) EqualMessageVT ¶
func (this *StopTraceRequest) EqualMessageVT(thatMsg any) bool
func (*StopTraceRequest) EqualVT ¶
func (this *StopTraceRequest) EqualVT(that *StopTraceRequest) bool
func (*StopTraceRequest) MarshalJSON ¶
func (x *StopTraceRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the StopTraceRequest to JSON.
func (*StopTraceRequest) MarshalProtoJSON ¶
func (x *StopTraceRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the StopTraceRequest message to JSON.
func (*StopTraceRequest) MarshalProtoText ¶
func (x *StopTraceRequest) MarshalProtoText() string
func (*StopTraceRequest) MarshalToSizedBufferVT ¶
func (m *StopTraceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StopTraceRequest) MarshalToVT ¶
func (m *StopTraceRequest) MarshalToVT(dAtA []byte) (int, error)
func (*StopTraceRequest) MarshalVT ¶
func (m *StopTraceRequest) MarshalVT() (dAtA []byte, err error)
func (*StopTraceRequest) ProtoMessage ¶
func (*StopTraceRequest) ProtoMessage()
func (*StopTraceRequest) Reset ¶
func (x *StopTraceRequest) Reset()
func (*StopTraceRequest) SizeVT ¶
func (m *StopTraceRequest) SizeVT() (n int)
func (*StopTraceRequest) String ¶
func (x *StopTraceRequest) String() string
func (*StopTraceRequest) UnmarshalJSON ¶
func (x *StopTraceRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the StopTraceRequest from JSON.
func (*StopTraceRequest) UnmarshalProtoJSON ¶
func (x *StopTraceRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the StopTraceRequest message from JSON.
func (*StopTraceRequest) UnmarshalVT ¶
func (m *StopTraceRequest) UnmarshalVT(dAtA []byte) error
type StopTraceResponse ¶
type StopTraceResponse struct {
// Data is a chunk of the raw runtime trace bytes.
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
StopTraceResponse is a streamed response chunk for StopTrace.
func (*StopTraceResponse) CloneMessageVT ¶
func (m *StopTraceResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*StopTraceResponse) CloneVT ¶
func (m *StopTraceResponse) CloneVT() *StopTraceResponse
func (*StopTraceResponse) EqualMessageVT ¶
func (this *StopTraceResponse) EqualMessageVT(thatMsg any) bool
func (*StopTraceResponse) EqualVT ¶
func (this *StopTraceResponse) EqualVT(that *StopTraceResponse) bool
func (*StopTraceResponse) GetData ¶
func (x *StopTraceResponse) GetData() []byte
func (*StopTraceResponse) MarshalJSON ¶
func (x *StopTraceResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the StopTraceResponse to JSON.
func (*StopTraceResponse) MarshalProtoJSON ¶
func (x *StopTraceResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the StopTraceResponse message to JSON.
func (*StopTraceResponse) MarshalProtoText ¶
func (x *StopTraceResponse) MarshalProtoText() string
func (*StopTraceResponse) MarshalToSizedBufferVT ¶
func (m *StopTraceResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StopTraceResponse) MarshalToVT ¶
func (m *StopTraceResponse) MarshalToVT(dAtA []byte) (int, error)
func (*StopTraceResponse) MarshalVT ¶
func (m *StopTraceResponse) MarshalVT() (dAtA []byte, err error)
func (*StopTraceResponse) ProtoMessage ¶
func (*StopTraceResponse) ProtoMessage()
func (*StopTraceResponse) Reset ¶
func (x *StopTraceResponse) Reset()
func (*StopTraceResponse) SizeVT ¶
func (m *StopTraceResponse) SizeVT() (n int)
func (*StopTraceResponse) String ¶
func (x *StopTraceResponse) String() string
func (*StopTraceResponse) UnmarshalJSON ¶
func (x *StopTraceResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the StopTraceResponse from JSON.
func (*StopTraceResponse) UnmarshalProtoJSON ¶
func (x *StopTraceResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the StopTraceResponse message from JSON.
func (*StopTraceResponse) UnmarshalVT ¶
func (m *StopTraceResponse) UnmarshalVT(dAtA []byte) error