Regc.Tag (regc v0.0.2)

View Source

Repository tag operations.

Summary

Functions

Deletes one tag without deleting other tags that reference the same manifest. Regc first tries direct tag deletion and can use the compatibility replacement-manifest fallback when the registry does not support it.

Functions

delete(client, reference, opts \\ [])

@spec delete(Regc.Client.t(), String.t() | Regc.Oci.Reference.t(), keyword()) ::
  :ok | {:error, Regc.Error.t()}

Deletes one tag without deleting other tags that reference the same manifest. Regc first tries direct tag deletion and can use the compatibility replacement-manifest fallback when the registry does not support it.

list(client, repository, opts \\ [])

@spec list(Regc.Client.t(), String.t() | Regc.Oci.Reference.t(), keyword()) ::
  {:ok, [String.t()] | Regc.Page.t()} | {:error, Regc.Error.t()}