Documentation
¶
Index ¶
- type LookupRoot
- type LookupRootValue
- func ExLookupRoot(ctx context.Context, b bus.Bus, returnIfIdle bool, platformIDs []string, ...) (LookupRootValue, directive.Instance, directive.Reference, error)
- func ExLookupRootByPlatform(ctx context.Context, b bus.Bus, returnIfIdle bool, platformID string, ...) (LookupRootValue, directive.Instance, directive.Reference, error)
- type Root
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LookupRoot ¶
type LookupRoot interface {
directive.Directive
// LookupRootPlatformIDs filters the platform IDs to match.
LookupRootPlatformIDs() []string
}
LookupRoot is a directive to look up process-lifetime plugin host roots.
func NewLookupRoot ¶
func NewLookupRoot(platformIDs []string) LookupRoot
NewLookupRoot constructs a new LookupRoot directive.
type LookupRootValue ¶
type LookupRootValue = *Root
LookupRootValue is the result type for LookupRoot.
func ExLookupRoot ¶
func ExLookupRoot( ctx context.Context, b bus.Bus, returnIfIdle bool, platformIDs []string, valDisposeCallback func(), ) (LookupRootValue, directive.Instance, directive.Reference, error)
ExLookupRoot executes the LookupRoot directive.
func ExLookupRootByPlatform ¶
func ExLookupRootByPlatform( ctx context.Context, b bus.Bus, returnIfIdle bool, platformID string, valDisposeCallback func(), ) (LookupRootValue, directive.Instance, directive.Reference, error)
ExLookupRootByPlatform executes the LookupRoot directive for a single platform ID.
type Root ¶
type Root struct {
// contains filtered or unexported fields
}
Root is the process-lifetime Bldr plugin host resource root.
func (*Root) GetDesktopTray ¶
func (r *Root) GetDesktopTray() *desktop_tray.DesktopTray
GetDesktopTray returns the process-lifetime desktop tray registry.
Click to show internal directories.
Click to hide internal directories.