Versions in this module Expand all Collapse all v0 v0.0.7 Apr 4, 2023 Changes in this version + var ErrIntOverflowTracepoint = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthTracepoint = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupTracepoint = fmt.Errorf("proto: unexpected end of group") + func RegisterSnapshotServiceServer(s *grpc.Server, srv SnapshotServiceServer) + type Snapshot struct + Attributes []*v1.KeyValue + Frames []*StackFrame + Id string + NanosDuration int64 + Resource []*v1.KeyValue + Tracepoint *TracePointConfig + Ts int64 + VarLookup map[string]*Variable + Watches []*WatchResult + func (*Snapshot) Descriptor() ([]byte, []int) + func (*Snapshot) ProtoMessage() + func (m *Snapshot) GetAttributes() []*v1.KeyValue + func (m *Snapshot) GetFrames() []*StackFrame + func (m *Snapshot) GetId() string + func (m *Snapshot) GetNanosDuration() int64 + func (m *Snapshot) GetResource() []*v1.KeyValue + func (m *Snapshot) GetTracepoint() *TracePointConfig + func (m *Snapshot) GetTs() int64 + func (m *Snapshot) GetVarLookup() map[string]*Variable + func (m *Snapshot) GetWatches() []*WatchResult + func (m *Snapshot) Marshal() (dAtA []byte, err error) + func (m *Snapshot) MarshalTo(dAtA []byte) (int, error) + func (m *Snapshot) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Snapshot) Reset() + func (m *Snapshot) Size() (n int) + func (m *Snapshot) String() string + func (m *Snapshot) Unmarshal(dAtA []byte) error + func (m *Snapshot) XXX_DiscardUnknown() + func (m *Snapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Snapshot) XXX_Merge(src proto.Message) + func (m *Snapshot) XXX_Size() int + func (m *Snapshot) XXX_Unmarshal(b []byte) error + type SnapshotResponse struct + func (*SnapshotResponse) Descriptor() ([]byte, []int) + func (*SnapshotResponse) ProtoMessage() + func (m *SnapshotResponse) Marshal() (dAtA []byte, err error) + func (m *SnapshotResponse) MarshalTo(dAtA []byte) (int, error) + func (m *SnapshotResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *SnapshotResponse) Reset() + func (m *SnapshotResponse) Size() (n int) + func (m *SnapshotResponse) String() string + func (m *SnapshotResponse) Unmarshal(dAtA []byte) error + func (m *SnapshotResponse) XXX_DiscardUnknown() + func (m *SnapshotResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SnapshotResponse) XXX_Merge(src proto.Message) + func (m *SnapshotResponse) XXX_Size() int + func (m *SnapshotResponse) XXX_Unmarshal(b []byte) error + type SnapshotServiceClient interface + Send func(ctx context.Context, in *Snapshot, opts ...grpc.CallOption) (*SnapshotResponse, error) + func NewSnapshotServiceClient(cc *grpc.ClientConn) SnapshotServiceClient + type SnapshotServiceServer interface + Send func(context.Context, *Snapshot) (*SnapshotResponse, error) + type StackFrame struct + AppFrame bool + ClassName string + ColumnNumber int32 + FileName string + IsAsync bool + LineNumber int32 + MethodName string + TranspiledColumnNumber int32 + TranspiledFileName string + TranspiledLineNumber int32 + Variables []*VariableId + func (*StackFrame) Descriptor() ([]byte, []int) + func (*StackFrame) ProtoMessage() + func (m *StackFrame) GetAppFrame() bool + func (m *StackFrame) GetClassName() string + func (m *StackFrame) GetColumnNumber() int32 + func (m *StackFrame) GetFileName() string + func (m *StackFrame) GetIsAsync() bool + func (m *StackFrame) GetLineNumber() int32 + func (m *StackFrame) GetMethodName() string + func (m *StackFrame) GetTranspiledColumnNumber() int32 + func (m *StackFrame) GetTranspiledFileName() string + func (m *StackFrame) GetTranspiledLineNumber() int32 + func (m *StackFrame) GetVariables() []*VariableId + func (m *StackFrame) Marshal() (dAtA []byte, err error) + func (m *StackFrame) MarshalTo(dAtA []byte) (int, error) + func (m *StackFrame) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *StackFrame) Reset() + func (m *StackFrame) Size() (n int) + func (m *StackFrame) String() string + func (m *StackFrame) Unmarshal(dAtA []byte) error + func (m *StackFrame) XXX_DiscardUnknown() + func (m *StackFrame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *StackFrame) XXX_Merge(src proto.Message) + func (m *StackFrame) XXX_Size() int + func (m *StackFrame) XXX_Unmarshal(b []byte) error + type TracePointConfig struct + Args map[string]string + Id string + LineNo int32 + Path string + Watches []string + func (*TracePointConfig) Descriptor() ([]byte, []int) + func (*TracePointConfig) ProtoMessage() + func (m *TracePointConfig) GetArgs() map[string]string + func (m *TracePointConfig) GetId() string + func (m *TracePointConfig) GetLineNo() int32 + func (m *TracePointConfig) GetPath() string + func (m *TracePointConfig) GetWatches() []string + func (m *TracePointConfig) Marshal() (dAtA []byte, err error) + func (m *TracePointConfig) MarshalTo(dAtA []byte) (int, error) + func (m *TracePointConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *TracePointConfig) Reset() + func (m *TracePointConfig) Size() (n int) + func (m *TracePointConfig) String() string + func (m *TracePointConfig) Unmarshal(dAtA []byte) error + func (m *TracePointConfig) XXX_DiscardUnknown() + func (m *TracePointConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *TracePointConfig) XXX_Merge(src proto.Message) + func (m *TracePointConfig) XXX_Size() int + func (m *TracePointConfig) XXX_Unmarshal(b []byte) error + type UnimplementedSnapshotServiceServer struct + func (*UnimplementedSnapshotServiceServer) Send(ctx context.Context, req *Snapshot) (*SnapshotResponse, error) + type Variable struct + Children []*VariableId + Hash string + Truncated bool + Type string + Value string + func (*Variable) Descriptor() ([]byte, []int) + func (*Variable) ProtoMessage() + func (m *Variable) GetChildren() []*VariableId + func (m *Variable) GetHash() string + func (m *Variable) GetTruncated() bool + func (m *Variable) GetType() string + func (m *Variable) GetValue() string + func (m *Variable) Marshal() (dAtA []byte, err error) + func (m *Variable) MarshalTo(dAtA []byte) (int, error) + func (m *Variable) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Variable) Reset() + func (m *Variable) Size() (n int) + func (m *Variable) String() string + func (m *Variable) Unmarshal(dAtA []byte) error + func (m *Variable) XXX_DiscardUnknown() + func (m *Variable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Variable) XXX_Merge(src proto.Message) + func (m *Variable) XXX_Size() int + func (m *Variable) XXX_Unmarshal(b []byte) error + type VariableId struct + Id string + Modifiers []string + Name string + func (*VariableId) Descriptor() ([]byte, []int) + func (*VariableId) ProtoMessage() + func (m *VariableId) GetId() string + func (m *VariableId) GetModifiers() []string + func (m *VariableId) GetName() string + func (m *VariableId) Marshal() (dAtA []byte, err error) + func (m *VariableId) MarshalTo(dAtA []byte) (int, error) + func (m *VariableId) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *VariableId) Reset() + func (m *VariableId) Size() (n int) + func (m *VariableId) String() string + func (m *VariableId) Unmarshal(dAtA []byte) error + func (m *VariableId) XXX_DiscardUnknown() + func (m *VariableId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *VariableId) XXX_Merge(src proto.Message) + func (m *VariableId) XXX_Size() int + func (m *VariableId) XXX_Unmarshal(b []byte) error + type WatchResult struct + Expression string + Result isWatchResult_Result + func (*WatchResult) Descriptor() ([]byte, []int) + func (*WatchResult) ProtoMessage() + func (*WatchResult) XXX_OneofWrappers() []interface{} + func (m *WatchResult) GetErrorResult() string + func (m *WatchResult) GetExpression() string + func (m *WatchResult) GetGoodResult() *VariableId + func (m *WatchResult) GetResult() isWatchResult_Result + func (m *WatchResult) Marshal() (dAtA []byte, err error) + func (m *WatchResult) MarshalTo(dAtA []byte) (int, error) + func (m *WatchResult) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *WatchResult) Reset() + func (m *WatchResult) Size() (n int) + func (m *WatchResult) String() string + func (m *WatchResult) Unmarshal(dAtA []byte) error + func (m *WatchResult) XXX_DiscardUnknown() + func (m *WatchResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *WatchResult) XXX_Merge(src proto.Message) + func (m *WatchResult) XXX_Size() int + func (m *WatchResult) XXX_Unmarshal(b []byte) error + type WatchResult_ErrorResult struct + ErrorResult string + func (m *WatchResult_ErrorResult) MarshalTo(dAtA []byte) (int, error) + func (m *WatchResult_ErrorResult) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *WatchResult_ErrorResult) Size() (n int) + type WatchResult_GoodResult struct + GoodResult *VariableId + func (m *WatchResult_GoodResult) MarshalTo(dAtA []byte) (int, error) + func (m *WatchResult_GoodResult) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *WatchResult_GoodResult) Size() (n int)