Documentation
¶
Overview ¶
Package errmatch provides error matchers for container registry responses. These are used for flow control in mirror operations (e.g., skipping optional images).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAccessDenied ¶ added in v0.33.10
IsAccessDenied returns true if the registry refused the request for lack of rights: HTTP 401/403 or the UNAUTHORIZED/DENIED error codes. Token-auth registries answer this way for any path outside the identity's scope, whether or not the repository exists.
func IsImageNotFound ¶
IsImageNotFound returns true if the error indicates that the requested image tag or manifest does not exist in the registry.
func IsRepoNotFound ¶
IsRepoNotFound returns true if the error indicates that the requested repository does not exist in the registry.
Types ¶
This section is empty.