Versions in this module Expand all Collapse all v1 v1.2.4 Feb 13, 2019 Changes in this version + type Info struct + Created time.Time + Kind Kind + Labels map[string]string + Name string + Parent string + Updated time.Time + type Kind uint8 + const KindActive + const KindCommitted + const KindUnknown + const KindView + func ParseKind(s string) Kind + func (k *Kind) UnmarshalJSON(b []byte) error + func (k Kind) MarshalJSON() ([]byte, error) + func (k Kind) String() string + type Opt func(info *Info) error + func WithLabels(labels map[string]string) Opt + type Snapshotter interface + Close func() error + Commit func(ctx context.Context, name, key string, opts ...Opt) error + Mounts func(ctx context.Context, key string) ([]mount.Mount, error) + Prepare func(ctx context.Context, key, parent string, opts ...Opt) ([]mount.Mount, error) + Remove func(ctx context.Context, key string) error + Stat func(ctx context.Context, key string) (Info, error) + Update func(ctx context.Context, info Info, fieldpaths ...string) (Info, error) + Usage func(ctx context.Context, key string) (Usage, error) + View func(ctx context.Context, key, parent string, opts ...Opt) ([]mount.Mount, error) + Walk func(ctx context.Context, fn func(context.Context, Info) error) error + type Usage struct + Inodes int64 + Size int64 + func (u *Usage) Add(other Usage)