Documentation ¶
Index ¶
- func InitRepo() reflow.Repository
- type Repository
- func (r *Repository) Collect(context.Context, liveset.Liveset) error
- func (r *Repository) CollectWithThreshold(ctx context.Context, live liveset.Liveset, dead liveset.Liveset, ...) error
- func (r *Repository) Get(context.Context, digest.Digest) (io.ReadCloser, error)
- func (r *Repository) Init() error
- func (r *Repository) Put(context.Context, io.Reader) (digest.Digest, error)
- func (r *Repository) ReadFrom(context.Context, digest.Digest, *url.URL) error
- func (r *Repository) Stat(context.Context, digest.Digest) (reflow.File, error)
- func (r *Repository) URL() *url.URL
- func (r *Repository) WriteTo(context.Context, digest.Digest, *url.URL) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitRepo ¶
func InitRepo() reflow.Repository
Types ¶
type Repository ¶
type Repository struct {
reflow.Repository
}
Repository is a no-op Repository provider.
func (*Repository) CollectWithThreshold ¶
func (*Repository) Get ¶
func (r *Repository) Get(context.Context, digest.Digest) (io.ReadCloser, error)
func (*Repository) URL ¶
func (r *Repository) URL() *url.URL
Click to show internal directories.
Click to hide internal directories.