Documentation
¶
Overview ¶
Package producer builds one immutable skillsync release snapshot from an already-checked-out local Git repository. It never fetches or downloads: CI resolves branches and tags before invoking it, then this package reads the exact full commit named by the descriptor.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Descriptor skillsync.BundleDescriptor
RepositoryDir string
OutputDir string
}
Config names the committed plugin tree and a fresh destination directory. Descriptor.Source.Revision must be a full immutable SHA; Digest is optional and, when supplied, must match the captured committed bytes.
type Result ¶
type Result struct {
Descriptor skillsync.BundleDescriptor
ArchivePath string
DescriptorPath string
EmbedDir string
}
Result identifies the canonical files published into OutputDir.
Click to show internal directories.
Click to hide internal directories.