Documentation ¶
Overview ¶
Package registry provides a simple container registry service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultiPathFS ¶
type MultiPathFS struct {
// contains filtered or unexported fields
}
MultiPathFS is a fs.FS that reads from multiple paths sequentially until it finds the file.
func NewMultiPathFS ¶
func NewMultiPathFS(it iter.Seq[string]) *MultiPathFS
NewMultiPathFS creates a new MultiPathFS. It takes an iterator of FSs which can be used multiple times asynchrously.
func (*MultiPathFS) Open ¶
func (m *MultiPathFS) Open(name string) (fs.File, error)
Open opens the named file.
func (*MultiPathFS) Stat ¶
func (m *MultiPathFS) Stat(name string) (fs.FileInfo, error)
Stat returns a fs.FileInfo describing the named file.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is a container registry service.
func NewService ¶
NewService creates a new instance of the registry service.
Click to show internal directories.
Click to hide internal directories.