You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2022/09/15 13:13:00 UTC
[brooklyn-docs] branch master updated: update the correct sensor class
This is an automated email from the ASF dual-hosted git repository.
heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-docs.git
The following commit(s) were added to refs/heads/master by this push:
new a553362b update the correct sensor class
a553362b is described below
commit a553362b37cd3500ab8b4b0dd7203c9f33e198cd
Author: Alex Heneveld <al...@cloudsoft.io>
AuthorDate: Thu Sep 15 14:12:44 2022 +0100
update the correct sensor class
---
guide/blueprints/yaml-reference.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/guide/blueprints/yaml-reference.md b/guide/blueprints/yaml-reference.md
index 4b04be59..32a78ce2 100644
--- a/guide/blueprints/yaml-reference.md
+++ b/guide/blueprints/yaml-reference.md
@@ -56,7 +56,7 @@ the entity being defined, with these being the most common:
to define an effector with the given name implemented by the given SSH command
(on an entity which as an ssh-able machine)
- * `org.apache.brooklyn.tasks.kubectl.ContainerSensor`: takes a `name` and `command`,
+ * `org.apache.brooklyn.core.sensor.ssh.SshCommandSensor`: takes a `name` and `command`,
and optionally a `period` (e.g. `1h`) or `triggers` (a sensor name, or list containing sensor names or
maps of the form `{entity: id, sensor: name}`), to create a sensor feed which populates the sensor with
the given name by running the given command (on an entity which as an ssh-able machine);
@@ -64,7 +64,7 @@ the entity being defined, with these being the most common:
(if the `---` document separator is used, only the output after the last such separator is coerced,
allowing output to be verbose until the final section)
- * `org.apache.brooklyn.core.sensor.ssh.SshCommandSensor`: takes a `name` and `image`,
+ * `org.apache.brooklyn.tasks.kubectl.ContainerSensor`: takes a `name` and `image`,
and optionally either `bashScript` or `command`,
and optionally the same `period` and `triggers` and `type` as `SshCommandSensor`,
to create a sensor feed which runs the given container to populate the sensor