Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplySpec ¶
type ApplySpec struct {
Deployment string `json:"deployment"`
Index int `json:"index"`
Packages map[string]Blob `json:"packages"`
Networks map[string]interface{} `json:"networks"`
Job Job `json:"job"`
RenderedTemplatesArchive RenderedTemplatesArchiveSpec `json:"rendered_templates_archive"`
ConfigurationHash string `json:"configuration_hash"`
}
func NewApplySpec ¶
func (*ApplySpec) PopulateJob ¶
func (s *ApplySpec) PopulateJob(stemcellTemplates []bmstemcell.Blob, jobName string)
func (*ApplySpec) PopulatePackages ¶
func (s *ApplySpec) PopulatePackages(stemcellPackages map[string]bmstemcell.Blob)
type Factory ¶
type Factory interface {
Create(
bmstemcell.ApplySpec,
string,
string,
map[string]interface{},
string,
string,
string,
) ApplySpec
}
func NewFactory ¶
func NewFactory() Factory
Click to show internal directories.
Click to hide internal directories.