Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HTTPStatusCodeFromContainerdError ¶
HTTPStatusCodeFromContainerdError returns status code for containerd errors when consumed directly (not through gRPC).
func HTTPStatusCodeFromDistributionError ¶
HTTPStatusCodeFromDistributionError returns status code according to registry errcode. Code is loosely based on errcode.ServeJSON() in docker/distribution.
func HTTPStatusCodeFromGRPCError ¶
HTTPStatusCodeFromGRPCError returns status code according to gRPC error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.