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 ProfileServiceCompat
- func (p *ProfileServiceCompat) CollectSnapshot(stream profile_compat.ProfileTask_CollectSnapshotServer) error
- func (p *ProfileServiceCompat) GetProfileTaskCommands(ctx context.Context, q *profile.ProfileTaskCommandQuery) (*common.Commands, error)
- func (p *ProfileServiceCompat) ReportTaskFinish(ctx 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) ShowName() string
- func (r *Receiver) SupportForwarders() []forwarder.Forwarder
Constants ¶
View Source
const ( Name = "grpc-native-profile-receiver" ShowName = "GRPC Native Profile 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 ProfileServiceCompat ¶ added in v1.0.0
type ProfileServiceCompat struct { profile_compat.UnimplementedProfileTaskServer // contains filtered or unexported fields }
func (*ProfileServiceCompat) CollectSnapshot ¶ added in v1.0.0
func (p *ProfileServiceCompat) CollectSnapshot(stream profile_compat.ProfileTask_CollectSnapshotServer) error
func (*ProfileServiceCompat) GetProfileTaskCommands ¶ added in v1.0.0
func (p *ProfileServiceCompat) GetProfileTaskCommands(ctx context.Context, q *profile.ProfileTaskCommandQuery) (*common.Commands, error)
func (*ProfileServiceCompat) ReportTaskFinish ¶ added in v1.0.0
func (p *ProfileServiceCompat) ReportTaskFinish(ctx 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.