package ociindex

import "github.com/moby/buildkit/client/ociindex"

Index

Types

type NameOrTag

type NameOrTag struct {
	// contains filtered or unexported fields
}

func Name

func Name(name string) NameOrTag

func Tag

func Tag(tag string) NameOrTag

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

ociindex.go

Version
v0.21.0 (latest)
Published
Apr 11, 2025
Platform
linux/amd64
Imports
10 packages
Last checked
11 hours ago

Tools for package owners.