package ociindex
import "github.com/moby/buildkit/client/ociindex"
Index ¶
- type NameOrTag
- type StoreIndex
- func NewStoreIndex(storePath string) StoreIndex
- func (s StoreIndex) Get(tag string) (*ocispecs.Descriptor, error)
- func (s StoreIndex) GetSingle() (*ocispecs.Descriptor, error)
- func (s StoreIndex) Put(desc ocispecs.Descriptor, names ...NameOrTag) error
- func (s StoreIndex) Read() (*ocispecs.Index, error)
Types ¶
type NameOrTag ¶
type NameOrTag struct {
// contains filtered or unexported fields
}
func Name ¶
func Tag ¶
type StoreIndex ¶
type StoreIndex struct {
// contains filtered or unexported fields
}
func NewStoreIndex ¶
func NewStoreIndex(storePath string) StoreIndex
func (StoreIndex) Get ¶
func (s StoreIndex) Get(tag string) (*ocispecs.Descriptor, error)
func (StoreIndex) GetSingle ¶
func (s StoreIndex) GetSingle() (*ocispecs.Descriptor, error)
func (StoreIndex) Put ¶
func (s StoreIndex) Put(desc ocispecs.Descriptor, names ...NameOrTag) error
func (StoreIndex) Read ¶
func (s StoreIndex) Read() (*ocispecs.Index, error)
Source Files ¶
- Version
- v0.21.0 (latest)
- Published
- Apr 11, 2025
- Platform
- linux/amd64
- Imports
- 10 packages
- Last checked
- 11 hours ago –
Tools for package owners.