ipc

package
v1.5.4 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EgressHandler_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ipc.EgressHandler",
	HandlerType: (*EgressHandlerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetDebugInfo",
			Handler:    _EgressHandler_GetDebugInfo_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "ipc.proto",
}

EgressHandler_ServiceDesc is the grpc.ServiceDesc for EgressHandler service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterEgressHandlerServer

func RegisterEgressHandlerServer(s grpc.ServiceRegistrar, srv EgressHandlerServer)

Types

type EgressHandlerClient

type EgressHandlerClient interface {
	GetDebugInfo(ctx context.Context, in *GetDebugInfoRequest, opts ...grpc.CallOption) (*GetDebugInfoResponse, error)
}

EgressHandlerClient is the client API for EgressHandler service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type EgressHandlerServer

type EgressHandlerServer interface {
	GetDebugInfo(context.Context, *GetDebugInfoRequest) (*GetDebugInfoResponse, error)
	// contains filtered or unexported methods
}

EgressHandlerServer is the server API for EgressHandler service. All implementations must embed UnimplementedEgressHandlerServer for forward compatibility

type GetDebugInfoRequest

type GetDebugInfoRequest struct {

	// Types that are assignable to Request:
	//	*GetDebugInfoRequest_GstPipelineDot
	//	*GetDebugInfoRequest_Pprof
	Request isGetDebugInfoRequest_Request `protobuf_oneof:"request"`
	// contains filtered or unexported fields
}

func (*GetDebugInfoRequest) Descriptor deprecated

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

Deprecated: Use GetDebugInfoRequest.ProtoReflect.Descriptor instead.

func (*GetDebugInfoRequest) GetGstPipelineDot

func (x *GetDebugInfoRequest) GetGstPipelineDot() *GstPipelineDebugDotRequest

func (*GetDebugInfoRequest) GetPprof

func (x *GetDebugInfoRequest) GetPprof() *PprofRequest

func (*GetDebugInfoRequest) GetRequest

func (m *GetDebugInfoRequest) GetRequest() isGetDebugInfoRequest_Request

func (*GetDebugInfoRequest) ProtoMessage

func (*GetDebugInfoRequest) ProtoMessage()

func (*GetDebugInfoRequest) ProtoReflect

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

func (*GetDebugInfoRequest) Reset

func (x *GetDebugInfoRequest) Reset()

func (*GetDebugInfoRequest) String

func (x *GetDebugInfoRequest) String() string

type GetDebugInfoRequest_GstPipelineDot

type GetDebugInfoRequest_GstPipelineDot struct {
	GstPipelineDot *GstPipelineDebugDotRequest `protobuf:"bytes,1,opt,name=gst_pipeline_dot,json=gstPipelineDot,proto3,oneof"`
}

type GetDebugInfoRequest_Pprof

type GetDebugInfoRequest_Pprof struct {
	Pprof *PprofRequest `protobuf:"bytes,2,opt,name=pprof,proto3,oneof"`
}

type GetDebugInfoResponse

