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/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e038402e-25c1-37c9-b6b4-132819343660 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A0F4:FF7AB:3B79B4:509825:6973543D |
| html-safe-nonce | ed90616bae6685c9f358bd2027c364c5e8db1e6cb1456144d383a26f21386587 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMEY0OkZGN0FCOjNCNzlCNDo1MDk4MjU6Njk3MzU0M0QiLCJ2aXNpdG9yX2lkIjoiMTk2Mjc5NTU5Nzg2NTExMjYzNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1695ecd23a6cd68d5f9795263f2ee888ab49dcf960426116c1e6a7bb3bc1023f |
| hovercard-subject-tag | pull_request:2376097105 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/files |
| 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 | 9c6b49fea3d431063963fbeee3309a15cb4096903286e532f663096b47b63bc6 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 814e1d7d82db0f7eb6982bfa0395502441bb14ad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width