Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUnexpectedStatusErr ¶
NewUnexpectedStatusErr creates an ErrUnexpectedStatus from HTTP response
Types ¶
type ErrUnexpectedStatus ¶
type ErrUnexpectedStatus struct { Status string StatusCode int Body []byte RequestURL, RequestMethod string }
ErrUnexpectedStatus is returned if a registry API request returned with unexpected HTTP status
func (ErrUnexpectedStatus) Error ¶
func (e ErrUnexpectedStatus) Error() string
Click to show internal directories.
Click to hide internal directories.