Documentation ¶
Index ¶
- type ProxmoxVM
- func (proxmoxVm ProxmoxVM) Clone(builder *builder.VmCopyBuilder) (string, error)
- func (proxmoxVm ProxmoxVM) CreateIPSet(name string, comment string) error
- func (proxmoxVm ProxmoxVM) CreateVNCProxy() (*vm.VNCProxy, error)
- func (proxmoxVm ProxmoxVM) GetFirewallLog() ([]*vm.FirewallLog, error)
- func (proxmoxVm ProxmoxVM) GetFirewallOptions() (*vm.FirewallOption, error)
- func (proxmoxVm ProxmoxVM) GetIPSet(name string) *ipset.ProxmoxIPSet
- func (proxmoxVm ProxmoxVM) GetVMStatus() (*vm.Detail, error)
- func (proxmoxVm ProxmoxVM) ListIPSets() ([]*vm.IPSet, error)
- func (proxmoxVm ProxmoxVM) Resize(disk disk.DiskType, size *util.Byte) error
- func (proxmoxVm ProxmoxVM) UpdateConfigASync(builder *builder.VmBuilder) error
- func (proxmoxVm ProxmoxVM) UpdateFirewallOptions(firewallBuilder *builder.FirewallBuilder) error
- func (proxmoxVm ProxmoxVM) UpdateVMStatus(updateStatus status.Status) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProxmoxVM ¶
func NewProxmoxVM ¶
func NewProxmoxVM(client *client.ProxmoxClient, nodeName string, vmID int) *ProxmoxVM
func (ProxmoxVM) Clone ¶
func (proxmoxVm ProxmoxVM) Clone(builder *builder.VmCopyBuilder) (string, error)
func (ProxmoxVM) CreateIPSet ¶
func (ProxmoxVM) GetFirewallLog ¶
func (proxmoxVm ProxmoxVM) GetFirewallLog() ([]*vm.FirewallLog, error)
func (ProxmoxVM) GetFirewallOptions ¶
func (proxmoxVm ProxmoxVM) GetFirewallOptions() (*vm.FirewallOption, error)
func (ProxmoxVM) UpdateConfigASync ¶
func (ProxmoxVM) UpdateFirewallOptions ¶
func (proxmoxVm ProxmoxVM) UpdateFirewallOptions(firewallBuilder *builder.FirewallBuilder) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.