ipc

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 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: "GetPipelineDot",
			Handler:    _EgressHandler_GetPipelineDot_Handler,
		},
		{
			MethodName: "GetPProf",
			Handler:    _EgressHandler_GetPProf_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 {
	GetPipelineDot(ctx context.Context, in *GstPipelineDebugDotRequest, opts ...grpc.CallOption) (*GstPipelineDebugDotResponse, error)
	GetPProf(ctx context.Context, in *PProfRequest, opts ...grpc.CallOption) (*PProfResponse, 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 {
	GetPipelineDot(context.Context, *GstPipelineDebugDotRequest) (*GstPipelineDebugDotResponse, error)
	GetPProf(context.Context, *PProfRequest) (*PProfResponse, error)
	// contains filtered or unexported methods
}

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

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 added in v1.5.5

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 added in v1.5.5

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

Deprecated: Use PProfRequest.ProtoReflect.Descriptor instead.

func (*PProfRequest) GetDebug added in v1.5.5

func (x *PProfRequest) GetDebug() int32

func (*PProfRequest) GetProfileName added in v1.5.5

func (x *PProfRequest) GetProfileName() string

func (*PProfRequest) GetTimeout added in v1.5.5

func (x *PProfRequest) GetTimeout() int32

func (*PProfRequest) ProtoMessage added in v1.5.5

func (*PProfRequest) ProtoMessage()

func (*PProfRequest) ProtoReflect added in v1.5.5

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

func (*PProfRequest) Reset added in v1.5.5

func (x *PProfRequest) Reset()

func (*PProfRequest) String added in v1.5.5

func (x *PProfRequest) String() string

type PProfResponse added in v1.5.5

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 added in v1.5.5

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

Deprecated: Use PProfResponse.ProtoReflect.Descriptor instead.

func (*PProfResponse) GetPprofFile added in v1.5.5

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

func (*PProfResponse) ProtoMessage added in v1.5.5

func (*PProfResponse) ProtoMessage()

func (*PProfResponse) ProtoReflect added in v1.5.5

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

func (*PProfResponse) Reset added in v1.5.5

func (x *PProfResponse) Reset()

func (*PProfResponse) String added in v1.5.5

func (x *PProfResponse) String() string

type UnimplementedEgressHandlerServer

type UnimplementedEgressHandlerServer struct {
}

UnimplementedEgressHandlerServer must be embedded to have forward compatible implementations.

func (UnimplementedEgressHandlerServer) GetPProf added in v1.5.5

func (UnimplementedEgressHandlerServer) GetPipelineDot added in v1.5.5

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