Documentation
¶
Overview ¶
Package imageio adapts containers-image transports for the diffah service layer. It hides the upstream API surface so service code can stay focused on the diff and reconstruction algorithms.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultPolicyContext ¶
func DefaultPolicyContext() (*signature.PolicyContext, error)
DefaultPolicyContext returns a signature-policy context that accepts any image signature. v1 of diffah does not verify signatures; the caller is responsible for releasing the context via Destroy.
func ParseReference ¶
func ParseReference(ref string) (types.ImageReference, error)
ParseReference parses a "transport:reference" string and returns the corresponding types.ImageReference. The error wraps the input value so callers can surface what was rejected.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.