package content
import "github.com/moby/buildkit/session/content"
Index ¶
- Constants
- func NewAttachable(stores map[string]content.Store) session.Attachable
- func NewCallerStore(c session.Caller, storeID string) content.Store
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 ¶
NewCallerStore creates content.Store from session.Caller with specified storeID
Source Files ¶
- Version
- v0.10.0
- Published
- Mar 9, 2022
- Platform
- js/wasm
- Imports
- 12 packages
- Last checked
- 1 minute ago –
Tools for package owners.