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

Feature: Idiomatic lib #421

Merged
merged 78 commits into from
Nov 18, 2023
Merged

Feature: Idiomatic lib #421

merged 78 commits into from
Nov 18, 2023

Commits on Nov 7, 2023

  1. Update golangci-lint config

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    7e097e3 View commit details
    Browse the repository at this point in the history
  2. opensearch: Add type Request

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    fcfebeb View commit details
    Browse the repository at this point in the history
  3. opensearch: Add type Response

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    a0c6675 View commit details
    Browse the repository at this point in the history
  4. opensearch: Remove test for ElasticearchURL env

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    bf2d0a2 View commit details
    Browse the repository at this point in the history
  5. opensearch: add Do() func to client, remove elastic url env, remove A…

    …PI type from client
    
    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    4b157fa View commit details
    Browse the repository at this point in the history
  6. opensearch.go: remove init func, add err vars, solve linting complains

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    538a712 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2023

  1. go: Update to 1.20

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    d2bc6ec View commit details
    Browse the repository at this point in the history
  2. opensearch: Add BuildRequest function

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    ed84c1e View commit details
    Browse the repository at this point in the history
  3. opensearchapi: Remove all old api files

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    161c805 View commit details
    Browse the repository at this point in the history
  4. opensearchapi: Add api,error and inspect file

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    92cafac View commit details
    Browse the repository at this point in the history
  5. opensearchapi: Add internal package

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    1d469d6 View commit details
    Browse the repository at this point in the history
  6. opensearchapi: add catClient

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    b60390b View commit details
    Browse the repository at this point in the history
  7. opensearchapi: Add Bulk

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    45eb315 View commit details
    Browse the repository at this point in the history
  8. opensearchapi: Add Info

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    339178e View commit details
    Browse the repository at this point in the history
  9. opensearchapi: Add Index

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    89a4b86 View commit details
    Browse the repository at this point in the history
  10. opensearchapi: Add Search

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    1cd5af7 View commit details
    Browse the repository at this point in the history
  11. opensearchapi: Add indices create,delete,exists

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    9ce341d View commit details
    Browse the repository at this point in the history
  12. opensearchapi: Add missing indices endpoints

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    c752b28 View commit details
    Browse the repository at this point in the history
  13. opensearchapi: add nodes client

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    2fbfbc2 View commit details
    Browse the repository at this point in the history
  14. opensearchutil: Adjust bulk_indexer to new opensearchapi functions

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    72d2198 View commit details
    Browse the repository at this point in the history
  15. tests: Adjust to new openearchapi client and functions

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    c956859 View commit details
    Browse the repository at this point in the history
  16. DEVELOPDER_GUID: Update links and go version

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    cc6d9bb View commit details
    Browse the repository at this point in the history
  17. internal: Remove build

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    a4bc434 View commit details
    Browse the repository at this point in the history
  18. opensearchutil: Solve linting complains

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    d631ed8 View commit details
    Browse the repository at this point in the history
  19. internal: Solve linting complains

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    df78fae View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2023

  1. opensearch: Solve linting complains

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    7d3784b View commit details
    Browse the repository at this point in the history
  2. Update USER_GUIDE

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    9702cf9 View commit details
    Browse the repository at this point in the history
  3. signer: Add missing comment to SignRequest func

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    e39d30a View commit details
    Browse the repository at this point in the history
  4. opensearchapi: Add cluster client

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    07f4888 View commit details
    Browse the repository at this point in the history
  5. opensearchapi: init sub clients of indices

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    7e4a3d4 View commit details
    Browse the repository at this point in the history
  6. opensearchapi: add dangling client and functions

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    87e1217 View commit details
    Browse the repository at this point in the history
  7. opensearchapi: add script client and functions

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    20290d9 View commit details
    Browse the repository at this point in the history
  8. opensearchapi: add dangling and skipt client to root client

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    a7d311e View commit details
    Browse the repository at this point in the history
  9. opensearchapi: add document client

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    9d34331 View commit details
    Browse the repository at this point in the history
  10. opensearchapi: add documentClient to rootClient

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    c02d164 View commit details
    Browse the repository at this point in the history
  11. opensearchapi: add component template client

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    a30d160 View commit details
    Browse the repository at this point in the history
  12. opensearchapi: add index template client

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    a2e9320 View commit details
    Browse the repository at this point in the history
  13. opensearchapi: add datastream client

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    5706aee View commit details
    Browse the repository at this point in the history
  14. opensearchapi: add indexTemplate,componentTemplate,dataStream clinets…

    … to root client
    
    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    328517e View commit details
    Browse the repository at this point in the history
  15. opensearchapi: add template client

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    56eb3ff View commit details
    Browse the repository at this point in the history
  16. opensearchapi: add template client to root client

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    455cdb9 View commit details
    Browse the repository at this point in the history
  17. opensearchapi: add aliases to root client

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    ca04199 View commit details
    Browse the repository at this point in the history
  18. opensearchapi: add ping function to root client

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    28585d4 View commit details
    Browse the repository at this point in the history
  19. opensearchapi: add pointInTimeClient

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    9d1f5b6 View commit details
    Browse the repository at this point in the history
  20. opensearchapi: add pointInTimeClient to rootClient

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    9cd2f1a View commit details
    Browse the repository at this point in the history
  21. opensearchapi: add ingestClient

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    f08fb7b View commit details
    Browse the repository at this point in the history
  22. opensearchapi: add ingestClient to rootClient

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    4674dba View commit details
    Browse the repository at this point in the history
  23. opensearchapi: Add reindex funtion to rootClient

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    0649f18 View commit details
    Browse the repository at this point in the history
  24. opensearchapi: Add tasksClient

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    d305d08 View commit details
    Browse the repository at this point in the history
  25. opensearchapi: add tasksClient to rootClient

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    a368370 View commit details
    Browse the repository at this point in the history
  26. opensearchapi: add mget function to rootClient

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    f57f7a9 View commit details
    Browse the repository at this point in the history
  27. opensearchapi: add msearch function to rootClient

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    1b3375a View commit details
    Browse the repository at this point in the history
  28. opensearchapi: add msearch template function to rootClient

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    7788dbe View commit details
    Browse the repository at this point in the history
  29. opensearchapi: add mtermvercors function to rootClient

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    13cccff View commit details
    Browse the repository at this point in the history
  30. opensearchapi: add rank_eval function to rootClient

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    fa48793 View commit details
    Browse the repository at this point in the history
  31. opensearchapi: add reindex rethrottle function to rootClient

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    6a1c9b7 View commit details
    Browse the repository at this point in the history
  32. opensearchapi: add render search template function to rootClient

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    a6c12b6 View commit details
    Browse the repository at this point in the history
  33. opensearchapi: add scrollClient

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    5030aaf View commit details
    Browse the repository at this point in the history
  34. opensearchapi: add scrollClient to rootClient

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    4c37d6c View commit details
    Browse the repository at this point in the history
  35. opensearchapi: add ResponseShards struct

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    7c0c08e View commit details
    Browse the repository at this point in the history
  36. Makefile: Update golangci-lint version

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    ba53970 View commit details
    Browse the repository at this point in the history
  37. opensearchtransport: solve linting complains

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    2f4e556 View commit details
    Browse the repository at this point in the history
  38. signer: solve linting complains

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    09dbccd View commit details
    Browse the repository at this point in the history
  39. opensearchapi: add _search_shards function to rootClient

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    72a3165 View commit details
    Browse the repository at this point in the history
  40. opensearchapi: add search/template function to rootClient

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    471eb90 View commit details
    Browse the repository at this point in the history
  41. opensearchapi: add snapshotClient

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    e9fa4a1 View commit details
    Browse the repository at this point in the history
  42. opensearchapi: add snapshotClient to rootClient

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    c2f0a90 View commit details
    Browse the repository at this point in the history
  43. opensearchapi: add termvactor function to rootClient

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    0a10255 View commit details
    Browse the repository at this point in the history
  44. opensearchapi: add update function to rootClient

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    5234fb2 View commit details
    Browse the repository at this point in the history
  45. opensearchapi: add update_by_query function to rootClient

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    34a8b1f View commit details
    Browse the repository at this point in the history
  46. opensearchapi: add UpdateByQueryRethrottle function to rootClient

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    7ab0c61 View commit details
    Browse the repository at this point in the history
  47. guids: updated to new opensearchapi functions

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    0ca5bd0 View commit details
    Browse the repository at this point in the history
  48. changelog: add changes

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    b60573d View commit details
    Browse the repository at this point in the history
  49. workflows: Skip json compare for integ test against unreleased opense…

    …arch
    
    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    8605077 View commit details
    Browse the repository at this point in the history
  50. opensearchapi: update license header

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    f5c9743 View commit details
    Browse the repository at this point in the history
  51. github: update license header txt

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    a2343e1 View commit details
    Browse the repository at this point in the history
  52. github: remove govulncheck workflow

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    0993615 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2023

  1. UPGRADING: add differences of 3.0.0 release

    Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
    Jakob3xD committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    cc1095a View commit details
    Browse the repository at this point in the history