Documentation ¶
Index ¶
- type AttacherDetacher
- type AttacherDetacherFactory
- type Creator
- type CreatorFactory
- type Finder
- type FinderFactory
- type InstanceAttacherDetacherFactory
- type IscsciNodeAdministratorFactory
- type IscsiNodeAdministrator
- type SSHCmdResultHandler
- type SSHCmdRunner
- type Terminator
- type TerminatorFactory
- type VolumeFaultyError
- type VolumeTerminatedError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttacherDetacher ¶
type AttacherDetacher interface { AttachVolumeToInstance(v *resource.Volume, in *resource.Instance) error DetachVolumeFromInstance(v *resource.Volume) error }
func NewAttacherDetacher ¶
func NewAttacherDetacher(c client.Connector, l boshlog.Logger, adm IscsiNodeAdministrator) AttacherDetacher
type AttacherDetacherFactory ¶
type AttacherDetacherFactory func(c client.Connector, l boshlog.Logger, adm IscsiNodeAdministrator) (AttacherDetacher, error)
type CreatorFactory ¶
type Finder ¶
type FinderFactory ¶
type IscsiNodeAdministrator ¶
type IscsiNodeAdministrator interface { RunAttachmentCommands(scsiIQN string, scsiServer string, scsiServerPort int64) (resolvedDevicePath string, err error) }
type SSHCmdResultHandler ¶
type SSHCmdRunner ¶
type SSHCmdRunner interface { RunCommand(cmd string, resultHandler SSHCmdResultHandler, maxAttempts int, durationBetweenAttempts time.Duration) error Connect(maxAttempts int, durationBetweenAttempts time.Duration) error }
func NewSSHCmdRunner ¶
type Terminator ¶
func NewTerminator ¶
func NewTerminator(c client.Connector, l boshlog.Logger) Terminator
type TerminatorFactory ¶
type TerminatorFactory func(client.Connector, boshlog.Logger) Terminator
type VolumeFaultyError ¶
type VolumeFaultyError struct {
// contains filtered or unexported fields
}
func (VolumeFaultyError) Error ¶
func (e VolumeFaultyError) Error() string
type VolumeTerminatedError ¶
type VolumeTerminatedError struct {
// contains filtered or unexported fields
}
func (VolumeTerminatedError) Error ¶
func (e VolumeTerminatedError) Error() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.