Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProxmoxUploadCommand ¶
Types ¶
type ProxmoxUploadRequest ¶
type ProxmoxUploadRequest struct {
shared.ExtraArgs
Node string
Storage string
File string
Format string
}
Arguments for 'proxmox upload' command.
func (*ProxmoxUploadRequest) Upload ¶
func (ur *ProxmoxUploadRequest) Upload() error
Perform upload. If ProxmoxUploadRequest#Storage is not set, this method will try to query the Proxmox API for the first storage device that accepts ProxmoxUploadRequest#Format and use that device as the storage option.
Click to show internal directories.
Click to hide internal directories.