Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FixPermissions ¶
FixPermissions changes the permissions of the rendered job templates to be consistent for every job. The path is the root of the job templates directory e.g. /var/vcap/data/jobs/JOBNAME.
Types ¶
type Applier ¶
type Applier interface { Prepare(job models.Job) error Apply(job models.Job) error Configure(job models.Job, jobIndex int) error KeepOnly(jobs []models.Job) error DeleteSourceBlobs(jobs []models.Job) error }
func NewRenderedJobApplier ¶
func NewRenderedJobApplier( dirProvider directories.Provider, jobsBc boshbc.BundleCollection, jobSupervisor boshjobsuper.JobSupervisor, packageApplierProvider packages.ApplierProvider, blobstore boshblob.DigestBlobstore, fixPermissions FixPermissionsFunc, fs boshsys.FileSystem, logger boshlog.Logger, ) Applier
type FixPermissionsFunc ¶
Click to show internal directories.
Click to hide internal directories.