Versions in this module Expand all Collapse all v3 v3.4.10 Aug 29, 2022 v3.4.8 Aug 29, 2022 Changes in this version + var ErrLinkNotSupport = errors.New("Link is not supported") + var ErrVersionNotGiven = errors.New("version not given in URL path") + var ErrVersionNotSupported = errors.New("given version is not supported") + func BadRequest(w http.ResponseWriter, key string, value string, err error) + func ContainerNotFound(w http.ResponseWriter, name string, err error) + func ContainerNotRunning(w http.ResponseWriter, containerID string, err error) + func Error(w http.ResponseWriter, apiMessage string, code int, err error) + func FilterMapToString(filters map[string][]string) (string, error) + func GetImage(r *http.Request, name string) (*libimage.Image, error) + func GetImages(w http.ResponseWriter, r *http.Request) ([]*libimage.Image, error) + func GetName(r *http.Request) string + func ImageNotFound(w http.ResponseWriter, name string, err error) + func InternalServerError(w http.ResponseWriter, err error) + func IsLibpodRequest(r *http.Request) bool + func IsRegistryReference(name string) error + func MarshalErrorJSON(ptr unsafe.Pointer, stream *jsoniter.Stream) + func MarshalErrorJSONIsEmpty(_ unsafe.Pointer) bool + func MarshalErrorSliceJSON(ptr unsafe.Pointer, stream *jsoniter.Stream) + func MarshalErrorSliceJSONIsEmpty(_ unsafe.Pointer) bool + func NetworkNotFound(w http.ResponseWriter, name string, err error) + func ParseStorageReference(name string) (types.ImageReference, error) + func PodNotFound(w http.ResponseWriter, name string, err error) + func SecretNotFound(w http.ResponseWriter, nameOrID string, err error) + func SessionNotFound(w http.ResponseWriter, name string, err error) + func SupportedVersion(r *http.Request, condition string) (semver.Version, error) + func SupportedVersionWithDefaults(r *http.Request) (semver.Version, error) + func UnSupportedParameter(param string) + func VolumeNotFound(w http.ResponseWriter, name string, err error) + func WaitContainerDocker(w http.ResponseWriter, r *http.Request) + func WaitContainerLibpod(w http.ResponseWriter, r *http.Request) + func WriteJSON(w http.ResponseWriter, code int, value interface{}) + func WriteResponse(w http.ResponseWriter, code int, value interface{})