Documentation
¶
Index ¶
- Constants
- type ProfileService
- func (p *ProfileService) CollectSnapshot(stream profile.ProfileTask_CollectSnapshotServer) error
- func (p *ProfileService) GetProfileTaskCommands(_ context.Context, q *profile.ProfileTaskCommandQuery) (*common.Commands, error)
- func (p *ProfileService) ReportTaskFinish(_ context.Context, report *profile.ProfileTaskFinishReport) (*common.Commands, error)
- type Receiver
- func (r *Receiver) Channel() <-chan *v1.SniffData
- func (r *Receiver) DefaultConfig() string
- func (r *Receiver) Description() string
- func (r *Receiver) Name() string
- func (r *Receiver) RegisterHandler(server interface{})
- func (r *Receiver) RegisterSyncInvoker(invoker module.SyncInvoker)
- func (r *Receiver) SupportForwarders() []forwarder.Forwarder
Constants ¶
View Source
const Name = "grpc-nativeprofile-receiver"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProfileService ¶
type ProfileService struct {
module.SyncInvoker
profile.UnimplementedProfileTaskServer
// contains filtered or unexported fields
}
func (*ProfileService) CollectSnapshot ¶
func (p *ProfileService) CollectSnapshot(stream profile.ProfileTask_CollectSnapshotServer) error
func (*ProfileService) GetProfileTaskCommands ¶
func (p *ProfileService) GetProfileTaskCommands(_ context.Context, q *profile.ProfileTaskCommandQuery) (*common.Commands, error)
func (*ProfileService) ReportTaskFinish ¶
func (p *ProfileService) ReportTaskFinish(_ context.Context, report *profile.ProfileTaskFinishReport) (*common.Commands, error)
type Receiver ¶
type Receiver struct {
config.CommonFields
grpc.CommonGRPCReceiverFields
// contains filtered or unexported fields
}
func (*Receiver) DefaultConfig ¶
func (*Receiver) Description ¶
func (*Receiver) RegisterHandler ¶
func (r *Receiver) RegisterHandler(server interface{})
func (*Receiver) RegisterSyncInvoker ¶
func (r *Receiver) RegisterSyncInvoker(invoker module.SyncInvoker)
func (*Receiver) SupportForwarders ¶
Click to show internal directories.
Click to hide internal directories.