desktop

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2019 License: Apache-2.0 Imports: 14 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DesktopTracer

type DesktopTracer struct {
	// contains filtered or unexported fields
}

func NewTracer

func NewTracer(dev bind.Device) *DesktopTracer

func (*DesktopTracer) FindTraceTargets

func (t *DesktopTracer) FindTraceTargets(ctx context.Context, str string) ([]*tracer.TraceTargetTreeNode, error)

func (*DesktopTracer) GetDevice

func (t *DesktopTracer) GetDevice() bind.Device

func (*DesktopTracer) GetTraceTargetNode

func (t *DesktopTracer) GetTraceTargetNode(ctx context.Context, uri string, iconDensity float32) (*tracer.TraceTargetTreeNode, error)

func (*DesktopTracer) JoinPath

func (t *DesktopTracer) JoinPath(paths []string) string

JoinPath provides a path.Join() for this specific target

func (*DesktopTracer) SetupTrace

func (t *DesktopTracer) SetupTrace(ctx context.Context, o *service.TraceOptions) (tracer.Process, func(), error)

func (*DesktopTracer) SplitPath

func (t *DesktopTracer) SplitPath(p string) (string, string)

SplitPath performs a path.Split() operation for this specific target

func (*DesktopTracer) TraceConfiguration added in v1.3.1

func (t *DesktopTracer) TraceConfiguration(ctx context.Context) (*service.DeviceTraceConfiguration, error)

TraceConfiguration returns the device's supported trace configuration.

Jump to

Keyboard shortcuts

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