Documentation ¶
Index ¶
- func NewBoshDeployedInstance(instanceGroupName, instanceIndex, instanceID string, ...) orchestrator.Instance
- func NewBoshManifestQuerier(manifest string) (instance.ManifestQuerier, error)
- type BoshClient
- type BoshDeployedInstance
- type BoshManifestQuerier
- type Client
- type DeploymentManager
- type JobVMInfo
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBoshDeployedInstance ¶
func NewBoshDeployedInstance(instanceGroupName, instanceIndex, instanceID string, remoteRunner ssh.RemoteRunner, deployment director.Deployment, artifactDirectoryCreated bool, logger Logger, jobs orchestrator.Jobs, ) orchestrator.Instance
func NewBoshManifestQuerier ¶
func NewBoshManifestQuerier(manifest string) (instance.ManifestQuerier, error)
Types ¶
type BoshClient ¶
type BoshDeployedInstance ¶
type BoshDeployedInstance struct { Deployment director.Deployment *instance.DeployedInstance }
func (*BoshDeployedInstance) Cleanup ¶
func (i *BoshDeployedInstance) Cleanup() error
func (*BoshDeployedInstance) CleanupPrevious ¶
func (i *BoshDeployedInstance) CleanupPrevious() error
type BoshManifestQuerier ¶
type BoshManifestQuerier struct {
// contains filtered or unexported fields
}
func (BoshManifestQuerier) FindReleaseName ¶
func (mq BoshManifestQuerier) FindReleaseName(instanceGroupName, jobName string) (string, error)
func (BoshManifestQuerier) IsJobBackupOneRestoreAll ¶
func (mq BoshManifestQuerier) IsJobBackupOneRestoreAll(instanceGroupName, jobName string) (bool, error)
type Client ¶
type Client struct { director.Director ssh.SSHOptsGenerator ssh.RemoteRunnerFactory Logger // contains filtered or unexported fields }
func BuildClient ¶
func NewClient ¶
func NewClient(boshDirector director.Director, sshOptsGenerator ssh.SSHOptsGenerator, remoteRunnerFactory ssh.RemoteRunnerFactory, logger Logger, jobFinder instance.JobFinder, manifestQuerierCreator instance.ManifestQuerierCreator) 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
Source Files ¶
Click to show internal directories.
Click to hide internal directories.