Documentation ¶
Index ¶
- type ArchiveReader
- type ArchiveReaderImpl
- type ByName
- type DirReader
- type DirReaderImpl
- type Job
- func (j *Job) ArchivePath() string
- func (j *Job) ArchiveSHA1() string
- func (j *Job) AttachCompilablePackages(packages []boshpkg.Compilable) error
- func (j *Job) AttachPackages(packages []*boshpkg.Package) error
- func (j *Job) Build(dev, final ArchiveIndex) error
- func (j Job) CleanUp() error
- func (j Job) ExtractedPath() string
- func (j *Job) Finalize(final ArchiveIndex) error
- func (j Job) FindTemplateByValue(value string) (string, bool)
- func (j Job) Fingerprint() string
- func (j Job) Name() string
- func (j *Job) RehashWithCalculator(calculator crypto.DigestCalculator, ...) (*Job, error)
- type PropertyDefinition
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArchiveReaderImpl ¶
type ArchiveReaderImpl struct {
// contains filtered or unexported fields
}
func NewArchiveReaderImpl ¶
func NewArchiveReaderImpl( extract bool, compressor boshcmd.Compressor, fs boshsys.FileSystem, ) ArchiveReaderImpl
type DirReaderImpl ¶
type DirReaderImpl struct {
// contains filtered or unexported fields
}
func NewDirReaderImpl ¶
func NewDirReaderImpl(archiveFactory ArchiveFunc, fs boshsys.FileSystem) DirReaderImpl
type Job ¶
type Job struct { Templates map[string]string PackageNames []string Packages []boshpkg.Compilable Properties map[string]PropertyDefinition // contains filtered or unexported fields }
func NewExtractedJob ¶
func NewExtractedJob(resource Resource, extractedPath string, fs boshsys.FileSystem) *Job
func (*Job) ArchivePath ¶
func (*Job) ArchiveSHA1 ¶
func (*Job) AttachCompilablePackages ¶
func (j *Job) AttachCompilablePackages(packages []boshpkg.Compilable) error
func (*Job) AttachPackages ¶
AttachPackages is left for testing convenience
func (Job) ExtractedPath ¶
func (Job) Fingerprint ¶
func (*Job) RehashWithCalculator ¶
func (j *Job) RehashWithCalculator(calculator crypto.DigestCalculator, archiveFilePathReader crypto2.ArchiveDigestFilePathReader) (*Job, error)
type PropertyDefinition ¶
type PropertyDefinition struct { Description string Default biproperty.Property }
Click to show internal directories.
Click to hide internal directories.