type GetDebugInfoResponse struct {

	// Types that are assignable to Response:
	//	*GetDebugInfoResponse_GstPipelineDot
	//	*GetDebugInfoResponse_Pprof
	Response isGetDebugInfoResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

func (*GetDebugInfoResponse) Descriptor deprecated

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

Deprecated: Use GetDebugInfoResponse.ProtoReflect.Descriptor instead.

func (*GetDebugInfoResponse) GetGstPipelineDot

func (x *GetDebugInfoResponse) GetGstPipelineDot() *GstPipelineDebugDotResponse

func (*GetDebugInfoResponse) GetPprof

func (x *GetDebugInfoResponse) GetPprof() *PprofResponse

func (*GetDebugInfoResponse) GetResponse

func (m *GetDebugInfoResponse) GetResponse() isGetDebugInfoResponse_Response

func (*GetDebugInfoResponse) ProtoMessage

func (*GetDebugInfoResponse) ProtoMessage()

func (*GetDebugInfoResponse) ProtoReflect

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

func (*GetDebugInfoResponse) Reset

func (x *GetDebugInfoResponse) Reset()

func (*GetDebugInfoResponse) String

func (x *GetDebugInfoResponse) String() string

type GetDebugInfoResponse_GstPipelineDot

type GetDebugInfoResponse_GstPipelineDot struct {
	GstPipelineDot *GstPipelineDebugDotResponse `protobuf:"bytes,1,opt,name=gst_pipeline_dot,json=gstPipelineDot,proto3,oneof"`
}

type GetDebugInfoResponse_Pprof

type GetDebugInfoResponse_Pprof struct {
	Pprof *PprofResponse `protobuf:"bytes,2,opt,name=pprof,proto3,oneof"`
}

type GstPipelineDebugDotRequest

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

func (*GstPipelineDebugDotRequest) Descriptor deprecated

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

Deprecated: Use GstPipelineDebugDotRequest.ProtoReflect.Descriptor instead.

func (*GstPipelineDebugDotRequest) ProtoMessage

func (*GstPipelineDebugDotRequest) ProtoMessage()

func (*GstPipelineDebugDotRequest) ProtoReflect

func (*GstPipelineDebugDotRequest) Reset

func (x *GstPipelineDebugDotRequest) Reset()

func (*GstPipelineDebugDotRequest) String

func (x *GstPipelineDebugDotRequest) String() string

type GstPipelineDebugDotResponse

type GstPipelineDebugDotResponse struct {
	DotFile string `protobuf:"bytes,1,opt,name=dot_file,json=dotFile,proto3" json:"dot_file,omitempty"`
	// contains filtered or unexported fields
}

func (*GstPipelineDebugDotResponse) Descriptor deprecated

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

Deprecated: Use GstPipelineDebugDotResponse.ProtoReflect.Descriptor instead.

func (*GstPipelineDebugDotResponse) GetDotFile

func (x *GstPipelineDebugDotResponse) GetDotFile() string

func (*GstPipelineDebugDotResponse) ProtoMessage

func (*GstPipelineDebugDotResponse) ProtoMessage()

func (*GstPipelineDebugDotResponse) ProtoReflect

func (*GstPipelineDebugDotResponse) Reset

func (x *GstPipelineDebugDotResponse) Reset()

func (*GstPipelineDebugDotResponse) String

func (x *GstPipelineDebugDotResponse) String() string

type PprofRequest

type PprofRequest struct {
	ProfileName string `protobuf:"bytes,1,opt,name=profile_name,json=profileName,proto3" json:"profile_name,omitempty"`
	Timeout     int32  `protobuf:"varint,2,opt,name=timeout,proto3" json:"timeout,omitempty"`
	Debug       int32  `protobuf:"varint,3,opt,name=debug,proto3" json:"debug,omitempty"`
	// contains filtered or unexported fields
}

func (*PprofRequest) Descriptor deprecated

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

Deprecated: Use PprofRequest.ProtoReflect.Descriptor instead.

func (*PprofRequest) GetDebug

func (x *PprofRequest) GetDebug() int32

func (*PprofRequest) GetProfileName

func (x *PprofRequest) GetProfileName() string

func (*PprofRequest) GetTimeout

func (x *PprofRequest) GetTimeout() int32

func (*PprofRequest) ProtoMessage

func (*PprofRequest) ProtoMessage()

func (*PprofRequest) ProtoReflect

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

func (*PprofRequest) Reset

func (x *PprofRequest) Reset()

func (*PprofRequest) String

func (x *PprofRequest) String() string

type PprofResponse

type PprofResponse struct {
	PprofFile []byte `protobuf:"bytes,1,opt,name=pprof_file,json=pprofFile,proto3" json:"pprof_file,omitempty"`
	// contains filtered or unexported fields
}

func (*PprofResponse) Descriptor deprecated

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

Deprecated: Use PprofResponse.ProtoReflect.Descriptor instead.

func (*PprofResponse) GetPprofFile

func (x *PprofResponse) GetPprofFile() []byte

func (*PprofResponse) ProtoMessage

func (*PprofResponse) ProtoMessage()

func (*PprofResponse) ProtoReflect

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

func (*PprofResponse) Reset

func (x *PprofResponse) Reset()

func (*PprofResponse) String

func (x *PprofResponse) String() string

type UnimplementedEgressHandlerServer

type UnimplementedEgressHandlerServer struct {
}

UnimplementedEgressHandlerServer must be embedded to have forward compatible implementations.

func (UnimplementedEgressHandlerServer) GetDebugInfo

type UnsafeEgressHandlerServer

type UnsafeEgressHandlerServer interface {
	// contains filtered or unexported methods
}

UnsafeEgressHandlerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EgressHandlerServer will result in compilation errors.

Jump to

Keyboard shortcuts

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