Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
func NewInstanceFactory ¶
func NewInstanceFactory( agentClientFactory bmagentclient.Factory, templatesSpecGenerator TemplatesSpecGenerator, applySpecFactory bmas.Factory, fs boshsys.FileSystem, logger boshlog.Logger, ) Factory
type Instance ¶
type Instance interface { WaitToBeReady(maxAttempts int, delay time.Duration) error Apply(bmstemcell.ApplySpec, bmdepl.Deployment) error Start() error WaitToBeRunning(maxAttempts int, delay time.Duration) error }
func NewInstance ¶
func NewInstance( agentClient bmagentclient.AgentClient, templatesSpecGenerator TemplatesSpecGenerator, applySpecFactory bmas.Factory, mbusURL string, fs boshsys.FileSystem, logger boshlog.Logger, ) Instance
type SHA1Calculator ¶
func NewSha1Calculator ¶
func NewSha1Calculator(fs boshsys.FileSystem) SHA1Calculator
type TemplatesSpec ¶
type TemplatesSpecGenerator ¶
type TemplatesSpecGenerator interface {
Create(deploymentJob bmdepl.Job, stemcellJob bmstemcell.Job, deploymentName string, properties map[string]interface{}, blobstoreURL string) (TemplatesSpec, error)
}
func NewTemplatesSpecGenerator ¶
func NewTemplatesSpecGenerator( blobstoreFactory bmblobstore.Factory, compressor boshcmd.Compressor, jobRenderer bmtempcomp.JobRenderer, uuidGenerator boshuuid.Generator, sha1Calculator SHA1Calculator, fs boshsys.FileSystem, logger boshlog.Logger, ) TemplatesSpecGenerator
Source Files ¶
Click to show internal directories.
Click to hide internal directories.