feat: standardise chaos client parameters#33
Merged
Conversation
s1ntaxe770r
added a commit
that referenced
this pull request
Dec 21, 2024
* fix: update client to match provider func signature * fix: use new client singnature
andrew-s
added a commit
that referenced
this pull request
Jan 13, 2025
* fix: update client to match provider func signature * fix: use new client singnature * feat: init secret tests * feat: refactor to use printer utility * feat: add cert and secret helpers * feat: standardise chaos client parameters (#33) * fix: update client to match provider func signature * fix: use new client singnature * fix: use int in json struct field * fix: clean up org only * feat: project delete test * feat: add helpers from terraform pkg * fix: use CreateSecretEnv * fix: use uppercase letters * chore: updated domains for production * test: simplified project update test * build: added go ci linting * build: fixed go linter version --------- Co-authored-by: Andrew Seymour <commit@andrewseymour.co.uk>
s1ntaxe770r
added a commit
that referenced
this pull request
Jan 24, 2025
* fix: update client to match provider func signature * fix: use new client singnature * feat: init secret tests * feat: refactor to use printer utility * feat: add cert and secret helpers * feat: standardise chaos client parameters (#33) * fix: update client to match provider func signature * fix: use new client singnature * fix: use int in json struct field * fix: clean up org only * feat: project delete test * feat: add helpers from terraform pkg * fix: use CreateSecretEnv * fix: use uppercase letters * chore: updated domains for production * test: simplified project update test * build: added go ci linting * build: fixed go linter version --------- Co-authored-by: Andrew Seymour <commit@andrewseymour.co.uk>
andrew-s
added a commit
that referenced
this pull request
Jan 26, 2025
* fix: update client to match provider func signature * fix: use new client singnature * feat: init secret tests * feat: refactor to use printer utility * feat: add cert and secret helpers * feat: standardise chaos client parameters (#33) * fix: update client to match provider func signature * fix: use new client singnature * fix: use int in json struct field * fix: clean up org only * feat: project delete test * feat: add helpers from terraform pkg * fix: use CreateSecretEnv * fix: use uppercase letters * feat: add configurable log level * feat: org commands * chore: formtatting * fix: suppress output * fix: resolved panic and orgs can be deleted by name * feat: find org by name * fix: updated delete flag * fix: update test * fix: render json errors properly * feat: add get org command * fix: broken test * ci: please errcheck * ci: please errcheck * ci: please errcheck * fix: broken test and errcheck * fix: broken test and errcheck * fix: broken test and errcheck * fix: golint * fix: golint * fix: golint * test: fix for secret delete command test --------- Co-authored-by: Andrew Seymour <commit@andrewseymour.co.uk>
andrew-s
pushed a commit
that referenced
this pull request
Jan 30, 2025
* fix: update client to match provider func signature * fix: use new client singnature * feat: init secret tests * feat: refactor to use printer utility * feat: add cert and secret helpers * feat: standardise chaos client parameters (#33) * fix: update client to match provider func signature * fix: use new client singnature * fix: use int in json struct field * fix: clean up org only * feat: project delete test * feat: add helpers from terraform pkg * fix: use CreateSecretEnv * fix: use uppercase letters * feat: add configurable log level * feat: org commands * chore: formtatting * fix: suppress output * fix: resolved panic and orgs can be deleted by name * feat: find org by name * fix: updated delete flag * fix: update test * fix: render json errors properly * feat: add get org command * feat: project pagination * feat: org pagination * feat: secrets pagination * fix: broken test * ci: please errcheck * ci: please errcheck * ci: please errcheck * fix: broken test and errcheck * fix: broken test and errcheck * fix: broken test and errcheck * fix: golint * fix: golint * fix: golint * fix: broken test * ci: please errcheck * ci: please errcheck * ci: please errcheck * fix: broken test and errcheck * fix: broken test and errcheck * fix: broken test and errcheck * fix: golint * fix: golint * feat: project pagination * fix: remove unused var * feat: add get command for secrets and projects
andrew-s
added a commit
that referenced
this pull request
Mar 26, 2025
* fix: update client to match provider func signature * fix: use new client singnature * feat: init secret tests * feat: refactor to use printer utility * feat: add cert and secret helpers * feat: standardise chaos client parameters (#33) * fix: update client to match provider func signature * fix: use new client singnature * fix: use int in json struct field * fix: clean up org only * feat: project delete test * feat: add helpers from terraform pkg * fix: use CreateSecretEnv * fix: use uppercase letters * feat: add configurable log level * feat: org commands * chore: formtatting * feat: func list commands * fix: duplicate func and render provieder table * feat: host commands (#46) * feat: host commands * feat: minor host ls changes, show cert SNI name and expiry on secrets ls * feat: adjusted output for host commands * chore: move host helpers into pkg/helpers * fix: import errors.go * fix: updated examples and command info/notes * fix: switch flag to --------- Co-authored-by: Andrew Seymour <commit@andrewseymour.co.uk> * fix: breakout helpers into separate files * make project and project-id global flag * fix: failing test * feat: inital create function implementation * fix: make org and org-id global flags * feat: added logs to function command * feat: added metrics command to functions * feat: functions create,delete and list * feat: charm and function helpers for functions * fix: batch function create and delete * fix: batch function delete * fix: batch function delete * feat: functions update * feat: functions update * fix: pagination skipping first result and rm warning if there are no results * fix: fix truncated table output * fix: default to production endpoints --------- Co-authored-by: Andrew Seymour <commit@andrewseymour.co.uk>
andrew-s
pushed a commit
that referenced
this pull request
Mar 26, 2025
* fix: update client to match provider func signature * fix: use new client singnature
andrew-s
added a commit
that referenced
this pull request
Mar 26, 2025
* fix: update client to match provider func signature * fix: use new client singnature * feat: init secret tests * feat: refactor to use printer utility * feat: add cert and secret helpers * feat: standardise chaos client parameters (#33) * fix: update client to match provider func signature * fix: use new client singnature * fix: use int in json struct field * fix: clean up org only * feat: project delete test * feat: add helpers from terraform pkg * fix: use CreateSecretEnv * fix: use uppercase letters * chore: updated domains for production * test: simplified project update test * build: added go ci linting * build: fixed go linter version --------- Co-authored-by: Andrew Seymour <commit@andrewseymour.co.uk>
andrew-s
added a commit
that referenced
this pull request
Mar 26, 2025
* fix: update client to match provider func signature * fix: use new client singnature * feat: init secret tests * feat: refactor to use printer utility * feat: add cert and secret helpers * feat: standardise chaos client parameters (#33) * fix: update client to match provider func signature * fix: use new client singnature * fix: use int in json struct field * fix: clean up org only * feat: project delete test * feat: add helpers from terraform pkg * fix: use CreateSecretEnv * fix: use uppercase letters * feat: add configurable log level * feat: org commands * chore: formtatting * fix: suppress output * fix: resolved panic and orgs can be deleted by name * feat: find org by name * fix: updated delete flag * fix: update test * fix: render json errors properly * feat: add get org command * fix: broken test * ci: please errcheck * ci: please errcheck * ci: please errcheck * fix: broken test and errcheck * fix: broken test and errcheck * fix: broken test and errcheck * fix: golint * fix: golint * fix: golint * test: fix for secret delete command test --------- Co-authored-by: Andrew Seymour <commit@andrewseymour.co.uk>
andrew-s
pushed a commit
that referenced
this pull request
Mar 26, 2025
* fix: update client to match provider func signature * fix: use new client singnature * feat: init secret tests * feat: refactor to use printer utility * feat: add cert and secret helpers * feat: standardise chaos client parameters (#33) * fix: update client to match provider func signature * fix: use new client singnature * fix: use int in json struct field * fix: clean up org only * feat: project delete test * feat: add helpers from terraform pkg * fix: use CreateSecretEnv * fix: use uppercase letters * feat: add configurable log level * feat: org commands * chore: formtatting * fix: suppress output * fix: resolved panic and orgs can be deleted by name * feat: find org by name * fix: updated delete flag * fix: update test * fix: render json errors properly * feat: add get org command * feat: project pagination * feat: org pagination * feat: secrets pagination * fix: broken test * ci: please errcheck * ci: please errcheck * ci: please errcheck * fix: broken test and errcheck * fix: broken test and errcheck * fix: broken test and errcheck * fix: golint * fix: golint * fix: golint * fix: broken test * ci: please errcheck * ci: please errcheck * ci: please errcheck * fix: broken test and errcheck * fix: broken test and errcheck * fix: broken test and errcheck * fix: golint * fix: golint * feat: project pagination * fix: remove unused var * feat: add get command for secrets and projects
andrew-s
added a commit
that referenced
this pull request
Mar 26, 2025
* fix: update client to match provider func signature * fix: use new client singnature * feat: init secret tests * feat: refactor to use printer utility * feat: add cert and secret helpers * feat: standardise chaos client parameters (#33) * fix: update client to match provider func signature * fix: use new client singnature * fix: use int in json struct field * fix: clean up org only * feat: project delete test * feat: add helpers from terraform pkg * fix: use CreateSecretEnv * fix: use uppercase letters * feat: add configurable log level * feat: org commands * chore: formtatting * feat: func list commands * fix: duplicate func and render provieder table * feat: host commands (#46) * feat: host commands * feat: minor host ls changes, show cert SNI name and expiry on secrets ls * feat: adjusted output for host commands * chore: move host helpers into pkg/helpers * fix: import errors.go * fix: updated examples and command info/notes * fix: switch flag to --------- Co-authored-by: Andrew Seymour <commit@andrewseymour.co.uk> * fix: breakout helpers into separate files * make project and project-id global flag * fix: failing test * feat: inital create function implementation * fix: make org and org-id global flags * feat: added logs to function command * feat: added metrics command to functions * feat: functions create,delete and list * feat: charm and function helpers for functions * fix: batch function create and delete * fix: batch function delete * fix: batch function delete * feat: functions update * feat: functions update * fix: pagination skipping first result and rm warning if there are no results * fix: fix truncated table output * fix: default to production endpoints --------- Co-authored-by: Andrew Seymour <commit@andrewseymour.co.uk>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
To reduce the chances that something breaks while we transition to using the cli within the provider. This pr updates the parameters that the new function expects to match the terraform provider