Documentation ¶
Index ¶
- func NewJobReader(archivePath string, extractedJobPath string, extractor boshcmd.Compressor, ...) *jobReader
- func NewPackageRepo() *packageRepo
- func NewReader(tarFilePath string, extractedReleasePath string, fs boshsys.FileSystem, ...) *reader
- type Extractor
- type Job
- type JobManifest
- type JobReader
- type Manager
- type Package
- type PropertyDefinition
- type Reader
- type Release
- type Validator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewJobReader ¶
func NewJobReader( archivePath string, extractedJobPath string, extractor boshcmd.Compressor, fs boshsys.FileSystem, ) *jobReader
func NewPackageRepo ¶
func NewPackageRepo() *packageRepo
func NewReader ¶
func NewReader( tarFilePath string, extractedReleasePath string, fs boshsys.FileSystem, extractor boshcmd.Compressor, ) *reader
Types ¶
type Extractor ¶
func NewExtractor ¶
func NewExtractor( fs boshsys.FileSystem, compressor boshcmd.Compressor, validator Validator, logger boshlog.Logger, ) Extractor
type Job ¶
type JobManifest ¶
type Manager ¶
type Manager interface { Add(Release) List() []Release FindByName(name string) (releases []Release, found bool) Find(name, version string) (release Release, found bool) DeleteAll() error }
func NewManager ¶
type Package ¶
type PropertyDefinition ¶
type PropertyDefinition struct { Description string `yaml:"description"` RawDefault interface{} `yaml:"default"` }
func (PropertyDefinition) Default ¶
func (d PropertyDefinition) Default() (interface{}, error)
type Release ¶
type Release interface { Name() string Version() string Jobs() []Job Packages() []*Package FindJobByName(jobName string) (job Job, found bool) Delete() error Exists() bool }
func NewRelease ¶
type Validator ¶
func NewValidator ¶
func NewValidator(fs boshsys.FileSystem) Validator
Source Files ¶
Click to show internal directories.
Click to hide internal directories.