From be36d26eb14008dac79994c21a204dc61585c452 Mon Sep 17 00:00:00 2001 From: Derek McGowan Date: Wed, 2 Aug 2017 16:32:52 -0700 Subject: [PATCH] Update windows snapshotter Signed-off-by: Derek McGowan --- snapshot/windows/windows.go | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/snapshot/windows/windows.go b/snapshot/windows/windows.go index 0225ab3d3..d677254fb 100644 --- a/snapshot/windows/windows.go +++ b/snapshot/windows/windows.go @@ -44,15 +44,19 @@ func (o *Snapshotter) Stat(ctx context.Context, key string) (snapshot.Info, erro panic("not implemented") } +func (o *Snapshotter) Update(ctx context.Context, info snapshot.Info, fieldpaths ...string) (snapshot.Info, error) { + panic("not implemented") +} + func (o *Snapshotter) Usage(ctx context.Context, key string) (snapshot.Usage, error) { panic("not implemented") } -func (o *Snapshotter) Prepare(ctx context.Context, key, parent string) ([]mount.Mount, error) { +func (o *Snapshotter) Prepare(ctx context.Context, key, parent string, opts ...snapshot.Opt) ([]mount.Mount, error) { panic("not implemented") } -func (o *Snapshotter) View(ctx context.Context, key, parent string) ([]mount.Mount, error) { +func (o *Snapshotter) View(ctx context.Context, key, parent string, opts ...snapshot.Opt) ([]mount.Mount, error) { panic("not implemented") } @@ -64,7 +68,7 @@ func (o *Snapshotter) Mounts(ctx context.Context, key string) ([]mount.Mount, er panic("not implemented") } -func (o *Snapshotter) Commit(ctx context.Context, name, key string) error { +func (o *Snapshotter) Commit(ctx context.Context, name, key string, opts ...snapshot.Opt) error { panic("not implemented") }