debian-forge-composer/internal/target
Michael Vogt 573b349f16 clienterrors: rename WorkerClientError to clienterrors.New
The usual convention to create new object is to prefix `New*` so
this commit renames the `WorkerClientError`. Initially I thought
it would be `NewWorkerClientError()` but looking at the package
prefix it seems unneeded, i.e. `clienterrors.New()` already
provides enough context it seems and it's the only error we
construct.

We could consider renaming it to `clienterror` (singular) too
but that could be a followup.

I would also like to make `clienterror.Error` implement the
`error` interface but that should be a followup to make this
(mechanical) rename trivial to review.
2024-07-31 17:04:58 +02:00
..
aws_target.go Target: expose osbuild artifact information in target result 2023-09-27 12:39:28 +02:00
azure_image_target.go Target: expose osbuild artifact information in target result 2023-09-27 12:39:28 +02:00
azure_target.go Target: expose osbuild artifact information in target result 2023-09-27 12:39:28 +02:00
container_target.go Target: expose osbuild artifact information in target result 2023-09-27 12:39:28 +02:00
gcp_target.go Target: expose osbuild artifact information in target result 2023-09-27 12:39:28 +02:00
koji_target.go Worker/osbuild: include Manifest info in Koji target result 2023-09-27 12:39:28 +02:00
koji_target_test.go Target/Koji: rework result options to contain more than just image info 2023-09-27 12:39:28 +02:00
local_target.go target: deprecate local target and don't use it anywhere 2022-07-01 18:55:01 +01:00
oci_target.go Target: expose osbuild artifact information in target result 2023-09-27 12:39:28 +02:00
pulp_target.go target: add pulp ostree target and options 2023-10-18 21:14:46 +02:00
target.go target: add the pulp.ostree target to the marshal functions 2023-10-18 21:14:46 +02:00
target_test.go worker: move osbuild exports from OSBuildJob to target 2022-07-01 18:55:01 +01:00
targetresult.go target: add the pulp.ostree target to the marshal functions 2023-10-18 21:14:46 +02:00
targetresult_test.go clienterrors: rename WorkerClientError to clienterrors.New 2024-07-31 17:04:58 +02:00
vmware_target.go Target: expose osbuild artifact information in target result 2023-09-27 12:39:28 +02:00
worker_server_target.go Target: expose osbuild artifact information in target result 2023-09-27 12:39:28 +02:00