Documentation ¶
Index ¶
- Variables
- func Create(ctx cpi.Context, acc accessobj.AccessMode, path string, mode vfs.FileMode, ...) (cpi.Repository, error)
- func GetFormats() []string
- func NewRepositorySpec(acc accessobj.AccessMode, path string, opts ...accessio.Option) (*genericocireg.RepositorySpec, error)
- func Open(ctx cpi.Context, acc accessobj.AccessMode, path string, mode vfs.FileMode, ...) (cpi.Repository, error)
- func SupportedFormats() []accessio.FileFormat
- type FormatHandler
- type Object
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FormatDirectory = ctf.FormatDirectory FormatTAR = ctf.FormatTAR FormatTGZ = ctf.FormatTGZ )
Functions ¶
func GetFormats ¶
func GetFormats() []string
func NewRepositorySpec ¶
func NewRepositorySpec(acc accessobj.AccessMode, path string, opts ...accessio.Option) (*genericocireg.RepositorySpec, error)
func SupportedFormats ¶
func SupportedFormats() []accessio.FileFormat
Types ¶
type FormatHandler ¶
type FormatHandler = ctf.FormatHandler
func GetFormat ¶
func GetFormat(name accessio.FileFormat) FormatHandler
Click to show internal directories.
Click to hide internal directories.