Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Probes describe command #215

Merged
merged 5 commits into from
May 15, 2024

Conversation

shivam-Purohit
Copy link
Contributor

Addition of describe probe command

usage : litmusctl describe probe --project-id="" --probe-id=""

output :

getprobeyaml: |

  cmdProbe/inputs:

    command: get

    comparator:

      criteria: ==

      type: int

      value: "200"

  mode: Continuous

  name: shivamcmd

  runProperties:

    interval: 1s

    probeTimeout: 1s

  type: cmdProbe


pkg/cmd/describe/probe.go Outdated Show resolved Hide resolved
pkg/cmd/describe/probe.go Outdated Show resolved Hide resolved
Signed-off-by: Shivam Purohit <shivampurohit900@gmail.com>
Signed-off-by: Shivam Purohit <shivampurohit900@gmail.com>
Signed-off-by: Shivam Purohit <shivampurohit900@gmail.com>
Signed-off-by: Shivam Purohit <shivampurohit900@gmail.com>
Signed-off-by: Shivam Purohit <shivampurohit900@gmail.com>
@shivam-Purohit
Copy link
Contributor Author

@SarthakJain26 addressed both the comments

@SarthakJain26 SarthakJain26 merged commit 5d8e1be into litmuschaos:master May 15, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants