inline

package
v0.121.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL