This content is associated with a legacy version of the Replicated product. For the current Replicated product docs, click here.
collectRef
type object
Reference to a collect spec
analyze:
v1:
- registerVariables:
- collectRef:
selector:
analyze: docker-info
regexpCapture:
regexp: '"ServerVersion": *"([^"]+)"'
index: 1
Optional Parameters
-
eval
- Evaluates a templated string -
identity
- The file -
name
- Selector to reference the meta.name of a collect spec -
regexpCapture
- Evaluates a regular expression on the file. Returns the first match -
regexpCaptureAll
- Evaluates a regular expression on the file. Returns all matches -
scannable
- Will read the file one line at a time and apply the variable expressions -
selector
- Selector to reference the meta.labels of a collect spec