package content

import "github.com/moby/buildkit/session/content"

Index

Constants

const GRPCHeaderID = "buildkit-attachable-store-id"

GRPCHeaderID is a gRPC header for store ID

Functions

func NewAttachable

func NewAttachable(stores map[string]content.Store) session.Attachable

NewAttachable creates session.Attachable from aggregated stores. A key of the store map is an ID string that is used for choosing underlying store.

func NewCallerStore

func NewCallerStore(c session.Caller, storeID string) content.Store

NewCallerStore creates content.Store from session.Caller with specified storeID

Source Files

attachable.go caller.go

Version
v0.19.0-rc2
Published
Jan 15, 2025
Platform
js/wasm
Imports
12 packages
Last checked
11 hours ago

Tools for package owners.