Documentation ¶
Index ¶
- func AddBlob(ctx context.Context, peer p2plab.Peer, r io.Reader, opts ...p2plab.AddOption) (digest.Digest, error)
- func BuildManifestHandler(f images.HandlerFunc, peer p2plab.Peer, provider content.Provider, ...) images.HandlerFunc
- func ConstructDAGFromManifest(ctx context.Context, p p2plab.Peer, image ocispec.Descriptor, ...) (ipld.Node, error)
- func Convert(ctx context.Context, peer p2plab.Peer, fetcher remotes.Fetcher, ...) (target ocispec.Descriptor, err error)
- func ConvertHandler(conversions map[digest.Digest]ocispec.Descriptor, peer p2plab.Peer, ...) images.HandlerFunc
- func DispatchConvertHandler(f images.HandlerFunc, peer p2plab.Peer, fetcher remotes.Fetcher, ...) images.HandlerFunc
- func New(root string, client *http.Client) (p2plab.Transformer, error)
- func NewProvider(peer p2plab.Peer) content.Provider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildManifestHandler ¶
func BuildManifestHandler(f images.HandlerFunc, peer p2plab.Peer, provider content.Provider, callback func(ocispec.Descriptor), opts ...p2plab.AddOption) images.HandlerFunc
func ConvertHandler ¶
func DispatchConvertHandler ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.