Documentation
¶
Index ¶
- func FindTraceTargets(ctx context.Context, device path.Device, uri string) ([]*tracer.TraceTargetTreeNode, error)
- func PutManager(ctx context.Context, m *Manager) context.Context
- func Trace(ctx context.Context, device *path.Device, start task.Signal, ...) error
- func TraceTargetTreeNode(ctx context.Context, device path.Device, uri string, density float32) (*tracer.TraceTargetTreeNode, error)
- type Manager
- type TraceConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindTraceTargets ¶
func FindTraceTargets(ctx context.Context, device path.Device, uri string) ([]*tracer.TraceTargetTreeNode, error)
FindTraceTargets returns trace targets matching the given search parameters.
func PutManager ¶
PutManager attaches a manager to a Context.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager is used discover trace devices and to send trace requests to those discovered devices.
func GetManager ¶
GetManager retrieves the manager from a context previously annotated by PutManager.
type TraceConfig ¶
type TraceConfig struct {
ServerLocalPath bool // Are the paths server-local for this tracer
CanSpecifyCwd bool // Does it make sense to specify a CWD for this device
CanUploadApplication bool // Does this device support app upload
CanSpecifyEnv bool // Does this device support environment variables
HasCache bool // Does this device have a clearable cache
PreferredRootUri string // What URI is the preferred root
Apis []tracer.APITraceOptions // API specific tracing options
}
func TraceConfiguration ¶
Click to show internal directories.
Click to hide internal directories.