remote

package
v0.0.0-...-b2ca6ad Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Layer

type Layer struct {
	// contains filtered or unexported fields
}

func (*Layer) Digest

func (l *Layer) Digest() v1.Hash

func (*Layer) ReadAt

func (l *Layer) ReadAt(p []byte, offset int64) (int, error)

ReadAt reads remote chunks from specified offset for the buffer size.

func (*Layer) Size

func (l *Layer) Size() int64

type Remote

type Remote struct {
	// contains filtered or unexported fields
}

func New

func New(s string) (Remote, error)

func (Remote) Layers

func (r Remote) Layers(ctx context.Context) ([]*Layer, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL