Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately
func InitVirter ¶ added in v0.9.0
InitVirter initializes virter by connecting to the local libvirt instance and configures the ssh keystore.
Types ¶
type BarReaderProxy ¶
BarReaderProxy adds the ReaderProxy methods to Bar
func (BarReaderProxy) ProxyReader ¶
func (b BarReaderProxy) ProxyReader(r io.ReadCloser) io.ReadCloser
ProxyReader wraps r so that the bar is updated as the data is read
func (BarReaderProxy) SetTotal ¶
func (b BarReaderProxy) SetTotal(total int64)
SetTotal sets the total for the bar
type DiskArg ¶ added in v0.2.0
type DiskArg struct { Name string `arg:"name"` Size Size `arg:"size"` Format string `arg:"format,qcow2"` Bus string `arg:"bus,virtio"` }
DiskArg represents a disk that can be passed to virter via a command line argument.
func (*DiskArg) GetSizeKiB ¶ added in v0.2.0
type NICArg ¶ added in v0.11.0
type SSHClientBuilder ¶
type SSHClientBuilder struct { }
SSHClientBuilder builds SSH shell clients
func (SSHClientBuilder) NewShellClient ¶
func (SSHClientBuilder) NewShellClient(hostPort string, sshConfig ssh.ClientConfig) virter.ShellClient
NewShellClient returns an SSH shell client
Source Files ¶
- config.go
- disk.go
- image.go
- image_build.go
- image_ls.go
- image_pull.go
- image_rm.go
- image_save.go
- network.go
- network_add.go
- network_host.go
- network_host_add.go
- network_host_rm.go
- network_list_attached.go
- network_ls.go
- network_rm.go
- nic.go
- registry.go
- registry_update.go
- root.go
- signals.go
- version.go
- virter.go
- vm.go
- vm_commit.go
- vm_cp.go
- vm_exec.go
- vm_rm.go
- vm_run.go
- vm_ssh.go
Click to show internal directories.
Click to hide internal directories.