bump containerd, runc and dependencies

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2019-03-19 22:22:00 +01:00
parent 208d69918d
commit e06dedf365
98 changed files with 7808 additions and 1228 deletions
@@ -36,6 +36,7 @@ type (
setLabelsFunc func(context.Context, map[string]string) (map[string]string, error)
extensionsFunc func(context.Context) (map[string]prototypes.Any, error)
updateFunc func(context.Context, ...containerd.UpdateContainerOpts) error
checkpointFunc func(context.Context, string, ...containerd.CheckpointOpts) (containerd.Image, error)
}
fakeImage struct {
nameFunc func() string
@@ -169,6 +170,13 @@ func (c *fakeContainer) Update(ctx context.Context, opts ...containerd.UpdateCon
return nil
}
func (c *fakeContainer) Checkpoint(ctx context.Context, ref string, opts ...containerd.CheckpointOpts) (containerd.Image, error) {
if c.checkpointFunc != nil {
return c.checkpointFunc(ctx, ref, opts...)
}
return nil, nil
}
func (i *fakeImage) Name() string {
if i.nameFunc != nil {
return i.nameFunc()