internal

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: AGPL-3.0 Imports: 0 Imported by: 0

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

View Source
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.

View Source
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.

View Source
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.

Jump to

Keyboard shortcuts

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