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 VirterConnect ¶
VirterConnect connects to a local libvirt instance
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 `key:"name" required:"true"` SizeKiB uint64 `key:"size" required:"true"` Format string `key:"format" default:"qcow2"` Bus string `key:"bus" default:"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 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
Click to show internal directories.
Click to hide internal directories.