Documentation
¶
Index ¶
- func NewSnapshotter(ctx context.Context, root string, remote *StarlightProxy, fsTrace bool) (snapshots.Snapshotter, error)
- func NewSnapshotterGrpcService(ctx context.Context, ...)
- type StarlightProxy
- func (a *StarlightProxy) Fetch(have []string, want []string) (io.ReadCloser, int64, error)
- func (a *StarlightProxy) FetchWithString(fromString string, toString string) (io.ReadCloser, int64, error)
- func (a *StarlightProxy) Prepare(imageName, imageTag string) error
- func (a *StarlightProxy) Report(buf []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSnapshotter ¶
func NewSnapshotter(ctx context.Context, root string, remote *StarlightProxy, fsTrace bool) (snapshots.Snapshotter, error)
NewSnapshotter returns a Snapshotter which copies layers on the underlying file system. A metadata file is stored under the root.
Types ¶
type StarlightProxy ¶
type StarlightProxy struct {
// contains filtered or unexported fields
}
func NewStarlightProxy ¶
func NewStarlightProxy(ctx context.Context, protocol, server string) *StarlightProxy
func (*StarlightProxy) Fetch ¶
func (a *StarlightProxy) Fetch(have []string, want []string) (io.ReadCloser, int64, error)
func (*StarlightProxy) FetchWithString ¶
func (a *StarlightProxy) FetchWithString(fromString string, toString string) (io.ReadCloser, int64, error)
func (*StarlightProxy) Prepare ¶
func (a *StarlightProxy) Prepare(imageName, imageTag string) error
func (*StarlightProxy) Report ¶
func (a *StarlightProxy) Report(buf []byte) error
Click to show internal directories.
Click to hide internal directories.