Documentation ¶
Index ¶
- func GetCID(desc ocispec.Descriptor) (string, error)
- func NewResolver(options ResolverOptions) (remotes.Resolver, error)
- func Push(ctx context.Context, client *containerd.Client, ref string, ...) (cidV1 string, _ error)
- func PushWithIPFSPath(ctx context.Context, client *containerd.Client, ref string, ...) (cidV1 string, _ error)
- type ResolverOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewResolver ¶
func NewResolver(options ResolverOptions) (remotes.Resolver, error)
func Push ¶
func Push(ctx context.Context, client *containerd.Client, ref string, layerConvert converter.ConvertFunc, platformMC platforms.MatchComparer) (cidV1 string, _ error)
Push pushes the provided image ref to IPFS with converting it to IPFS-enabled format.
func PushWithIPFSPath ¶ added in v0.14.0
func PushWithIPFSPath(ctx context.Context, client *containerd.Client, ref string, layerConvert converter.ConvertFunc, platformMC platforms.MatchComparer, ipfsPath *string) (cidV1 string, _ error)
Types ¶
type ResolverOptions ¶
Click to show internal directories.
Click to hide internal directories.