Documentation ¶
Overview ¶
Package internal is used only within this package and all code contained within is not supported and should be considered experimetnal and subject to change.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ComponentDependencyWildcardMatcher = ResourceMatcher(componentDependencyWildcardMatcher("*:component:*/*:*"))
ComponentDependencyWildcardMatcher is used internally right now for lack of a better way to "select" resources that another resource is dependency on. Usage of this is an anti-pattern and a better matcher system should exist.
var SLAMDependencyWildcardMatcher = ResourceMatcher(slamDependencyWildcardMatcher("rdk:service:slam/*:*"))
SLAMDependencyWildcardMatcher is used internally right now for lack of a better way to "select" slam services that another resource has dependency on. Usage of this is an anti-pattern and a better matcher system should exist.
var VisionDependencyWildcardMatcher = ResourceMatcher(visionDependencyWildcardMatcher("rdk:service:vision/*:*"))
VisionDependencyWildcardMatcher is used internally right now for lack of a better way to "select" vision services that another resource has dependency on. Usage of this is an anti-pattern and a better matcher system should exist.
Functions ¶
This section is empty.
Types ¶
type ResourceMatcher ¶
type ResourceMatcher interface {
// contains filtered or unexported methods
}
ResourceMatcher matches resource expressions against resources. TODO(PRODUCT-460): right now this is just simple builtin strings and there is no real matching system.
Directories ¶
Path | Synopsis |
---|---|
Package cloud implements a service to grab gRPC connections to talk to a cloud service that manages robots.
|
Package cloud implements a service to grab gRPC connections to talk to a cloud service that manages robots. |
testutils
|
|
inject
Package inject provides an mock cloud connection service that can be used for testing.
|
Package inject provides an mock cloud connection service that can be used for testing. |