pulumi/pkg/backend/httpstate/client
Thomas Gummerer 0f8e922c71
allow retries for encrypt/decrypt API calls (#15600)
By default our HTTP client retries all GET requests. However these post
requests are also idempotent, as we just expect to encrypt/decrypt a
single value, without changing anything on the server side. Retry them,
so network errors won't abort the pulumi program.

There's also some log decryption events that might be retryable, but I'm
not sure about them, so I left them alone for now.

Fixes https://github.com/pulumi/pulumi/issues/15236
2024-03-06 08:35:36 +00:00
..
api.go Enable perfsprint linter (#14813) 2023-12-12 12:19:42 +00:00
api_endpoints.go Label the batchDecrypt endpoint (#15569) 2024-03-01 21:21:43 +00:00
api_test.go httpstate/client: Support no retries 2023-06-20 10:08:20 -07:00
client.go allow retries for encrypt/decrypt API calls (#15600) 2024-03-06 08:35:36 +00:00
client_test.go Fix stack name validation check (#15245) 2024-01-27 10:35:20 +00:00
doc.go Document Go packages (#6009) 2021-01-11 11:07:59 -07:00
marshal_post_1.20.go [snapshot] Use a newer diff package 2023-05-16 12:33:30 -07:00
marshal_pre_1.20.go [snapshot] Use a newer diff package 2023-05-16 12:33:30 -07:00