debug

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthDebug = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDebug   = fmt.Errorf("proto: integer overflow")
)

Functions

func RegisterDebugServer

func RegisterDebugServer(s *grpc.Server, srv DebugServer)

Types

type BinaryRequest added in v1.8.6

type BinaryRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BinaryRequest) Descriptor added in v1.8.6

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

func (*BinaryRequest) Marshal added in v1.8.6

func (m *BinaryRequest) Marshal() (dAtA []byte, err error)

func (*BinaryRequest) MarshalTo added in v1.8.6

func (m *BinaryRequest) MarshalTo(dAtA []byte) (int, error)

func (*BinaryRequest) ProtoMessage added in v1.8.6

func (*BinaryRequest) ProtoMessage()

func (*BinaryRequest) Reset added in v1.8.6

func (m *BinaryRequest) Reset()

func (*BinaryRequest) Size added in v1.8.6

func (m *BinaryRequest) Size() (n int)

func (*BinaryRequest) String added in v1.8.6

func (m *BinaryRequest) String() string

func (*BinaryRequest) Unmarshal added in v1.8.6

func (m *BinaryRequest) Unmarshal(dAtA []byte) error

func (*BinaryRequest) XXX_DiscardUnknown added in v1.8.6

func (m *BinaryRequest) XXX_DiscardUnknown()

func (*BinaryRequest) XXX_Marshal added in v1.8.6

func (m *BinaryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BinaryRequest) XXX_Merge added in v1.8.6

func (m *BinaryRequest) XXX_Merge(src proto.Message)

func (*BinaryRequest) XXX_Size added in v1.8.6

func (m *BinaryRequest) XXX_Size() int

func (*BinaryRequest) XXX_Unmarshal added in v1.8.6

func (m *BinaryRequest) XXX_Unmarshal(b []byte) error

type DebugClient

type DebugClient interface {
	Dump(ctx context.Context, in *DumpRequest, opts ...grpc.CallOption) (Debug_DumpClient, error)
	Profile(ctx context.Context, in *ProfileRequest, opts ...grpc.CallOption) (Debug_ProfileClient, error)
	Binary(ctx context.Context, in *BinaryRequest, opts ...grpc.CallOption) (Debug_BinaryClient, error)
}

DebugClient is the client API for Debug service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewDebugClient

func NewDebugClient(cc *grpc.ClientConn) DebugClient

type DebugServer

DebugServer is the server API for Debug service.

type Debug_BinaryClient added in v1.8.6

type Debug_BinaryClient interface {
	Recv() (*types.BytesValue, error)
	grpc.ClientStream
}

type Debug_BinaryServer added in v1.8.6

type Debug_BinaryServer interface {
	Send(*types.BytesValue) error
	grpc.ServerStream
}

type Debug_DumpClient

type Debug_DumpClient interface {
	Recv() (*types.BytesValue, error)
	grpc.ClientStream
}

type Debug_DumpServer

type Debug_DumpServer interface {
	Send(*types.BytesValue) error
	grpc.ServerStream
}

type Debug_ProfileClient added in v1.8.6

type Debug_ProfileClient interface {
	Recv() (*types.BytesValue, error)
	grpc.ClientStream
}

type Debug_ProfileServer added in v1.8.6

type Debug_ProfileServer interface {
	Send(*types.BytesValue) error
	grpc.ServerStream
}

type DumpRequest

type DumpRequest struct {
	// Recursed is true if this request is a recursive call from another request.
	// Callers should leave it unset, it's used to prevent infinite loops of
	// recursive calls.
	Recursed             bool     `protobuf:"varint,1,opt,name=recursed,proto3" json:"recursed,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DumpRequest) Descriptor

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

func (*DumpRequest) GetRecursed

func (m *DumpRequest) GetRecursed() bool

func (*DumpRequest) Marshal

func (m *DumpRequest) Marshal() (dAtA []byte, err error)

func (*DumpRequest) MarshalTo

func (m *DumpRequest) MarshalTo(dAtA []byte) (int, error)

func (*DumpRequest) ProtoMessage

func (*DumpRequest) ProtoMessage()

func (*DumpRequest) Reset

func (m *DumpRequest) Reset()

func (*DumpRequest) Size

func (m *DumpRequest) Size() (n int)

func (*DumpRequest) String

func (m *DumpRequest) String() string

func (*DumpRequest) Unmarshal

func (m *DumpRequest) Unmarshal(dAtA []byte) error

func (*DumpRequest) XXX_DiscardUnknown added in v1.7.12

func (m *DumpRequest) XXX_DiscardUnknown()

func (*DumpRequest) XXX_Marshal added in v1.7.12

func (m *DumpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DumpRequest) XXX_Merge added in v1.7.12

func (m *DumpRequest) XXX_Merge(src proto.Message)

func (*DumpRequest) XXX_Size added in v1.7.12

func (m *DumpRequest) XXX_Size() int

func (*DumpRequest) XXX_Unmarshal added in v1.7.12

func (m *DumpRequest) XXX_Unmarshal(b []byte) error

type ProfileRequest added in v1.8.6

type ProfileRequest struct {
	Profile              string          `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"`
	Duration             *types.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*ProfileRequest) Descriptor added in v1.8.6

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

func (*ProfileRequest) GetDuration added in v1.8.6

func (m *ProfileRequest) GetDuration() *types.Duration

func (*ProfileRequest) GetProfile added in v1.8.6

func (m *ProfileRequest) GetProfile() string

func (*ProfileRequest) Marshal added in v1.8.6

func (m *ProfileRequest) Marshal() (dAtA []byte, err error)

func (*ProfileRequest) MarshalTo added in v1.8.6

func (m *ProfileRequest) MarshalTo(dAtA []byte) (int, error)

func (*ProfileRequest) ProtoMessage added in v1.8.6

func (*ProfileRequest) ProtoMessage()

func (*ProfileRequest) Reset added in v1.8.6

func (m *ProfileRequest) Reset()

func (*ProfileRequest) Size added in v1.8.6

func (m *ProfileRequest) Size() (n int)

func (*ProfileRequest) String added in v1.8.6

func (m *ProfileRequest) String() string

func (*ProfileRequest) Unmarshal added in v1.8.6

func (m *ProfileRequest) Unmarshal(dAtA []byte) error

func (*ProfileRequest) XXX_DiscardUnknown added in v1.8.6

func (m *ProfileRequest) XXX_DiscardUnknown()

func (*ProfileRequest) XXX_Marshal added in v1.8.6

func (m *ProfileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProfileRequest) XXX_Merge added in v1.8.6

func (m *ProfileRequest) XXX_Merge(src proto.Message)

func (*ProfileRequest) XXX_Size added in v1.8.6

func (m *ProfileRequest) XXX_Size() int

func (*ProfileRequest) XXX_Unmarshal added in v1.8.6

func (m *ProfileRequest) XXX_Unmarshal(b []byte) error

type UnimplementedDebugServer added in v1.8.7

type UnimplementedDebugServer struct {
}

UnimplementedDebugServer can be embedded to have forward compatible implementations.

func (*UnimplementedDebugServer) Binary added in v1.8.7

func (*UnimplementedDebugServer) Dump added in v1.8.7

func (*UnimplementedDebugServer) Profile added in v1.8.7

Jump to

Keyboard shortcuts

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