nativeprofile

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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 (*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 (*ProfileServiceCompat) GetProfileTaskCommands added in v1.0.0

func (*ProfileServiceCompat) ReportTaskFinish added in v1.0.0

type Receiver

type Receiver struct {
	config.CommonFields
	grpc.CommonGRPCReceiverFields
	// contains filtered or unexported fields
}

func (*Receiver) Channel

func (r *Receiver) Channel() <-chan *v1.SniffData

func (*Receiver) DefaultConfig

func (r *Receiver) DefaultConfig() string

func (*Receiver) Description

func (r *Receiver) Description() string

func (*Receiver) Name

func (r *Receiver) Name() string

func (*Receiver) RegisterHandler

func (r *Receiver) RegisterHandler(server interface{})

func (*Receiver) RegisterSyncInvoker

func (r *Receiver) RegisterSyncInvoker(invoker module.SyncInvoker)

func (*Receiver) ShowName added in v0.4.0

func (r *Receiver) ShowName() string

func (*Receiver) SupportForwarders

func (r *Receiver) SupportForwarders() []forwarder.Forwarder

Jump to

Keyboard shortcuts

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