Documentation ¶
Index ¶
- func NewBoshDeployedInstance(instanceGroupName, instanceIndex, instanceID string, ...) orchestrator.Instance
- func NewBoshManifestReleaseMapping(manifest string) (instance.ReleaseMapping, error)
- type BoshClient
- type BoshDeployedInstance
- type Client
- type DeploymentManager
- type Logger
- type ManifestReleaseMapping
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBoshDeployedInstance ¶
func NewBoshDeployedInstance(instanceGroupName, instanceIndex, instanceID string, connection ssh.SSHConnection, deployment director.Deployment, artifactDirectoryCreated bool, logger Logger, jobs orchestrator.Jobs, ) orchestrator.Instance
func NewBoshManifestReleaseMapping ¶ added in v1.1.0
func NewBoshManifestReleaseMapping(manifest string) (instance.ReleaseMapping, error)
Types ¶
type BoshClient ¶
type BoshClient interface { FindInstances(deploymentName string) ([]orchestrator.Instance, error) GetManifest(deploymentName string) (string, error) }
func BuildClient ¶
func BuildClient(targetUrl, username, password, caCertFileName string, logger boshlog.Logger) (BoshClient, error)
type BoshDeployedInstance ¶
type BoshDeployedInstance struct { Deployment director.Deployment *instance.DeployedInstance }
func (*BoshDeployedInstance) Cleanup ¶
func (i *BoshDeployedInstance) Cleanup() error
func (*BoshDeployedInstance) CleanupPrevious ¶ added in v1.0.0
func (i *BoshDeployedInstance) CleanupPrevious() error
type Client ¶
type Client struct { director.Director ssh.SSHOptsGenerator ssh.SSHConnectionFactory Logger // contains filtered or unexported fields }
func NewClient ¶
func NewClient(boshDirector director.Director, sshOptsGenerator ssh.SSHOptsGenerator, connectionFactory ssh.SSHConnectionFactory, logger Logger, jobFinder instance.JobFinder, releaseMappingFinder instance.ReleaseMappingFinder) Client
func (Client) FindInstances ¶
func (c Client) FindInstances(deploymentName string) ([]orchestrator.Instance, error)
type DeploymentManager ¶
type DeploymentManager struct { BoshClient Logger // contains filtered or unexported fields }
func NewDeploymentManager ¶
func NewDeploymentManager(boshDirector BoshClient, logger Logger, downloadManifest bool) *DeploymentManager
func (*DeploymentManager) Find ¶
func (b *DeploymentManager) Find(deploymentName string) (orchestrator.Deployment, error)
func (*DeploymentManager) SaveManifest ¶
func (b *DeploymentManager) SaveManifest(deploymentName string, backup orchestrator.Backup) error
type ManifestReleaseMapping ¶ added in v1.1.0
type ManifestReleaseMapping struct {
// contains filtered or unexported fields
}
func (ManifestReleaseMapping) FindReleaseName ¶ added in v1.1.0
func (rm ManifestReleaseMapping) FindReleaseName(instanceGroupName, jobName string) (string, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.