Documentation ¶
Index ¶
Constants ¶
View Source
const (
BlobstoreConfigTypeLocal = "local"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlobstoreConfig ¶
type BlobstoreConfig struct { Type string `json:"provider"` Options map[string]interface{} `json:"options"` }
func (BlobstoreConfig) AsMap ¶
func (c BlobstoreConfig) AsMap() map[string]interface{}
AsMap is used to populate agent infrastructure configuration
func (BlobstoreConfig) LocalPath ¶
func (c BlobstoreConfig) LocalPath() string
func (BlobstoreConfig) Validate ¶
func (c BlobstoreConfig) Validate() error
type BlobstoreProvisioner ¶
type BlobstoreProvisioner struct {
// contains filtered or unexported fields
}
func NewBlobstoreProvisioner ¶
func NewBlobstoreProvisioner( fs boshsys.FileSystem, blobstoreConfig BlobstoreConfig, logger boshlog.Logger, ) BlobstoreProvisioner
func (BlobstoreProvisioner) Provision ¶
func (p BlobstoreProvisioner) Provision() error
type DeploymentProvisioner ¶
type DeploymentProvisioner interface {
Provision() error
}
type DeploymentProvisionerConfig ¶
type DeploymentProvisionerConfig struct { // If manifest path is empty, release compilation and job provisioning will be skipped ManifestPath string `json:"manifest_path"` }
type ReleaseCompiler ¶
type ReleaseCompiler struct {
// contains filtered or unexported fields
}
func NewReleaseCompiler ¶
func NewReleaseCompiler( releaseReaderFactory bprel.ReaderFactory, packagesCompilerFactory bppkgscomp.ConcretePackagesCompilerFactory, templatesCompiler bptplcomp.TemplatesCompiler, vmProvisioner bpvm.Provisioner, eventLog bpeventlog.Log, logger boshlog.Logger, ) ReleaseCompiler
type SingleConfiguredVMProvisioner ¶
type SingleConfiguredVMProvisioner struct {
// contains filtered or unexported fields
}
SingleConfiguredVMProvisioner interprets deployment manifest and configures 1 VM just like regular BOSH VM.
func NewSingleConfiguredVMProvisioner ¶
func NewSingleConfiguredVMProvisioner( manifestPath string, deploymentReaderFactory bpdep.ReaderFactory, vmProvisioner bpvm.Provisioner, releaseCompiler ReleaseCompiler, instanceProvisioner bpinstance.Provisioner, eventLog bpeventlog.Log, logger boshlog.Logger, ) SingleConfiguredVMProvisioner
func (SingleConfiguredVMProvisioner) Provision ¶
func (p SingleConfiguredVMProvisioner) Provision() error
type SingleNonConfiguredVMProvisioner ¶
type SingleNonConfiguredVMProvisioner struct {
// contains filtered or unexported fields
}
SingleNonConfiguredVMProvisioner configures 1 VM as a regular empty BOSH VM.
func NewSingleNonConfiguredVMProvisioner ¶
func NewSingleNonConfiguredVMProvisioner( vmProvisioner bpvm.Provisioner, eventLog bpeventlog.Log, logger boshlog.Logger, ) SingleNonConfiguredVMProvisioner
func (SingleNonConfiguredVMProvisioner) Provision ¶
func (p SingleNonConfiguredVMProvisioner) Provision() error
type SingleVMProvisionerFactory ¶
type SingleVMProvisionerFactory struct {
// contains filtered or unexported fields
}
func NewSingleVMProvisionerFactory ¶
func NewSingleVMProvisionerFactory( deploymentReaderFactory bpdep.ReaderFactory, deploymentProvisionerConfig DeploymentProvisionerConfig, vmProvisioner bpvm.Provisioner, releaseCompiler ReleaseCompiler, instanceProvisioner bpinstance.Provisioner, eventLog bpeventlog.Log, logger boshlog.Logger, ) SingleVMProvisionerFactory
func (SingleVMProvisionerFactory) NewSingleVMProvisioner ¶
func (f SingleVMProvisionerFactory) NewSingleVMProvisioner() DeploymentProvisioner
Click to show internal directories.
Click to hide internal directories.