-
Notifications
You must be signed in to change notification settings - Fork 15
Onboard first set of Load Balancer functionality #260
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
Conversation
* initial setup for the load balancer * generate docs * add load-balancer to set and unset config commands
…to feature/onboard-load-balancer
* onboard load-balancer generate-payload command * add go mod * generate docs * remove version from the default payload which will be used for create commands * Update description Co-authored-by: Vicente Pinto <[email protected]> * Update description Co-authored-by: Vicente Pinto <[email protected]> * split create and update payloads * move default create payload to a const * delete unused utils files * update docs * remove redundant var declaration --------- Co-authored-by: Vicente Pinto <[email protected]>
* initial setup for the load balancer * generate docs * Describe, list, quota * Remove duplicate * Uniformize descriptipnm * Add tables for listeners and target pools * Improve column name --------- Co-authored-by: Gökçe Gök Klingel <[email protected]>
* fix(deps): update module github.com/jedib0t/go-pretty/v6 to v6.5.8 (#257) Co-authored-by: Renovate Bot <[email protected]> * Postgresflex backup command improvements (#259) * change title to created at * add note about current backup schedule in long description * add backup schedule to the instance describe output * Update internal/cmd/postgresflex/backup/update-schedule/update_schedule.go Co-authored-by: João Palet <[email protected]> * update docs --------- Co-authored-by: João Palet <[email protected]> * Add config key * Fix nil pointer exception --------- Co-authored-by: stackit-pipeline <[email protected]> Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: GokceGK <[email protected]> Co-authored-by: João Palet <[email protected]>
* Fixes to lb list and describe * Add separator * Remove columns * Remove separators * remove separator
Do we still need this PR? We could merge all changes to main at once when all the stories are accepted, right? |
Yes but we always need to open a PR, so it's the same as having it open from the start no? |
Ah ok, I was just checking if you were planning to merge this PR with some of the changes |
* fix(deps): update module github.com/jedib0t/go-pretty/v6 to v6.5.8 (#257) Co-authored-by: Renovate Bot <[email protected]> * Postgresflex backup command improvements (#259) * change title to created at * add note about current backup schedule in long description * add backup schedule to the instance describe output * Update internal/cmd/postgresflex/backup/update-schedule/update_schedule.go Co-authored-by: João Palet <[email protected]> * update docs --------- Co-authored-by: João Palet <[email protected]> * Update changelog generation implementation (#263) * change recovery date format (#266) * update description and generate docs (#267) * Add debug logs to the CLI (#258) * Initial debug implementation * improve implementation * remove unused code * add documentation * address PR comments * fix linting * sort map keys before building debug string * Add testing to debug string builders * address PR comments * improve debug string construction * Debug the input model on all commands * add input model debugging to contribution guidelines --------- Co-authored-by: stackit-pipeline <[email protected]> Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: GokceGK <[email protected]> Co-authored-by: Diogo Ferrão <[email protected]>
* fix(deps): update module github.com/jedib0t/go-pretty/v6 to v6.5.8 (#257) Co-authored-by: Renovate Bot <[email protected]> * Postgresflex backup command improvements (#259) * change title to created at * add note about current backup schedule in long description * add backup schedule to the instance describe output * Update internal/cmd/postgresflex/backup/update-schedule/update_schedule.go Co-authored-by: João Palet <[email protected]> * update docs --------- Co-authored-by: João Palet <[email protected]> * Update changelog generation implementation (#263) * change recovery date format (#266) * Delete loadbalancer command * Update internal/cmd/load-balancer/delete/delete.go Co-authored-by: Diogo Ferrão <[email protected]> * Update internal/cmd/load-balancer/delete/delete_test.go Co-authored-by: Diogo Ferrão <[email protected]> * Changes after review --------- Co-authored-by: stackit-pipeline <[email protected]> Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: GokceGK <[email protected]> Co-authored-by: João Palet <[email protected]> Co-authored-by: Diogo Ferrão <[email protected]>
* onboard-create-command * remove fields that are not needed for create * remove fields that are not needed for create from default payload * remove privateAddress from update payload (read only field) * update generate payload to remove read-only fields from updatePayload * onboard update load balancer command * update description of update command * Update internal/cmd/load-balancer/create/create.go Co-authored-by: João Palet <[email protected]> * Update internal/cmd/load-balancer/create/create.go Co-authored-by: João Palet <[email protected]> * add GetProjectName * change instance name to load balancer name * set listener name to nil * abstract set listener name to nil in a function // add unit test * add debug logs to the create command * add debug logs to the generate payload command * add debug logs to the update command * Update test func name Co-authored-by: João Palet <[email protected]> * add additional listener to the unit test --------- Co-authored-by: João Palet <[email protected]>
* Lb observability-credentials add command * Describe and update commands * Improve update command * List command * Generate docs * Add debug logs, uniformize descriptions * Fix unit tests * Update internal/cmd/load-balancer/observability-credentials/observability-credentials.go Co-authored-by: GokceGK <[email protected]> * Update internal/cmd/load-balancer/observability-credentials/delete/delete_test.go Co-authored-by: GokceGK <[email protected]> --------- Co-authored-by: GokceGK <[email protected]>
* Fix command example * Add n shorthand to target-name flag
* initial describe command implementation * generate docs, fix linting * remove unused vars * rename flag * generate docs * rename vars * address PR comments * make JSON output match table
Merge latest updates from main
Make pretty the default output for LB describe commands
Add middleware to LB client if verbosity is debug
Fix flag in example
Adjustments to LB commands after feedback from team
…xamples Improve examples of LB observability credentials commands
No description provided.