blob

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BlobScheme = "blob"

	MediaTypeAttr = "daggerBlobSourceMediaType"
	SizeAttr      = "daggerBlobSourceSize"
)

Variables

This section is empty.

Functions

func LLB

func LLB(desc ocispecs.Descriptor) llb.State

func NewSource

func NewSource(opt Opt) (source.Source, error)

Types

type Opt

type Opt struct {
	CacheAccessor cache.Accessor
}

type SourceIdentifier

type SourceIdentifier struct {
	ocispecs.Descriptor
}

func IdentifierFromPB

func IdentifierFromPB(op *pb.SourceOp) (*SourceIdentifier, error)

func (SourceIdentifier) Capture

func (SourceIdentifier) Scheme

func (SourceIdentifier) Scheme() string

Jump to

Keyboard shortcuts

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