Skip to content
This repository was archived by the owner on Nov 20, 2023. It is now read-only.

Operator api #85

Merged
merged 32 commits into from
Feb 7, 2022
Merged

Operator api #85

merged 32 commits into from
Feb 7, 2022

Conversation

Neutrollized
Copy link
Contributor

Hi @DerekStrickland ,

I've been struggling with the Operator API a bit and will need you help in completing this.

In generator/operator.go, the following are not implemented:

  • licenses
  • snapshots (get & restore), I'm just not sure how to handle the streaming output :|

In v1/operator_tests.go, I have tests written for everything else, but also have a bunch commented out due to errors that I'm unsure of how to handle.

Neutrollized and others added 17 commits October 21, 2021 10:24
* updated generator/status.go

* updated generator/status.go

* added v1/status.go and v1/status_test.go, tests passing

* Add support for required TLS and ACL envars. (hashicorp#75)

* Add support for required TLS and ACL envars.

* Add macOS compiler flags to make building happy on BigSur.

* Update Nomad version.

* Fix ruby config and regenerate client (hashicorp#80)

* updated generator/status.go

* updated generator/status.go

* added v1/status.go and v1/status_test.go, tests passing

Co-authored-by: Derek Strickland <[email protected]>
@Neutrollized
Copy link
Contributor Author

@DerekStrickland I've pushed the latest commits with the 2 new working tests. You should already be a collaborator for my fork.

@DerekStrickland
Copy link
Contributor

@Neutrollized Fantasic! I'll take a gander.

@Neutrollized Neutrollized marked this pull request as ready for review February 1, 2022 21:14
Copy link
Contributor

@DerekStrickland DerekStrickland left a comment

Choose a reason for hiding this comment

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

Almost there! Just a couple of questions about parameters passing to functions.

@Neutrollized
Copy link
Contributor Author

Ok, I think we're g2g now, @DerekStrickland !

Copy link
Contributor

@DerekStrickland DerekStrickland left a comment

Choose a reason for hiding this comment

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

Almost there! This is amazing!

Copy link
Contributor

@DerekStrickland DerekStrickland left a comment

Choose a reason for hiding this comment

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

So grateful!

@DerekStrickland DerekStrickland merged commit 73a3f0e into hashicorp:main Feb 7, 2022
@DerekStrickland DerekStrickland deleted the operator-api branch February 7, 2022 15:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants