MCPcopy Index your code
hub / github.com/containerd/containerd / WithUnpackOpts

Function WithUnpackOpts

client/client_opts.go:170–175  ·  view source on GitHub ↗

WithUnpackOpts is used to add unpack options to the unpacker.

(opts []UnpackOpt)

Source from the content-addressed store, hash-verified

168
169// WithUnpackOpts is used to add unpack options to the unpacker.
170func WithUnpackOpts(opts []UnpackOpt) RemoteOpt {
171 return func(_ *Client, c *RemoteContext) error {
172 c.UnpackOpts = append(c.UnpackOpts, opts...)
173 return nil
174 }
175}
176
177// WithPullSnapshotter specifies snapshotter name used for unpacking.
178func WithPullSnapshotter(snapshotterName string, opts ...snapshots.Opt) RemoteOpt {

Callers 3

TestIssue13030Function · 0.85

Calls

no outgoing calls

Tested by 3

TestIssue13030Function · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…