Module ocipkg::distribution

source ·
Expand description

Pull and Push images to OCI registry based on OCI distribution specification

Structs§

  • WWW-Authentication challenge
  • A client for /v2/<name>/ API endpoint
  • Namespace of the repository
  • Reference of container image stored in the repository
  • Authentication info stored in filesystem

Enums§

  • Media types used by OCI image format spec. Values MUST comply with RFC 6838, including the naming requirements in its section 4.2.

Functions§

  • Get image from registry and save it into local storage
  • Push image to registry