Documentation ¶
Index ¶
- type CreatedGraph
- type FakeGraphDriver
- func (graph *FakeGraphDriver) ApplyDiff(id, parent string, diff archive.ArchiveReader) (bytes int64, err error)
- func (graph *FakeGraphDriver) Changes(id, parent string) ([]archive.Change, error)
- func (graph *FakeGraphDriver) CleanedUp() bool
- func (graph *FakeGraphDriver) Cleanup() error
- func (graph *FakeGraphDriver) Create(id string, parent string) error
- func (graph *FakeGraphDriver) Created() []CreatedGraph
- func (graph *FakeGraphDriver) Diff(id, parent string) (archive.Archive, error)
- func (graph *FakeGraphDriver) DiffSize(id, parent string) (bytes int64, err error)
- func (graph *FakeGraphDriver) Exists(id string) bool
- func (graph *FakeGraphDriver) Get(id string, mountLabel string) (string, error)
- func (graph *FakeGraphDriver) Put(id string)
- func (graph *FakeGraphDriver) Putted() []string
- func (graph *FakeGraphDriver) Remove(id string) error
- func (graph *FakeGraphDriver) Removed() []string
- func (graph *FakeGraphDriver) SetExists(id string, exists bool)
- func (graph *FakeGraphDriver) SetStatus(status [][2]string)
- func (graph *FakeGraphDriver) Status() [][2]string
- func (graph *FakeGraphDriver) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreatedGraph ¶
type FakeGraphDriver ¶
type FakeGraphDriver struct { CreateError error RemoveError error GetResult string GetError error CleanupError error sync.RWMutex // contains filtered or unexported fields }
func New ¶
func New() *FakeGraphDriver
func (*FakeGraphDriver) ApplyDiff ¶
func (graph *FakeGraphDriver) ApplyDiff(id, parent string, diff archive.ArchiveReader) (bytes int64, err error)
func (*FakeGraphDriver) Changes ¶
func (graph *FakeGraphDriver) Changes(id, parent string) ([]archive.Change, error)
func (*FakeGraphDriver) CleanedUp ¶
func (graph *FakeGraphDriver) CleanedUp() bool
func (*FakeGraphDriver) Cleanup ¶
func (graph *FakeGraphDriver) Cleanup() error
func (*FakeGraphDriver) Create ¶
func (graph *FakeGraphDriver) Create(id string, parent string) error
func (*FakeGraphDriver) Created ¶
func (graph *FakeGraphDriver) Created() []CreatedGraph
func (*FakeGraphDriver) Diff ¶
func (graph *FakeGraphDriver) Diff(id, parent string) (archive.Archive, error)
func (*FakeGraphDriver) DiffSize ¶
func (graph *FakeGraphDriver) DiffSize(id, parent string) (bytes int64, err error)
func (*FakeGraphDriver) Exists ¶
func (graph *FakeGraphDriver) Exists(id string) bool
func (*FakeGraphDriver) Get ¶
func (graph *FakeGraphDriver) Get(id string, mountLabel string) (string, error)
func (*FakeGraphDriver) Put ¶
func (graph *FakeGraphDriver) Put(id string)
func (*FakeGraphDriver) Putted ¶
func (graph *FakeGraphDriver) Putted() []string
func (*FakeGraphDriver) Remove ¶
func (graph *FakeGraphDriver) Remove(id string) error
func (*FakeGraphDriver) Removed ¶
func (graph *FakeGraphDriver) Removed() []string
func (*FakeGraphDriver) SetExists ¶
func (graph *FakeGraphDriver) SetExists(id string, exists bool)
func (*FakeGraphDriver) SetStatus ¶
func (graph *FakeGraphDriver) SetStatus(status [][2]string)
func (*FakeGraphDriver) Status ¶
func (graph *FakeGraphDriver) Status() [][2]string
func (*FakeGraphDriver) String ¶
func (graph *FakeGraphDriver) String() string
Click to show internal directories.
Click to hide internal directories.