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

add support for suspend/resume engines #99

Merged
merged 5 commits into from
Sep 14, 2023
Merged

Conversation

rsulli-rai
Copy link
Contributor

  • Add support for suspending engines
  • Add support for resuming engines

@@ -601,6 +601,28 @@ func (c *Client) ListEngines(filters ...interface{}) ([]Engine, error) {
return result.Engines, nil
}

func (c *Client) ResumeEngine(engineName string) error {
var result interface{}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so there's no response body?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is not a response, the body is empty.

rai/client.go Outdated Show resolved Hide resolved
@rsulli-rai rsulli-rai force-pushed the RAI-13264-resume-engine branch from 1cddff9 to 8913b0f Compare September 14, 2023 15:45
@rsulli-rai rsulli-rai merged commit dbf4478 into main Sep 14, 2023
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.

3 participants