Skip to content

Instantly share code, notes, and snippets.

@shykes
Last active December 27, 2015 03:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shykes/7258130 to your computer and use it in GitHub Desktop.
Save shykes/7258130 to your computer and use it in GitHub Desktop.
interface GraphBackend {
Init(home string) error
Nuke() error
Create(img *Image, layer Archive) error
Delete(img *Image) error
Mount (img *Image, dest string) error
UnmountAll (img *Image) error
DiffList(*Image, dest string) ([]Change, error)
DiffLayer(*Image, dest string) (Archive, error)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment