Documentation ¶
Overview ¶
Package local defines a repository type "local", that resembles the legacy implementation for interpreting directories as ocm repositories. The structure of such a local ocm repository resembles the structure of a component archive, although such a "local" repository may contain multiple components.
This package only implements the repository spec and the corresponding serialization and deserialization. The actual implementation is provided through conversion of such a repository spec to an internalspec.
Index ¶
Constants ¶
View Source
const ( Type = repository.LocalType TypeV1 = Type + runtime.VersionSeparator + "v1" )
Variables ¶
This section is empty.
Functions ¶
func NewRepositorySpecV1 ¶
func NewRepositorySpecV1(filePath string, pathFileSystem ...vfs.FileSystem) (*repository.RepositorySpec, error)
Types ¶
type RepositorySpecV1 ¶
type RepositorySpecV1 struct { runtime.ObjectVersionedType `json:",inline"` FilePath string `json:"filePath"` PathFileSystem vfs.FileSystem `json:"-"` }
Click to show internal directories.
Click to hide internal directories.