Documentation ¶
Index ¶
- Constants
- type AutoCmd
- type AutoTrustCmd
- type Builder
- type CertStore
- type Client
- type Cmd
- type DebugCmd
- type DestroyCmd
- type DestroyVMError
- type DownloadCmd
- type Downloader
- type DownloaderFactory
- type EULARefusedError
- type EULAUI
- type FS
- type ImportCmd
- type OldDriverError
- type OldVMError
- type ResumeCmd
- type SSHCmd
- type StartCmd
- type StatusCmd
- type StopCmd
- type SuspendCmd
- type TargetCmd
- type TrustCmd
- type UI
- type UntrustCmd
- type VBox
- type VMBuilder
- type VersionCmd
Constants ¶
View Source
const DEBUG_ARGS = 0
View Source
const DESTROY_ARGS = 0
View Source
const DOWNLOAD_ARGS = 0
View Source
const IMPORT_ARGS = 1
View Source
const RESUME_ARGS = 0
View Source
const SSH_ARGS = 0
View Source
const START_ARGS = 0
View Source
const STATUS_ARGS = 0
View Source
const STOP_ARGS = 0
View Source
const SUSPEND_ARGS = 0
View Source
const TARGET_ARGS = 0
View Source
const TRUST_ARGS = 0
View Source
const UNTRUST_ARGS = 0
View Source
const VERSION_ARGS = 0
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoTrustCmd ¶
func (*AutoTrustCmd) Run ¶
func (t *AutoTrustCmd) Run() error
type Builder ¶
type DestroyCmd ¶
func (*DestroyCmd) Parse ¶
func (d *DestroyCmd) Parse(args []string) error
func (*DestroyCmd) Run ¶
func (d *DestroyCmd) Run() error
type DestroyVMError ¶
type DestroyVMError struct {
Err error
}
func (*DestroyVMError) Error ¶
func (e *DestroyVMError) Error() string
type DownloadCmd ¶
type DownloadCmd struct { VBox VBox UI UI EULAUI EULAUI Client Client DownloaderFactory DownloaderFactory FS FS Config *config.Config }
func (*DownloadCmd) Parse ¶
func (d *DownloadCmd) Parse(args []string) error
func (*DownloadCmd) Run ¶
func (d *DownloadCmd) Run() error
type Downloader ¶
type DownloaderFactory ¶
type DownloaderFactory interface {
Create() (downloader downloader.Downloader, err error)
}
type EULARefusedError ¶
type EULARefusedError struct{}
func (*EULARefusedError) Error ¶
func (e *EULARefusedError) Error() string
type FS ¶
type FS interface { Write(path string, contents io.Reader, append bool) error Copy(source string, destination string) error Exists(path string) (exists bool, err error) MD5(path string) (md5 string, err error) Read(path string) (contents []byte, err error) Remove(path string) error TempDir() (string, error) }
type ImportCmd ¶
type OldDriverError ¶
type OldDriverError struct{}
func (*OldDriverError) Error ¶
func (e *OldDriverError) Error() string
type OldVMError ¶
type OldVMError struct{}
func (*OldVMError) Error ¶
func (e *OldVMError) Error() string
type StartCmd ¶
type SuspendCmd ¶
func (*SuspendCmd) Parse ¶
func (s *SuspendCmd) Parse(args []string) error
func (*SuspendCmd) Run ¶
func (s *SuspendCmd) Run() error
type TrustCmd ¶
type UntrustCmd ¶
type UntrustCmd struct {
CertStore CertStore
}
func (*UntrustCmd) Parse ¶
func (u *UntrustCmd) Parse(args []string) error
func (*UntrustCmd) Run ¶
func (u *UntrustCmd) Run() error
type VBox ¶
type VBox interface { GetVMName() (name string, err error) VMConfig(vmName string) (vmConfig *config.VMConfig, err error) DestroyPCFDevVMs() (err error) Version() (version *vboxdriver.VBoxDriverVersion, err error) }
type VersionCmd ¶
func (*VersionCmd) Parse ¶
func (v *VersionCmd) Parse(args []string) error
func (*VersionCmd) Run ¶
func (v *VersionCmd) Run() error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.