Skip to content

feat: standardise chaos client parameters#33

Merged
andrew-s merged 2 commits into
developfrom
feat/client/pkg
Dec 19, 2024
Merged

feat: standardise chaos client parameters#33
andrew-s merged 2 commits into
developfrom
feat/client/pkg

Conversation

@s1ntaxe770r

Copy link
Copy Markdown
Contributor

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

@s1ntaxe770r s1ntaxe770r requested a review from a team as a code owner December 15, 2024 18:37
@andrew-s andrew-s changed the title Update Qernal client function singature feat: standardise chaos client parameters Dec 19, 2024
@andrew-s andrew-s merged commit 2d3278a into develop Dec 19, 2024
@andrew-s andrew-s deleted the feat/client/pkg branch December 19, 2024 16:16
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>
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.

2 participants