Title: Add setters for security options and runtimes by LarsSven · Pull Request #2384 · docker-java/docker-java · GitHub
Open Graph Title: Add setters for security options and runtimes by LarsSven · Pull Request #2384 · docker-java/docker-java
X Title: Add setters for security options and runtimes by LarsSven · Pull Request #2384 · docker-java/docker-java
Description: We wanted to mock the info API endpoint for one of our tests, but we couldn't because we need to mock the runtimes field, which didn't have a setter. There are two fields within this object that don't have a setter. This PR adds setters for the two fields, and moves the code from #2360 around such that it is now consistent across the file (every getter is directly followed by its setter).
Open Graph Description: We wanted to mock the info API endpoint for one of our tests, but we couldn't because we need to mock the runtimes field, which didn't have a setter. There are two fields within this object...
X Description: We wanted to mock the info API endpoint for one of our tests, but we couldn't because we need to mock the runtimes field, which didn't have a setter. There are two fields within thi...
Opengraph URL: https://github.com/docker-java/docker-java/pull/2384
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:d3fcd6e1-27c1-3f09-4f56-695e513dcabc |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | A17E:25FEC4:3E4035:545924:69735441 |
| html-safe-nonce | 394fea21be950b084595e4ef389e91be6d999f550bc22a28261c62eb8ec66eaf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTdFOjI1RkVDNDozRTQwMzU6NTQ1OTI0OjY5NzM1NDQxIiwidmlzaXRvcl9pZCI6Ijc3NTIwNjQwNzU3ODg2NzAwMTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2657e5ba5869ba6d066b156d91d56e94e3614ee600de27f12a788bde05e269ad |
| hovercard-subject-tag | pull_request:2376097105 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/docker-java/docker-java/pull/2384/checks |
| twitter:image | https://avatars.githubusercontent.com/u/60571459?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/60571459?s=400&v=4 |
| og:image:alt | We wanted to mock the info API endpoint for one of our tests, but we couldn't because we need to mock the runtimes field, which didn't have a setter. There are two fields within this object... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4cf879a11b0a28a85543899a36aaee9ec9ca2fb7bedad86c0da5731193c95f01 |
| turbo-cache-control | no-cache |
| go-import | github.com/docker-java/docker-java git https://github.com/docker-java/docker-java.git |
| octolytics-dimension-user_id | 7772003 |
| octolytics-dimension-user_login | docker-java |
| octolytics-dimension-repository_id | 20415251 |
| octolytics-dimension-repository_nwo | docker-java/docker-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20415251 |
| octolytics-dimension-repository_network_root_nwo | docker-java/docker-java |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 63c75712c8aa15b01c097cbf3f10ca694d449599 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width