Documentation ¶
Overview ¶
Package inline defines a repository type "inline", that allows to include the whole repository in its specification through interpreting yaml as file system.
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.InlineType TypeV1 = Type + runtime.VersionSeparator + "v1" )
Variables ¶
This section is empty.
Functions ¶
func NewRepositorySpecV1 ¶
func NewRepositorySpecV1(fileSystem vfs.FileSystem, compDescDirPath string, blobFs vfs.FileSystem, blobDirPath string) (*repository.RepositorySpec, error)
Types ¶
type RepositorySpecV1 ¶
type RepositorySpecV1 struct { runtime.ObjectVersionedType `json:",inline"` FileSystem json.RawMessage `json:"fileSystem,omitempty"` CompDescDirPath string `json:"compDescDirPath,omitempty"` BlobFs json.RawMessage `json:"blobFs,omitempty"` BlobFsMode string `json:"blobFsMode"` BlobDirPath string `json:"blobDirPath,omitempty"` }
Click to show internal directories.
Click to hide internal directories.