Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CachePolicyRetain ¶
func CachePolicyRetain(m withMetadata) error
func HasCachePolicyRetain ¶
func HasCachePolicyRetain(m withMetadata) bool
Types ¶
type Accessor ¶
type Accessor interface {
Get(ctx context.Context, id string, opts ...RefOption) (ImmutableRef, error)
New(ctx context.Context, s ImmutableRef, opts ...RefOption) (MutableRef, error)
GetMutable(ctx context.Context, id string) (MutableRef, error) // Rebase?
}
type Controller ¶
type ImmutableRef ¶
type Manager ¶
type Manager interface {
Accessor
Controller
Close() error
}
func NewManager ¶
func NewManager(opt ManagerOpt) (Manager, error)
type ManagerOpt ¶
type ManagerOpt struct {
Snapshotter snapshot.Snapshotter
GCPolicy GCPolicy
MetadataStore *metadata.Store
}
type MutableRef ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package contenthash is a generated protocol buffer package.
|
Package contenthash is a generated protocol buffer package. |
Click to show internal directories.
Click to hide internal directories.