42dx / edgio-go-sdk

Go SDK implementing Edgio's REST API
http://github.42dx.dev/edgio-go-sdk/
MIT License
8 stars 1 forks source link

Added FilterList method on entity's clients #43

Closed rafapaulin closed 5 months ago

rafapaulin commented 5 months ago

Proposed Changes

Added a generic FilterList function that is wrapped by each each one of entity's clients, considering the particularities of each one.

Contribution type

Related Issue(s)

Motivation, Context and Extra Info

Adding this FilterList method allow the user to find the desired entity w/o knowing is ID, which sometimes may be very inconvenient. This is a workaround until Edgio implements their own filtering functionality on their REST API.

Checks

General

Code Standards

Documentation and reliability

Testing

How to verify the changes

Running the main.go file should list properties, Envs and Variables, with some filtering.

Screenshots (if appropriate)

N/A

sonarcloud[bot] commented 5 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

42dx-bot[bot] commented 5 months ago

:tada: This PR is included in version 1.0.0-beta.4 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: