artifacts

package
v0.0.209 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MaybeUpdateSkippedBytes added in v0.0.81

func MaybeUpdateSkippedBytes(r io.ReadCloser, count int64)

Types

type ProgressReader

type ProgressReader interface {
	io.ReadCloser
	tasks.ActionProgress
}

func NewProgressReader

func NewProgressReader(r io.ReadCloser, contentLength uint64) ProgressReader

type ProgressWriter

type ProgressWriter interface {
	io.WriteCloser
	tasks.ActionProgress

	WrapReader(io.ReadCloser) io.ReadCloser
	WrapBytesAsReader([]byte) io.ReadCloser
}

func NewProgressWriter

func NewProgressWriter(contentLength uint64, closer func() error) ProgressWriter

type Reference

type Reference struct {
	URL    string
	Digest schema.Digest
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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